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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_buffer swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2471 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxAppTraits swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2479 #define SWIGTYPE_p_wxButton swig_types[17]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2481 #define SWIGTYPE_p_wxCaret swig_types[19]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2484 #define SWIGTYPE_p_wxColour swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDateTime swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvent swig_types[35]
2498 #define SWIGTYPE_p_wxEventLoop swig_types[36]
2499 #define SWIGTYPE_p_wxEventLoopActivator swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystemHandler swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBPosition swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGBSpan swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxImageHistogram swig_types[57]
2520 #define SWIGTYPE_p_wxImage_HSVValue swig_types[58]
2521 #define SWIGTYPE_p_wxImage_RGBValue swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxInputStream swig_types[62]
2525 #define SWIGTYPE_p_wxInternetFSHandler swig_types[63]
2526 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2527 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2528 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2529 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuBarBase swig_types[72]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[74]
2537 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMoveEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxObject swig_types[81]
2544 #define SWIGTYPE_p_wxOutputStream swig_types[82]
2545 #define SWIGTYPE_p_wxPCXHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPNGHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNMHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPaperSize swig_types[88]
2551 #define SWIGTYPE_p_wxPoint swig_types[89]
2552 #define SWIGTYPE_p_wxPoint2D swig_types[90]
2553 #define SWIGTYPE_p_wxPropagateOnce swig_types[91]
2554 #define SWIGTYPE_p_wxPropagationDisabler swig_types[92]
2555 #define SWIGTYPE_p_wxPyApp swig_types[93]
2556 #define SWIGTYPE_p_wxPyCommandEvent swig_types[94]
2557 #define SWIGTYPE_p_wxPyDropTarget swig_types[95]
2558 #define SWIGTYPE_p_wxPyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97]
2560 #define SWIGTYPE_p_wxPyImageHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPyInputStream swig_types[99]
2562 #define SWIGTYPE_p_wxPySizer swig_types[100]
2563 #define SWIGTYPE_p_wxPyValidator swig_types[101]
2564 #define SWIGTYPE_p_wxQuantize swig_types[102]
2565 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103]
2566 #define SWIGTYPE_p_wxRealPoint swig_types[104]
2567 #define SWIGTYPE_p_wxRect swig_types[105]
2568 #define SWIGTYPE_p_wxRegion swig_types[106]
2569 #define SWIGTYPE_p_wxScrollEvent swig_types[107]
2570 #define SWIGTYPE_p_wxScrollWinEvent swig_types[108]
2571 #define SWIGTYPE_p_wxSetCursorEvent swig_types[109]
2572 #define SWIGTYPE_p_wxShowEvent swig_types[110]
2573 #define SWIGTYPE_p_wxSize swig_types[111]
2574 #define SWIGTYPE_p_wxSizeEvent swig_types[112]
2575 #define SWIGTYPE_p_wxSizer swig_types[113]
2576 #define SWIGTYPE_p_wxSizerItem swig_types[114]
2577 #define SWIGTYPE_p_wxStaticBox swig_types[115]
2578 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[116]
2579 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117]
2580 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118]
2581 #define SWIGTYPE_p_wxTIFFHandler swig_types[119]
2582 #define SWIGTYPE_p_wxToolTip swig_types[120]
2583 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[121]
2584 #define SWIGTYPE_p_wxValidator swig_types[122]
2585 #define SWIGTYPE_p_wxVisualAttributes swig_types[123]
2586 #define SWIGTYPE_p_wxWindow swig_types[124]
2587 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[125]
2588 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126]
2589 #define SWIGTYPE_p_wxXPMHandler swig_types[127]
2590 #define SWIGTYPE_p_wxZipFSHandler swig_types[128]
2591 static swig_type_info
*swig_types
[130];
2592 static swig_module_info swig_module
= {swig_types
, 129, 0, 0, 0, 0};
2593 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2594 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2596 /* -------- TYPES TABLE (END) -------- */
2598 #if (PY_VERSION_HEX <= 0x02000000)
2599 # if !defined(SWIG_PYTHON_CLASSIC)
2600 # error "This python version requires to use swig with the '-classic' option"
2603 #if (PY_VERSION_HEX <= 0x02020000)
2604 # error "This python version requires to use swig with the '-nomodern' option"
2606 #if (PY_VERSION_HEX <= 0x02020000)
2607 # error "This python version requires to use swig with the '-nomodernargs' option"
2610 # error "This python version requires to use swig with the '-nofastunpack' option"
2613 /*-----------------------------------------------
2614 @(target):= _core_.so
2615 ------------------------------------------------*/
2616 #define SWIG_init init_core_
2618 #define SWIG_name "_core_"
2620 #define SWIGVERSION 0x010329
2623 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2624 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2627 #include <stdexcept>
2631 class PyObject_ptr
{
2636 PyObject_ptr() :_obj(0)
2640 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2645 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2647 if (initial_ref
) Py_XINCREF(_obj
);
2650 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2652 Py_XINCREF(item
._obj
);
2663 operator PyObject
*() const
2668 PyObject
*operator->() const
2677 struct PyObject_var
: PyObject_ptr
{
2678 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2680 PyObject_var
& operator = (PyObject
* obj
)
2690 #include "wx/wxPython/wxPython_int.h"
2691 #include "wx/wxPython/pyclasses.h"
2694 #ifndef wxPyUSE_EXPORT
2695 // Helper functions for dealing with SWIG objects and such. These are
2696 // located here so they know about the SWIG types and functions declared
2697 // in the wrapper code.
2699 #include <wx/hashmap.h>
2700 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2703 // Maintains a hashmap of className to swig_type_info pointers. Given the
2704 // name of a class either looks up the type info in the cache, or scans the
2705 // SWIG tables for it.
2706 extern PyObject
* wxPyPtrTypeMap
;
2708 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2710 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2712 if (typeInfoCache
== NULL
)
2713 typeInfoCache
= new wxPyTypeInfoHashMap
;
2715 wxString
name(className
);
2716 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2719 // it wasn't in the cache, so look it up from SWIG
2720 name
.Append(wxT(" *"));
2721 swigType
= SWIG_TypeQuery(name
.mb_str());
2723 // if it still wasn't found, try looking for a mapped name
2728 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2729 (char*)(const char*)name
.mbc_str())) != NULL
) {
2730 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2731 name
.Append(wxT(" *"));
2732 swigType
= SWIG_TypeQuery(name
.mb_str());
2736 // and add it to the map if found
2737 (*typeInfoCache
)[className
] = swigType
;
2744 // Check if a class name is a type known to SWIG
2745 bool wxPyCheckSwigType(const wxChar
* className
) {
2747 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2748 return swigType
!= NULL
;
2752 // Given a pointer to a C++ object and a class name, construct a Python proxy
2754 PyObject
* wxPyConstructObject(void* ptr
,
2755 const wxChar
* className
,
2758 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2759 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2761 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2765 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2766 // Ensures that the proxy object is of the specified (or derived) type. If
2767 // not able to perform the conversion then a Python exception is set and the
2768 // error should be handled properly in the caller. Returns True on success.
2769 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2770 const wxChar
* className
) {
2772 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2773 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2775 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2780 // Make a SWIGified pointer object suitable for a .this attribute
2781 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2783 PyObject
* robj
= NULL
;
2785 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2786 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2788 robj
= PySwigObject_New(ptr
, swigType
, 0);
2793 // Python's PyInstance_Check does not return True for instances of new-style
2794 // classes. This should get close enough for both new and old classes but I
2795 // should re-evaluate the need for doing instance checks...
2796 bool wxPyInstance_Check(PyObject
* obj
) {
2797 return PyObject_HasAttrString(obj
, "__class__") != 0;
2801 // This one checks if the object is an instance of a SWIG proxy class (it has
2802 // a .this attribute, and the .this attribute is a PySwigObject.)
2803 bool wxPySwigInstance_Check(PyObject
* obj
) {
2804 static PyObject
* this_str
= NULL
;
2805 if (this_str
== NULL
)
2806 this_str
= PyString_FromString("this");
2808 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2810 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2811 Py_DECREF(this_attr
);
2820 // Export a C API in a struct. Other modules will be able to load this from
2821 // the wx._core_ module and will then have safe access to these functions,
2822 // even if they are located in another shared library.
2823 static wxPyCoreAPI API
= {
2826 wxPyConstructObject
,
2830 wxPyBeginAllowThreads
,
2831 wxPyEndAllowThreads
,
2832 wxPyBeginBlockThreads
,
2833 wxPyEndBlockThreads
,
2845 wxPoint_LIST_helper
,
2846 wxBitmap_LIST_helper
,
2847 wxString_LIST_helper
,
2848 wxAcceleratorEntry_LIST_helper
,
2857 wxPySimple_typecheck
,
2860 wxPyCBH_setCallbackInfo
,
2861 wxPyCBH_findCallback
,
2862 wxPyCBH_callCallback
,
2863 wxPyCBH_callCallbackObj
,
2869 wxPy2int_seq_helper
,
2870 wxPy4int_seq_helper
,
2871 wxArrayString2PyList_helper
,
2872 wxArrayInt2PyList_helper
,
2874 wxPyClientData_dtor
,
2876 wxPyOORClientData_dtor
,
2878 wxPyCBInputStream_create
,
2879 wxPyCBInputStream_copy
,
2882 wxPySwigInstance_Check
,
2891 #if !WXWIN_COMPATIBILITY_2_4
2892 #define wxHIDE_READONLY 0
2896 #define SWIG_From_long PyInt_FromLong
2899 SWIGINTERNINLINE PyObject
*
2900 SWIG_From_int (int value
)
2902 return SWIG_From_long (value
);
2905 static const wxString
wxPyEmptyString(wxEmptyString
);
2906 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2907 return self
->GetClassInfo()->GetClassName();
2909 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2914 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2920 # define LLONG_MIN LONG_LONG_MIN
2923 # define LLONG_MAX LONG_LONG_MAX
2926 # define ULLONG_MAX ULONG_LONG_MAX
2931 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2933 if (PyNumber_Check(obj
)) {
2934 if (val
) *val
= PyInt_AsLong(obj
);
2937 return SWIG_TypeError
;
2942 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2945 int res
= SWIG_AsVal_long (obj
, &v
);
2946 if (SWIG_IsOK(res
)) {
2947 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2948 return SWIG_OverflowError
;
2950 if (val
) *val
= static_cast< int >(v
);
2956 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
2957 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2958 PyObject
* tup
= PyTuple_New(2);
2959 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2960 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2961 wxPyEndBlockThreads(blocked
);
2966 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2968 if (PyNumber_Check(obj
)) {
2969 if (val
) *val
= PyFloat_AsDouble(obj
);
2972 return SWIG_TypeError
;
2976 #define SWIG_From_double PyFloat_FromDouble
2978 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
2982 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
2983 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2984 PyObject
* tup
= PyTuple_New(2);
2985 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
2986 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
2987 wxPyEndBlockThreads(blocked
);
2990 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
2994 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
2995 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2996 PyObject
* tup
= PyTuple_New(2);
2997 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2998 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2999 wxPyEndBlockThreads(blocked
);
3002 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3005 self
->width
= width
;
3006 self
->height
= height
;
3008 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3009 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3010 PyObject
* tup
= PyTuple_New(4);
3011 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3012 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3013 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3014 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3015 wxPyEndBlockThreads(blocked
);
3019 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3022 wxRect
dest(0,0,0,0);
3025 reg1
.Intersect(reg2
);
3026 dest
= reg1
.GetBox();
3028 if (dest
!= wxRect(0,0,0,0)) {
3029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3030 wxRect
* newRect
= new wxRect(dest
);
3031 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3032 wxPyEndBlockThreads(blocked
);
3039 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3043 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3044 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3045 PyObject
* tup
= PyTuple_New(2);
3046 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3047 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3048 wxPyEndBlockThreads(blocked
);
3052 #include "wx/wxPython/pyistream.h"
3054 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3055 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3057 return new wxPyInputStream(wxis
);
3062 SWIGINTERN swig_type_info
*
3063 SWIG_pchar_descriptor()
3065 static int init
= 0;
3066 static swig_type_info
* info
= 0;
3068 info
= SWIG_TypeQuery("_p_char");
3075 SWIGINTERNINLINE PyObject
*
3076 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3079 if (size
> INT_MAX
) {
3080 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3081 return pchar_descriptor
?
3082 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3084 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3087 return SWIG_Py_Void();
3092 SWIGINTERNINLINE PyObject
*
3093 SWIG_From_char (char c
)
3095 return SWIG_FromCharPtrAndSize(&c
,1);
3099 SWIGINTERNINLINE PyObject
*
3100 SWIG_From_unsigned_SS_long (unsigned long value
)
3102 return (value
> LONG_MAX
) ?
3103 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3107 SWIGINTERNINLINE PyObject
*
3108 SWIG_From_size_t (size_t value
)
3110 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3115 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3117 if (PyString_Check(obj
)) {
3118 char *cstr
; int len
;
3119 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3123 In python the user should not be able to modify the inner
3124 string representation. To warranty that, if you define
3125 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3126 buffer is always returned.
3128 The default behavior is just to return the pointer value,
3131 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3132 if (*alloc
!= SWIG_OLDOBJ
)
3134 if (*alloc
== SWIG_NEWOBJ
)
3137 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3138 *alloc
= SWIG_NEWOBJ
;
3142 *alloc
= SWIG_OLDOBJ
;
3145 *cptr
= PyString_AsString(obj
);
3148 if (psize
) *psize
= len
+ 1;
3151 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3152 if (pchar_descriptor
) {
3154 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3155 if (cptr
) *cptr
= (char *) vptr
;
3156 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3157 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3162 return SWIG_TypeError
;
3167 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3169 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3170 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3171 if (SWIG_IsOK(res
)) {
3172 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3173 if (csize
<= size
) {
3175 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3176 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3178 if (alloc
== SWIG_NEWOBJ
) {
3180 res
= SWIG_DelNewMask(res
);
3184 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3186 return SWIG_TypeError
;
3191 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3193 int res
= SWIG_AsCharArray(obj
, val
, 1);
3194 if (!SWIG_IsOK(res
)) {
3196 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3197 if (SWIG_IsOK(res
)) {
3198 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3199 if (val
) *val
= static_cast< char >(v
);
3201 res
= SWIG_OverflowError
;
3208 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3209 // We use only strings for the streams, not unicode
3210 PyObject
* str
= PyObject_Str(obj
);
3212 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3215 self
->Write(PyString_AS_STRING(str
),
3216 PyString_GET_SIZE(str
));
3220 #include "wx/wxPython/pyistream.h"
3223 class wxPyFileSystemHandler
: public wxFileSystemHandler
3226 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3228 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3229 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3230 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3231 DEC_PYCALLBACK_STRING__pure(FindNext
);
3233 wxString
GetProtocol(const wxString
& location
) {
3234 return wxFileSystemHandler::GetProtocol(location
);
3237 wxString
GetLeftLocation(const wxString
& location
) {
3238 return wxFileSystemHandler::GetLeftLocation(location
);
3241 wxString
GetAnchor(const wxString
& location
) {
3242 return wxFileSystemHandler::GetAnchor(location
);
3245 wxString
GetRightLocation(const wxString
& location
) {
3246 return wxFileSystemHandler::GetRightLocation(location
);
3249 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3250 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3257 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3258 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3259 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3260 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3264 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3266 if (obj
== Py_True
) {
3267 if (val
) *val
= true;
3269 } else if (obj
== Py_False
) {
3270 if (val
) *val
= false;
3274 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3275 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3280 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3281 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3282 return fname
.GetFullPath();
3285 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3288 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3291 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3292 const wxBitmap
& bitmap
,
3294 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3297 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3299 if (! PyString_Check(data
)) {
3300 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3301 "Expected string object"));
3305 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3306 void* ptr
= (void*)PyString_AsString(data
);
3307 size_t size
= PyString_Size(data
);
3308 wxPyEndBlockThreads(blocked
);
3310 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3314 #include "wx/wxPython/pyistream.h"
3318 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3321 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3322 return SWIG_TypeError
;
3325 *val
= (unsigned long)v
;
3331 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3334 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3335 if (SWIG_IsOK(res
)) {
3336 if ((v
> UCHAR_MAX
)) {
3337 return SWIG_OverflowError
;
3339 if (val
) *val
= static_cast< unsigned char >(v
);
3346 SWIGINTERNINLINE PyObject
*
3347 SWIG_From_unsigned_SS_char (unsigned char value
)
3349 return SWIG_From_unsigned_SS_long (value
);
3352 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3353 wxImageHistogramEntry e
= (*self
)[key
];
3356 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3357 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3358 wxImageHistogramEntry e
= (*self
)[key
];
3361 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3362 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3365 wxImageHistogramEntry e
= (*self
)[key
];
3369 typedef unsigned char* buffer
;
3372 // Pull the nested class out to the top level for SWIG's sake
3373 #define wxImage_RGBValue wxImage::RGBValue
3374 #define wxImage_HSVValue wxImage::HSVValue
3376 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3377 if (width
> 0 && height
> 0)
3378 return new wxImage(width
, height
, clear
);
3382 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3383 return new wxImage(bitmap
.ConvertToImage());
3385 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3386 if (DATASIZE
!= width
*height
*3) {
3387 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3391 // Copy the source data so the wxImage can clean it up later
3392 buffer copy
= (buffer
)malloc(DATASIZE
);
3394 wxPyBLOCK_THREADS(PyErr_NoMemory());
3397 memcpy(copy
, data
, DATASIZE
);
3398 return new wxImage(width
, height
, copy
, false);
3400 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3401 if (DATASIZE
!= width
*height
*3) {
3402 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3405 if (ALPHASIZE
!= width
*height
) {
3406 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3410 // Copy the source data so the wxImage can clean it up later
3411 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3412 if (dcopy
== NULL
) {
3413 wxPyBLOCK_THREADS(PyErr_NoMemory());
3416 memcpy(dcopy
, data
, DATASIZE
);
3418 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3419 if (acopy
== NULL
) {
3420 wxPyBLOCK_THREADS(PyErr_NoMemory());
3423 memcpy(acopy
, alpha
, ALPHASIZE
);
3425 return new wxImage(width
, height
, dcopy
, acopy
, false);
3427 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3428 wxSize
size(self
->GetWidth(), self
->GetHeight());
3431 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3432 buffer data
= self
->GetData();
3433 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3435 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3438 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3439 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3440 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3443 buffer copy
= (buffer
)malloc(DATASIZE
);
3445 wxPyBLOCK_THREADS(PyErr_NoMemory());
3448 memcpy(copy
, data
, DATASIZE
);
3449 self
->SetData(copy
, false);
3450 // wxImage takes ownership of copy...
3452 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3453 buffer data
= self
->GetData();
3454 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3456 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3459 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3460 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3461 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3464 self
->SetData(data
, true);
3466 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3467 buffer data
= self
->GetAlpha();
3471 int len
= self
->GetWidth() * self
->GetHeight();
3473 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3477 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3478 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3479 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3482 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3483 if (acopy
== NULL
) {
3484 wxPyBLOCK_THREADS(PyErr_NoMemory());
3487 memcpy(acopy
, alpha
, ALPHASIZE
);
3488 self
->SetAlpha(acopy
, false);
3489 // wxImage takes ownership of acopy...
3491 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3492 buffer data
= self
->GetAlpha();
3493 int len
= self
->GetWidth() * self
->GetHeight();
3495 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3498 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3499 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3500 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3503 self
->SetAlpha(alpha
, true);
3505 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3506 wxList
& list
= wxImage::GetHandlers();
3507 return wxPy_ConvertList(&list
);
3509 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3510 wxBitmap
bitmap(*self
, depth
);
3513 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3514 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3515 wxBitmap
bitmap( mono
, 1 );
3518 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3519 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3520 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3521 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3522 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3523 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3524 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3525 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3526 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3527 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3528 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3529 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3530 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3531 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3532 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3534 #include <wx/quantize.h>
3536 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3537 return wxQuantize::Quantize(src
, dest
,
3540 NULL
, // eightBitData
3543 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3544 if (PyCallable_Check(func
)) {
3545 self
->Connect(id
, lastId
, eventType
,
3546 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3547 new wxPyCallback(func
));
3549 else if (func
== Py_None
) {
3550 self
->Disconnect(id
, lastId
, eventType
,
3551 (wxObjectEventFunction
)
3552 &wxPyCallback::EventThunker
);
3556 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3559 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3560 return self
->Disconnect(id
, lastId
, eventType
,
3561 (wxObjectEventFunction
)
3562 &wxPyCallback::EventThunker
);
3564 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3565 if (_self
&& _self
!= Py_None
) {
3566 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3569 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3571 self
->SetClientObject(NULL
); // This will delete it too
3577 #define wxEVT_HOTKEY -9999
3580 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3581 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3583 Py_INCREF(data
->m_obj
);
3590 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3591 wxPyClientData
* data
= new wxPyClientData(clientData
);
3592 self
->SetClientObject(data
);
3594 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3596 return self
->GetUnicodeKey();
3602 SWIGINTERNINLINE PyObject
*
3603 SWIG_From_unsigned_SS_int (unsigned int value
)
3605 return SWIG_From_unsigned_SS_long (value
);
3610 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3613 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3614 if (SWIG_IsOK(res
)) {
3615 if ((v
> UINT_MAX
)) {
3616 return SWIG_OverflowError
;
3618 if (val
) *val
= static_cast< unsigned int >(v
);
3624 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3625 self
->m_size
= size
;
3627 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3628 int count
= self
->GetNumberOfFiles();
3629 wxString
* files
= self
->GetFiles();
3630 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3631 PyObject
* list
= PyList_New(count
);
3634 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3635 wxPyEndBlockThreads(blocked
);
3639 for (int i
=0; i
<count
; i
++) {
3640 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3642 wxPyEndBlockThreads(blocked
);
3647 SWIGINTERN wxPyApp
*new_wxPyApp(){
3648 wxPythonApp
= new wxPyApp();
3652 void wxApp_CleanUp() {
3657 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3663 SWIGINTERNINLINE PyObject
*
3664 SWIG_FromCharPtr(const char *cptr
)
3666 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3670 #if 0 // #ifdef __WXMAC__
3672 // A dummy class that raises an exception if used...
3676 wxEventLoop() { wxPyRaiseNotImplemented(); }
3677 int Run() { return 0; }
3678 void Exit(int rc
= 0) {}
3679 bool Pending() const { return false; }
3680 bool Dispatch() { return false; }
3681 bool IsRunning() const { return false; }
3682 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3683 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3688 #include <wx/evtloop.h>
3694 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3695 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3696 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3697 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3698 wxWindowList
& list
= self
->GetChildren();
3699 return wxPy_ConvertList(&list
);
3701 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3703 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3708 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3715 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3716 return wxPyGetWinHandle(self
);
3718 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3719 self
->AssociateHandle((WXWidget
)handle
);
3722 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3723 return wxWindow::FindWindowById(id
, parent
);
3726 wxWindow
* wxFindWindowByName( const wxString
& name
,
3727 const wxWindow
*parent
= NULL
) {
3728 return wxWindow::FindWindowByName(name
, parent
);
3731 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3732 const wxWindow
*parent
= NULL
) {
3733 return wxWindow::FindWindowByLabel(label
, parent
);
3738 #include <wx/msw/private.h> // to get wxGetWindowId
3742 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3744 WXHWND hWnd
= (WXHWND
)_hWnd
;
3745 long id
= wxGetWindowId(hWnd
);
3746 wxWindow
* win
= new wxWindow
;
3748 parent
->AddChild(win
);
3749 win
->SetEventHandler(win
);
3752 win
->SubclassWin(hWnd
);
3753 win
->AdoptAttributesFromHWND();
3754 win
->SetupColours();
3757 wxPyRaiseNotImplemented();
3763 PyObject
* GetTopLevelWindows() {
3764 return wxPy_ConvertList(&wxTopLevelWindows
);
3768 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3769 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3770 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3772 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3775 SWIGINTERNINLINE
int
3776 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3779 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3780 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3784 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3785 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3786 wxMenuItemList
& list
= self
->GetMenuItems();
3787 return wxPy_ConvertList(&list
);
3789 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3790 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3791 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3792 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3794 wxPyClientData
* data
= new wxPyClientData(clientData
);
3795 return self
->Append(item
, data
);
3797 return self
->Append(item
);
3799 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,unsigned int pos
,PyObject
*clientData
=NULL
){
3801 wxPyClientData
* data
= new wxPyClientData(clientData
);
3802 return self
->Insert(item
, pos
, data
);
3804 return self
->Insert(item
, pos
);
3806 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,unsigned int n
){
3807 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3809 Py_INCREF(data
->m_obj
);
3816 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,unsigned int n
,PyObject
*clientData
){
3817 wxPyClientData
* data
= new wxPyClientData(clientData
);
3818 self
->SetClientObject(n
, data
);
3822 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3823 wxPyUserData
* data
= NULL
;
3825 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3826 data
= new wxPyUserData(userData
);
3827 wxPyEndBlockThreads(blocked
);
3829 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
3831 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3832 wxPyUserData
* data
= NULL
;
3834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3835 data
= new wxPyUserData(userData
);
3836 wxPyEndBlockThreads(blocked
);
3838 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
3840 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3841 wxPyUserData
* data
= NULL
;
3843 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3844 data
= new wxPyUserData(userData
);
3845 wxPyEndBlockThreads(blocked
);
3847 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
3854 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3857 int res
= SWIG_AsVal_double (obj
, &v
);
3858 if (SWIG_IsOK(res
)) {
3859 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3860 return SWIG_OverflowError
;
3862 if (val
) *val
= static_cast< float >(v
);
3869 SWIGINTERNINLINE PyObject
*
3870 SWIG_From_float (float value
)
3872 return SWIG_From_double (value
);
3875 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
3876 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
3878 Py_INCREF(data
->m_obj
);
3885 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
3886 wxPyUserData
* data
= NULL
;
3888 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3889 data
= new wxPyUserData(userData
);
3890 wxPyEndBlockThreads(blocked
);
3892 self
->SetUserData(data
);
3895 // Figure out the type of the sizer item
3897 struct wxPySizerItemInfo
{
3899 : window(NULL
), sizer(NULL
), gotSize(false),
3900 size(wxDefaultSize
), gotPos(false), pos(-1)
3911 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
3913 wxPySizerItemInfo info
;
3915 wxSize
* sizePtr
= &size
;
3917 // Find out what the type of the item is
3919 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
3924 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
3928 // try wxSize or (w,h)
3929 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
3930 info
.size
= *sizePtr
;
3931 info
.gotSize
= true;
3935 if (checkIdx
&& PyInt_Check(item
)) {
3936 info
.pos
= PyInt_AsLong(item
);
3942 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
3943 // no expected type, figure out what kind of error message to generate
3944 if ( !checkSize
&& !checkIdx
)
3945 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
3946 else if ( checkSize
&& !checkIdx
)
3947 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
3948 else if ( !checkSize
&& checkIdx
)
3949 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
3951 // can this one happen?
3952 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
3958 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3959 if (!self
->GetClientObject())
3960 self
->SetClientObject(new wxPyOORClientData(_self
));
3962 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3964 wxPyUserData
* data
= NULL
;
3965 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3966 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3967 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3968 data
= new wxPyUserData(userData
);
3970 PyObject_SetAttrString(item
,"thisown",Py_False
);
3971 wxPyEndBlockThreads(blocked
);
3973 // Now call the real Add method if a valid item type was found
3975 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3976 else if ( info
.sizer
)
3977 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3978 else if (info
.gotSize
)
3979 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3980 proportion
, flag
, border
, data
);
3984 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3986 wxPyUserData
* data
= NULL
;
3987 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3988 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3989 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3990 data
= new wxPyUserData(userData
);
3992 PyObject_SetAttrString(item
,"thisown",Py_False
);
3993 wxPyEndBlockThreads(blocked
);
3995 // Now call the real Insert method if a valid item type was found
3997 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3998 else if ( info
.sizer
)
3999 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4000 else if (info
.gotSize
)
4001 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4002 proportion
, flag
, border
, data
);
4006 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4008 wxPyUserData
* data
= NULL
;
4009 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4010 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4011 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4012 data
= new wxPyUserData(userData
);
4014 PyObject_SetAttrString(item
,"thisown",Py_False
);
4015 wxPyEndBlockThreads(blocked
);
4017 // Now call the real Prepend method if a valid item type was found
4019 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4020 else if ( info
.sizer
)
4021 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4022 else if (info
.gotSize
)
4023 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4024 proportion
, flag
, border
, data
);
4028 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4030 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4031 wxPyEndBlockThreads(blocked
);
4033 return self
->Remove(info
.window
);
4034 else if ( info
.sizer
)
4035 return self
->Remove(info
.sizer
);
4036 else if ( info
.gotPos
)
4037 return self
->Remove(info
.pos
);
4041 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4042 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4043 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4044 wxPyEndBlockThreads(blocked
);
4046 return self
->Detach(info
.window
);
4047 else if ( info
.sizer
)
4048 return self
->Detach(info
.sizer
);
4049 else if ( info
.gotPos
)
4050 return self
->Detach(info
.pos
);
4054 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4055 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4056 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4057 wxPyEndBlockThreads(blocked
);
4059 return self
->GetItem(info
.window
);
4060 else if ( info
.sizer
)
4061 return self
->GetItem(info
.sizer
);
4062 else if ( info
.gotPos
)
4063 return self
->GetItem(info
.pos
);
4067 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4068 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4069 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4070 wxPyEndBlockThreads(blocked
);
4072 self
->SetItemMinSize(info
.window
, size
);
4073 else if ( info
.sizer
)
4074 self
->SetItemMinSize(info
.sizer
, size
);
4075 else if ( info
.gotPos
)
4076 self
->SetItemMinSize(info
.pos
, size
);
4078 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4079 wxSizerItemList
& list
= self
->GetChildren();
4080 return wxPy_ConvertList(&list
);
4082 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4085 wxPyEndBlockThreads(blocked
);
4087 return self
->Show(info
.window
, show
, recursive
);
4088 else if ( info
.sizer
)
4089 return self
->Show(info
.sizer
, show
, recursive
);
4090 else if ( info
.gotPos
)
4091 return self
->Show(info
.pos
, show
);
4095 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4096 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4097 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4098 wxPyEndBlockThreads(blocked
);
4100 return self
->IsShown(info
.window
);
4101 else if ( info
.sizer
)
4102 return self
->IsShown(info
.sizer
);
4103 else if ( info
.gotPos
)
4104 return self
->IsShown(info
.pos
);
4110 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4111 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4112 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4117 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4119 if (source
== Py_None
) {
4120 **obj
= wxGBPosition(-1,-1);
4123 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4126 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4128 if (source
== Py_None
) {
4129 **obj
= wxGBSpan(-1,-1);
4132 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4136 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4140 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4141 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4142 PyObject
* tup
= PyTuple_New(2);
4143 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4144 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4145 wxPyEndBlockThreads(blocked
);
4148 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4149 self
->SetRowspan(rowspan
);
4150 self
->SetColspan(colspan
);
4152 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4154 PyObject
* tup
= PyTuple_New(2);
4155 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4156 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4157 wxPyEndBlockThreads(blocked
);
4160 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4161 wxPyUserData
* data
= NULL
;
4163 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4164 data
= new wxPyUserData(userData
);
4165 wxPyEndBlockThreads(blocked
);
4167 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4169 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4170 wxPyUserData
* data
= NULL
;
4172 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4173 data
= new wxPyUserData(userData
);
4174 wxPyEndBlockThreads(blocked
);
4176 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4178 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4179 wxPyUserData
* data
= NULL
;
4181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4182 data
= new wxPyUserData(userData
);
4183 wxPyEndBlockThreads(blocked
);
4185 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4187 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4189 self
->GetEndPos(row
, col
);
4190 return wxGBPosition(row
, col
);
4192 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4194 wxPyUserData
* data
= NULL
;
4195 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4196 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4197 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4198 data
= new wxPyUserData(userData
);
4200 PyObject_SetAttrString(item
,"thisown",Py_False
);
4201 wxPyEndBlockThreads(blocked
);
4203 // Now call the real Add method if a valid item type was found
4205 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4206 else if ( info
.sizer
)
4207 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4208 else if (info
.gotSize
)
4209 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4210 pos
, span
, flag
, border
, data
);
4218 SWIGINTERN
int EmptyString_set(PyObject
*) {
4219 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4224 SWIGINTERN PyObject
*EmptyString_get(void) {
4225 PyObject
*pyobj
= 0;
4229 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4231 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4238 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4239 PyObject
*resultobj
= 0;
4240 wxObject
*arg1
= (wxObject
*) 0 ;
4244 PyObject
*swig_obj
[1] ;
4246 if (!args
) SWIG_fail
;
4248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4249 if (!SWIG_IsOK(res1
)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4252 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= wxObject_GetClassName(arg1
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4272 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4273 PyObject
*resultobj
= 0;
4274 wxObject
*arg1
= (wxObject
*) 0 ;
4277 PyObject
*swig_obj
[1] ;
4279 if (!args
) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4285 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 wxObject_Destroy(arg1
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4292 resultobj
= SWIG_Py_Void();
4299 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4302 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4303 return SWIG_Py_Void();
4306 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4307 PyObject
*resultobj
= 0;
4308 wxSize
*arg1
= (wxSize
*) 0 ;
4314 PyObject
*swig_obj
[2] ;
4316 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4318 if (!SWIG_IsOK(res1
)) {
4319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4321 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4322 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4323 if (!SWIG_IsOK(ecode2
)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4326 arg2
= static_cast< int >(val2
);
4327 if (arg1
) (arg1
)->x
= arg2
;
4329 resultobj
= SWIG_Py_Void();
4336 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 PyObject
*resultobj
= 0;
4338 wxSize
*arg1
= (wxSize
*) 0 ;
4342 PyObject
*swig_obj
[1] ;
4344 if (!args
) SWIG_fail
;
4346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4347 if (!SWIG_IsOK(res1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4350 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4351 result
= (int) ((arg1
)->x
);
4352 resultobj
= SWIG_From_int(static_cast< int >(result
));
4359 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4360 PyObject
*resultobj
= 0;
4361 wxSize
*arg1
= (wxSize
*) 0 ;
4367 PyObject
*swig_obj
[2] ;
4369 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4374 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4375 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4376 if (!SWIG_IsOK(ecode2
)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4379 arg2
= static_cast< int >(val2
);
4380 if (arg1
) (arg1
)->y
= arg2
;
4382 resultobj
= SWIG_Py_Void();
4389 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4390 PyObject
*resultobj
= 0;
4391 wxSize
*arg1
= (wxSize
*) 0 ;
4395 PyObject
*swig_obj
[1] ;
4397 if (!args
) SWIG_fail
;
4399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4400 if (!SWIG_IsOK(res1
)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4403 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4404 result
= (int) ((arg1
)->y
);
4405 resultobj
= SWIG_From_int(static_cast< int >(result
));
4412 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
= 0;
4414 int arg1
= (int) 0 ;
4415 int arg2
= (int) 0 ;
4416 wxSize
*result
= 0 ;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4423 char * kwnames
[] = {
4424 (char *) "w",(char *) "h", NULL
4427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4429 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4430 if (!SWIG_IsOK(ecode1
)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4433 arg1
= static_cast< int >(val1
);
4436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4437 if (!SWIG_IsOK(ecode2
)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4440 arg2
= static_cast< int >(val2
);
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4455 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4456 PyObject
*resultobj
= 0;
4457 wxSize
*arg1
= (wxSize
*) 0 ;
4460 PyObject
*swig_obj
[1] ;
4462 if (!args
) SWIG_fail
;
4464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4465 if (!SWIG_IsOK(res1
)) {
4466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4468 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_Py_Void();
4483 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
= 0;
4485 wxSize
*arg1
= (wxSize
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "sz", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4502 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4522 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
= 0;
4524 wxSize
*arg1
= (wxSize
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4532 char * kwnames
[] = {
4533 (char *) "self",(char *) "sz", NULL
4536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4538 if (!SWIG_IsOK(res1
)) {
4539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4541 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4544 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4561 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
= 0;
4563 wxSize
*arg1
= (wxSize
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4571 char * kwnames
[] = {
4572 (char *) "self",(char *) "sz", NULL
4575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4577 if (!SWIG_IsOK(res1
)) {
4578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4580 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4598 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
= 0;
4600 wxSize
*arg1
= (wxSize
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4608 char * kwnames
[] = {
4609 (char *) "self",(char *) "sz", NULL
4612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4614 if (!SWIG_IsOK(res1
)) {
4615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4617 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4635 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
= 0;
4637 wxSize
*arg1
= (wxSize
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4644 char * kwnames
[] = {
4645 (char *) "self",(char *) "sz", NULL
4648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4650 if (!SWIG_IsOK(res1
)) {
4651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4653 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4656 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 (arg1
)->IncTo((wxSize
const &)*arg2
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 resultobj
= SWIG_Py_Void();
4671 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
= 0;
4673 wxSize
*arg1
= (wxSize
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 char * kwnames
[] = {
4681 (char *) "self",(char *) "sz", NULL
4684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4686 if (!SWIG_IsOK(res1
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4689 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4692 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->DecTo((wxSize
const &)*arg2
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_Py_Void();
4707 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
= 0;
4709 wxSize
*arg1
= (wxSize
*) 0 ;
4718 PyObject
* obj0
= 0 ;
4719 PyObject
* obj1
= 0 ;
4720 PyObject
* obj2
= 0 ;
4721 char * kwnames
[] = {
4722 (char *) "self",(char *) "w",(char *) "h", NULL
4725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4727 if (!SWIG_IsOK(res1
)) {
4728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
4730 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4732 if (!SWIG_IsOK(ecode2
)) {
4733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
4735 arg2
= static_cast< int >(val2
);
4736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4737 if (!SWIG_IsOK(ecode3
)) {
4738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
4740 arg3
= static_cast< int >(val3
);
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 (arg1
)->Set(arg2
,arg3
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= SWIG_Py_Void();
4754 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
= 0;
4756 wxSize
*arg1
= (wxSize
*) 0 ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 char * kwnames
[] = {
4765 (char *) "self",(char *) "w", NULL
4768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
4773 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4775 if (!SWIG_IsOK(ecode2
)) {
4776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
4778 arg2
= static_cast< int >(val2
);
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 (arg1
)->SetWidth(arg2
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= SWIG_Py_Void();
4792 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
= 0;
4794 wxSize
*arg1
= (wxSize
*) 0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4802 char * kwnames
[] = {
4803 (char *) "self",(char *) "h", NULL
4806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4808 if (!SWIG_IsOK(res1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
4811 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4813 if (!SWIG_IsOK(ecode2
)) {
4814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
4816 arg2
= static_cast< int >(val2
);
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 (arg1
)->SetHeight(arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= SWIG_Py_Void();
4830 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4831 PyObject
*resultobj
= 0;
4832 wxSize
*arg1
= (wxSize
*) 0 ;
4836 PyObject
*swig_obj
[1] ;
4838 if (!args
) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
4844 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (int)((wxSize
const *)arg1
)->GetWidth();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_From_int(static_cast< int >(result
));
4858 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4859 PyObject
*resultobj
= 0;
4860 wxSize
*arg1
= (wxSize
*) 0 ;
4864 PyObject
*swig_obj
[1] ;
4866 if (!args
) SWIG_fail
;
4868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4869 if (!SWIG_IsOK(res1
)) {
4870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
4872 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (int)((wxSize
const *)arg1
)->GetHeight();
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_From_int(static_cast< int >(result
));
4886 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4887 PyObject
*resultobj
= 0;
4888 wxSize
*arg1
= (wxSize
*) 0 ;
4892 PyObject
*swig_obj
[1] ;
4894 if (!args
) SWIG_fail
;
4896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4897 if (!SWIG_IsOK(res1
)) {
4898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
4900 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4916 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
= 0;
4918 wxSize
*arg1
= (wxSize
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4924 PyObject
* obj1
= 0 ;
4925 char * kwnames
[] = {
4926 (char *) "self",(char *) "size", NULL
4929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4931 if (!SWIG_IsOK(res1
)) {
4932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
4934 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4937 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= SWIG_Py_Void();
4952 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 PyObject
*resultobj
= 0;
4954 wxSize
*arg1
= (wxSize
*) 0 ;
4955 PyObject
*result
= 0 ;
4958 PyObject
*swig_obj
[1] ;
4960 if (!args
) SWIG_fail
;
4962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4963 if (!SWIG_IsOK(res1
)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
4966 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (PyObject
*)wxSize_Get(arg1
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4980 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4983 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
4984 return SWIG_Py_Void();
4987 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4988 return SWIG_Python_InitShadowInstance(args
);
4991 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4999 PyObject
*swig_obj
[2] ;
5001 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5006 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5007 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5008 if (!SWIG_IsOK(ecode2
)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5011 arg2
= static_cast< double >(val2
);
5012 if (arg1
) (arg1
)->x
= arg2
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5022 PyObject
*resultobj
= 0;
5023 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5027 PyObject
*swig_obj
[1] ;
5029 if (!args
) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5035 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5036 result
= (double) ((arg1
)->x
);
5037 resultobj
= SWIG_From_double(static_cast< double >(result
));
5044 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5045 PyObject
*resultobj
= 0;
5046 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5052 PyObject
*swig_obj
[2] ;
5054 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5056 if (!SWIG_IsOK(res1
)) {
5057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5059 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5060 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5061 if (!SWIG_IsOK(ecode2
)) {
5062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5064 arg2
= static_cast< double >(val2
);
5065 if (arg1
) (arg1
)->y
= arg2
;
5067 resultobj
= SWIG_Py_Void();
5074 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5075 PyObject
*resultobj
= 0;
5076 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5080 PyObject
*swig_obj
[1] ;
5082 if (!args
) SWIG_fail
;
5084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5085 if (!SWIG_IsOK(res1
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5088 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5089 result
= (double) ((arg1
)->y
);
5090 resultobj
= SWIG_From_double(static_cast< double >(result
));
5097 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
= 0;
5099 double arg1
= (double) 0.0 ;
5100 double arg2
= (double) 0.0 ;
5101 wxRealPoint
*result
= 0 ;
5106 PyObject
* obj0
= 0 ;
5107 PyObject
* obj1
= 0 ;
5108 char * kwnames
[] = {
5109 (char *) "x",(char *) "y", NULL
5112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5114 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5115 if (!SWIG_IsOK(ecode1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5118 arg1
= static_cast< double >(val1
);
5121 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5122 if (!SWIG_IsOK(ecode2
)) {
5123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5125 arg2
= static_cast< double >(val2
);
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5140 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5141 PyObject
*resultobj
= 0;
5142 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5145 PyObject
*swig_obj
[1] ;
5147 if (!args
) SWIG_fail
;
5149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5150 if (!SWIG_IsOK(res1
)) {
5151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5153 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_Py_Void();
5168 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
= 0;
5170 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5171 wxRealPoint
*arg2
= 0 ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5178 char * kwnames
[] = {
5179 (char *) "self",(char *) "pt", NULL
5182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5187 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5190 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5207 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
= 0;
5209 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5210 wxRealPoint
*arg2
= 0 ;
5215 PyObject
* obj0
= 0 ;
5216 PyObject
* obj1
= 0 ;
5217 char * kwnames
[] = {
5218 (char *) "self",(char *) "pt", NULL
5221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5223 if (!SWIG_IsOK(res1
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5226 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5229 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5246 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
*resultobj
= 0;
5248 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5249 wxRealPoint
*arg2
= 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5256 char * kwnames
[] = {
5257 (char *) "self",(char *) "pt", NULL
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5262 if (!SWIG_IsOK(res1
)) {
5263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5265 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5268 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5283 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
= 0;
5285 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5286 wxRealPoint
*arg2
= 0 ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 char * kwnames
[] = {
5294 (char *) "self",(char *) "pt", NULL
5297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5299 if (!SWIG_IsOK(res1
)) {
5300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5302 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5305 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5320 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
= 0;
5322 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 char * kwnames
[] = {
5335 (char *) "self",(char *) "x",(char *) "y", NULL
5338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5340 if (!SWIG_IsOK(res1
)) {
5341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5343 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5344 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5345 if (!SWIG_IsOK(ecode2
)) {
5346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5348 arg2
= static_cast< double >(val2
);
5349 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5350 if (!SWIG_IsOK(ecode3
)) {
5351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5353 arg3
= static_cast< double >(val3
);
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 wxRealPoint_Set(arg1
,arg2
,arg3
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= SWIG_Py_Void();
5367 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5368 PyObject
*resultobj
= 0;
5369 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5370 PyObject
*result
= 0 ;
5373 PyObject
*swig_obj
[1] ;
5375 if (!args
) SWIG_fail
;
5377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5378 if (!SWIG_IsOK(res1
)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5381 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5395 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5398 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5399 return SWIG_Py_Void();
5402 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5403 return SWIG_Python_InitShadowInstance(args
);
5406 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5407 PyObject
*resultobj
= 0;
5408 wxPoint
*arg1
= (wxPoint
*) 0 ;
5414 PyObject
*swig_obj
[2] ;
5416 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5418 if (!SWIG_IsOK(res1
)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5421 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5422 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5423 if (!SWIG_IsOK(ecode2
)) {
5424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5426 arg2
= static_cast< int >(val2
);
5427 if (arg1
) (arg1
)->x
= arg2
;
5429 resultobj
= SWIG_Py_Void();
5436 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5437 PyObject
*resultobj
= 0;
5438 wxPoint
*arg1
= (wxPoint
*) 0 ;
5442 PyObject
*swig_obj
[1] ;
5444 if (!args
) SWIG_fail
;
5446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5447 if (!SWIG_IsOK(res1
)) {
5448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5450 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5451 result
= (int) ((arg1
)->x
);
5452 resultobj
= SWIG_From_int(static_cast< int >(result
));
5459 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5460 PyObject
*resultobj
= 0;
5461 wxPoint
*arg1
= (wxPoint
*) 0 ;
5467 PyObject
*swig_obj
[2] ;
5469 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5471 if (!SWIG_IsOK(res1
)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5474 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5475 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5476 if (!SWIG_IsOK(ecode2
)) {
5477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5479 arg2
= static_cast< int >(val2
);
5480 if (arg1
) (arg1
)->y
= arg2
;
5482 resultobj
= SWIG_Py_Void();
5489 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5490 PyObject
*resultobj
= 0;
5491 wxPoint
*arg1
= (wxPoint
*) 0 ;
5495 PyObject
*swig_obj
[1] ;
5497 if (!args
) SWIG_fail
;
5499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5500 if (!SWIG_IsOK(res1
)) {
5501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5503 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5504 result
= (int) ((arg1
)->y
);
5505 resultobj
= SWIG_From_int(static_cast< int >(result
));
5512 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
= 0;
5514 int arg1
= (int) 0 ;
5515 int arg2
= (int) 0 ;
5516 wxPoint
*result
= 0 ;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5523 char * kwnames
[] = {
5524 (char *) "x",(char *) "y", NULL
5527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5530 if (!SWIG_IsOK(ecode1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5533 arg1
= static_cast< int >(val1
);
5536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5537 if (!SWIG_IsOK(ecode2
)) {
5538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5540 arg2
= static_cast< int >(val2
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5555 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5556 PyObject
*resultobj
= 0;
5557 wxPoint
*arg1
= (wxPoint
*) 0 ;
5560 PyObject
*swig_obj
[1] ;
5562 if (!args
) SWIG_fail
;
5564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5565 if (!SWIG_IsOK(res1
)) {
5566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5568 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_Py_Void();
5583 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
= 0;
5585 wxPoint
*arg1
= (wxPoint
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5593 char * kwnames
[] = {
5594 (char *) "self",(char *) "pt", NULL
5597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5599 if (!SWIG_IsOK(res1
)) {
5600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5602 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5622 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
= 0;
5624 wxPoint
*arg1
= (wxPoint
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5632 char * kwnames
[] = {
5633 (char *) "self",(char *) "pt", NULL
5636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5638 if (!SWIG_IsOK(res1
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5641 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5644 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5661 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
= 0;
5663 wxPoint
*arg1
= (wxPoint
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 char * kwnames
[] = {
5672 (char *) "self",(char *) "pt", NULL
5675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5677 if (!SWIG_IsOK(res1
)) {
5678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5680 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5698 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
= 0;
5700 wxPoint
*arg1
= (wxPoint
*) 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 char * kwnames
[] = {
5709 (char *) "self",(char *) "pt", NULL
5712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5714 if (!SWIG_IsOK(res1
)) {
5715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5717 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5735 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
= 0;
5737 wxPoint
*arg1
= (wxPoint
*) 0 ;
5739 wxPoint
*result
= 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 char * kwnames
[] = {
5746 (char *) "self",(char *) "pt", NULL
5749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5751 if (!SWIG_IsOK(res1
)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
5754 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
5763 result
= (wxPoint
*) &_result_ref
;
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5775 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
= 0;
5777 wxPoint
*arg1
= (wxPoint
*) 0 ;
5779 wxPoint
*result
= 0 ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5785 char * kwnames
[] = {
5786 (char *) "self",(char *) "pt", NULL
5789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5791 if (!SWIG_IsOK(res1
)) {
5792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5794 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
5803 result
= (wxPoint
*) &_result_ref
;
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5815 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
= 0;
5817 wxPoint
*arg1
= (wxPoint
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5828 PyObject
* obj2
= 0 ;
5829 char * kwnames
[] = {
5830 (char *) "self",(char *) "x",(char *) "y", NULL
5833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
5838 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5839 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5840 if (!SWIG_IsOK(ecode2
)) {
5841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
5843 arg2
= static_cast< long >(val2
);
5844 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5845 if (!SWIG_IsOK(ecode3
)) {
5846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
5848 arg3
= static_cast< long >(val3
);
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 wxPoint_Set(arg1
,arg2
,arg3
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= SWIG_Py_Void();
5862 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5863 PyObject
*resultobj
= 0;
5864 wxPoint
*arg1
= (wxPoint
*) 0 ;
5865 PyObject
*result
= 0 ;
5868 PyObject
*swig_obj
[1] ;
5870 if (!args
) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
5876 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 result
= (PyObject
*)wxPoint_Get(arg1
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5890 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5893 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
5894 return SWIG_Py_Void();
5897 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5898 return SWIG_Python_InitShadowInstance(args
);
5901 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
= 0;
5903 int arg1
= (int) 0 ;
5904 int arg2
= (int) 0 ;
5905 int arg3
= (int) 0 ;
5906 int arg4
= (int) 0 ;
5907 wxRect
*result
= 0 ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 PyObject
* obj2
= 0 ;
5919 PyObject
* obj3
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5927 if (!SWIG_IsOK(ecode1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
5930 arg1
= static_cast< int >(val1
);
5933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5934 if (!SWIG_IsOK(ecode2
)) {
5935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
5937 arg2
= static_cast< int >(val2
);
5940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5941 if (!SWIG_IsOK(ecode3
)) {
5942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
5944 arg3
= static_cast< int >(val3
);
5947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5948 if (!SWIG_IsOK(ecode4
)) {
5949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
5951 arg4
= static_cast< int >(val4
);
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
5966 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
= 0;
5970 wxRect
*result
= 0 ;
5973 PyObject
* obj0
= 0 ;
5974 PyObject
* obj1
= 0 ;
5975 char * kwnames
[] = {
5976 (char *) "topLeft",(char *) "bottomRight", NULL
5979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5982 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6001 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
= 0;
6005 wxRect
*result
= 0 ;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6010 char * kwnames
[] = {
6011 (char *) "pos",(char *) "size", NULL
6014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6017 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6021 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6036 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
= 0;
6039 wxRect
*result
= 0 ;
6041 PyObject
* obj0
= 0 ;
6042 char * kwnames
[] = {
6043 (char *) "size", NULL
6046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6049 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6064 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6065 PyObject
*resultobj
= 0;
6066 wxRect
*arg1
= (wxRect
*) 0 ;
6069 PyObject
*swig_obj
[1] ;
6071 if (!args
) SWIG_fail
;
6073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6074 if (!SWIG_IsOK(res1
)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6077 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= SWIG_Py_Void();
6092 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6093 PyObject
*resultobj
= 0;
6094 wxRect
*arg1
= (wxRect
*) 0 ;
6098 PyObject
*swig_obj
[1] ;
6100 if (!args
) SWIG_fail
;
6102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6103 if (!SWIG_IsOK(res1
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6106 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (int)((wxRect
const *)arg1
)->GetX();
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= SWIG_From_int(static_cast< int >(result
));
6120 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
= 0;
6122 wxRect
*arg1
= (wxRect
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 char * kwnames
[] = {
6131 (char *) "self",(char *) "x", NULL
6134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6136 if (!SWIG_IsOK(res1
)) {
6137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6139 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6141 if (!SWIG_IsOK(ecode2
)) {
6142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6144 arg2
= static_cast< int >(val2
);
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_Py_Void();
6158 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6159 PyObject
*resultobj
= 0;
6160 wxRect
*arg1
= (wxRect
*) 0 ;
6164 PyObject
*swig_obj
[1] ;
6166 if (!args
) SWIG_fail
;
6168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6169 if (!SWIG_IsOK(res1
)) {
6170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6172 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (int)(arg1
)->GetY();
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_From_int(static_cast< int >(result
));
6186 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
= 0;
6188 wxRect
*arg1
= (wxRect
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6196 char * kwnames
[] = {
6197 (char *) "self",(char *) "y", NULL
6200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6205 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6207 if (!SWIG_IsOK(ecode2
)) {
6208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6210 arg2
= static_cast< int >(val2
);
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_Py_Void();
6224 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6225 PyObject
*resultobj
= 0;
6226 wxRect
*arg1
= (wxRect
*) 0 ;
6230 PyObject
*swig_obj
[1] ;
6232 if (!args
) SWIG_fail
;
6234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6235 if (!SWIG_IsOK(res1
)) {
6236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6238 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_From_int(static_cast< int >(result
));
6252 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
= 0;
6254 wxRect
*arg1
= (wxRect
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 char * kwnames
[] = {
6263 (char *) "self",(char *) "w", NULL
6266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6268 if (!SWIG_IsOK(res1
)) {
6269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6271 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6273 if (!SWIG_IsOK(ecode2
)) {
6274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6276 arg2
= static_cast< int >(val2
);
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 (arg1
)->SetWidth(arg2
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= SWIG_Py_Void();
6290 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6291 PyObject
*resultobj
= 0;
6292 wxRect
*arg1
= (wxRect
*) 0 ;
6296 PyObject
*swig_obj
[1] ;
6298 if (!args
) SWIG_fail
;
6300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6301 if (!SWIG_IsOK(res1
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6304 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_From_int(static_cast< int >(result
));
6318 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
= 0;
6320 wxRect
*arg1
= (wxRect
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6328 char * kwnames
[] = {
6329 (char *) "self",(char *) "h", NULL
6332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6334 if (!SWIG_IsOK(res1
)) {
6335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6337 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6339 if (!SWIG_IsOK(ecode2
)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6342 arg2
= static_cast< int >(val2
);
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 (arg1
)->SetHeight(arg2
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_Py_Void();
6356 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxRect
*arg1
= (wxRect
*) 0 ;
6362 PyObject
*swig_obj
[1] ;
6364 if (!args
) SWIG_fail
;
6366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6367 if (!SWIG_IsOK(res1
)) {
6368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6370 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= ((wxRect
const *)arg1
)->GetPosition();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6384 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
= 0;
6386 wxRect
*arg1
= (wxRect
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 char * kwnames
[] = {
6394 (char *) "self",(char *) "p", NULL
6397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6399 if (!SWIG_IsOK(res1
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6402 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_Py_Void();
6420 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6421 PyObject
*resultobj
= 0;
6422 wxRect
*arg1
= (wxRect
*) 0 ;
6426 PyObject
*swig_obj
[1] ;
6428 if (!args
) SWIG_fail
;
6430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6431 if (!SWIG_IsOK(res1
)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6434 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 result
= ((wxRect
const *)arg1
)->GetSize();
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6448 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
= 0;
6450 wxRect
*arg1
= (wxRect
*) 0 ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6457 char * kwnames
[] = {
6458 (char *) "self",(char *) "s", NULL
6461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6466 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 (arg1
)->SetSize((wxSize
const &)*arg2
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_Py_Void();
6484 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6485 PyObject
*resultobj
= 0;
6486 wxRect
*arg1
= (wxRect
*) 0 ;
6490 PyObject
*swig_obj
[1] ;
6492 if (!args
) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6498 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6514 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6515 PyObject
*resultobj
= 0;
6516 wxRect
*arg1
= (wxRect
*) 0 ;
6520 PyObject
*swig_obj
[1] ;
6522 if (!args
) SWIG_fail
;
6524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6525 if (!SWIG_IsOK(res1
)) {
6526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6528 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6542 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
= 0;
6544 wxRect
*arg1
= (wxRect
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6551 char * kwnames
[] = {
6552 (char *) "self",(char *) "p", NULL
6555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6557 if (!SWIG_IsOK(res1
)) {
6558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6560 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_Py_Void();
6578 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 PyObject
*resultobj
= 0;
6580 wxRect
*arg1
= (wxRect
*) 0 ;
6584 PyObject
*swig_obj
[1] ;
6586 if (!args
) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6592 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6606 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
= 0;
6608 wxRect
*arg1
= (wxRect
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "p", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6624 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= SWIG_Py_Void();
6642 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6643 PyObject
*resultobj
= 0;
6644 wxRect
*arg1
= (wxRect
*) 0 ;
6648 PyObject
*swig_obj
[1] ;
6650 if (!args
) SWIG_fail
;
6652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6653 if (!SWIG_IsOK(res1
)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6656 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (int)((wxRect
const *)arg1
)->GetLeft();
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= SWIG_From_int(static_cast< int >(result
));
6670 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6671 PyObject
*resultobj
= 0;
6672 wxRect
*arg1
= (wxRect
*) 0 ;
6676 PyObject
*swig_obj
[1] ;
6678 if (!args
) SWIG_fail
;
6680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6681 if (!SWIG_IsOK(res1
)) {
6682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
6684 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (int)((wxRect
const *)arg1
)->GetTop();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= SWIG_From_int(static_cast< int >(result
));
6698 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6699 PyObject
*resultobj
= 0;
6700 wxRect
*arg1
= (wxRect
*) 0 ;
6704 PyObject
*swig_obj
[1] ;
6706 if (!args
) SWIG_fail
;
6708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6709 if (!SWIG_IsOK(res1
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
6712 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (int)((wxRect
const *)arg1
)->GetBottom();
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= SWIG_From_int(static_cast< int >(result
));
6726 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6727 PyObject
*resultobj
= 0;
6728 wxRect
*arg1
= (wxRect
*) 0 ;
6732 PyObject
*swig_obj
[1] ;
6734 if (!args
) SWIG_fail
;
6736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6737 if (!SWIG_IsOK(res1
)) {
6738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6740 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (int)((wxRect
const *)arg1
)->GetRight();
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_From_int(static_cast< int >(result
));
6754 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
= 0;
6756 wxRect
*arg1
= (wxRect
*) 0 ;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6764 char * kwnames
[] = {
6765 (char *) "self",(char *) "left", NULL
6768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6770 if (!SWIG_IsOK(res1
)) {
6771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6773 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6775 if (!SWIG_IsOK(ecode2
)) {
6776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
6778 arg2
= static_cast< int >(val2
);
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 (arg1
)->SetLeft(arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_Py_Void();
6792 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
= 0;
6794 wxRect
*arg1
= (wxRect
*) 0 ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6802 char * kwnames
[] = {
6803 (char *) "self",(char *) "right", NULL
6806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6808 if (!SWIG_IsOK(res1
)) {
6809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
6811 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6813 if (!SWIG_IsOK(ecode2
)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
6816 arg2
= static_cast< int >(val2
);
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 (arg1
)->SetRight(arg2
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_Py_Void();
6830 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
= 0;
6832 wxRect
*arg1
= (wxRect
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6840 char * kwnames
[] = {
6841 (char *) "self",(char *) "top", NULL
6844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6846 if (!SWIG_IsOK(res1
)) {
6847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
6849 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6851 if (!SWIG_IsOK(ecode2
)) {
6852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
6854 arg2
= static_cast< int >(val2
);
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 (arg1
)->SetTop(arg2
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= SWIG_Py_Void();
6868 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
= 0;
6870 wxRect
*arg1
= (wxRect
*) 0 ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6878 char * kwnames
[] = {
6879 (char *) "self",(char *) "bottom", NULL
6882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6884 if (!SWIG_IsOK(res1
)) {
6885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
6887 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6889 if (!SWIG_IsOK(ecode2
)) {
6890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
6892 arg2
= static_cast< int >(val2
);
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 (arg1
)->SetBottom(arg2
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_Py_Void();
6906 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
= 0;
6908 wxRect
*arg1
= (wxRect
*) 0 ;
6911 wxRect
*result
= 0 ;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6920 PyObject
* obj2
= 0 ;
6921 char * kwnames
[] = {
6922 (char *) "self",(char *) "dx",(char *) "dy", NULL
6925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6927 if (!SWIG_IsOK(res1
)) {
6928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
6930 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6932 if (!SWIG_IsOK(ecode2
)) {
6933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
6935 arg2
= static_cast< int >(val2
);
6936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6937 if (!SWIG_IsOK(ecode3
)) {
6938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
6940 arg3
= static_cast< int >(val3
);
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
6945 result
= (wxRect
*) &_result_ref
;
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
6957 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
= 0;
6959 wxRect
*arg1
= (wxRect
*) 0 ;
6962 wxRect
*result
= 0 ;
6969 PyObject
* obj0
= 0 ;
6970 PyObject
* obj1
= 0 ;
6971 PyObject
* obj2
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "dx",(char *) "dy", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6978 if (!SWIG_IsOK(res1
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
6981 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6983 if (!SWIG_IsOK(ecode2
)) {
6984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
6986 arg2
= static_cast< int >(val2
);
6987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6988 if (!SWIG_IsOK(ecode3
)) {
6989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
6991 arg3
= static_cast< int >(val3
);
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
6996 result
= (wxRect
*) &_result_ref
;
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7008 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
= 0;
7010 wxRect
*arg1
= (wxRect
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7020 PyObject
* obj1
= 0 ;
7021 PyObject
* obj2
= 0 ;
7022 char * kwnames
[] = {
7023 (char *) "self",(char *) "dx",(char *) "dy", NULL
7026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7028 if (!SWIG_IsOK(res1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7031 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7033 if (!SWIG_IsOK(ecode2
)) {
7034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7036 arg2
= static_cast< int >(val2
);
7037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7038 if (!SWIG_IsOK(ecode3
)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7041 arg3
= static_cast< int >(val3
);
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 (arg1
)->Offset(arg2
,arg3
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
= 0;
7057 wxRect
*arg1
= (wxRect
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7064 char * kwnames
[] = {
7065 (char *) "self",(char *) "pt", NULL
7068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7070 if (!SWIG_IsOK(res1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7073 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 (arg1
)->Offset((wxPoint
const &)*arg2
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= SWIG_Py_Void();
7091 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
= 0;
7093 wxRect
*arg1
= (wxRect
*) 0 ;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7101 char * kwnames
[] = {
7102 (char *) "self",(char *) "rect", NULL
7105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7107 if (!SWIG_IsOK(res1
)) {
7108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7110 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7113 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7128 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
= 0;
7130 wxRect
*arg1
= (wxRect
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7137 PyObject
* obj1
= 0 ;
7138 char * kwnames
[] = {
7139 (char *) "self",(char *) "rect", NULL
7142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7144 if (!SWIG_IsOK(res1
)) {
7145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7147 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7165 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
= 0;
7167 wxRect
*arg1
= (wxRect
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7175 char * kwnames
[] = {
7176 (char *) "self",(char *) "rect", NULL
7179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7181 if (!SWIG_IsOK(res1
)) {
7182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7184 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7187 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7202 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
= 0;
7204 wxRect
*arg1
= (wxRect
*) 0 ;
7206 wxRect
*result
= 0 ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7212 char * kwnames
[] = {
7213 (char *) "self",(char *) "rect", NULL
7216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7218 if (!SWIG_IsOK(res1
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7221 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7224 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7230 result
= (wxRect
*) &_result_ref
;
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7242 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
= 0;
7244 wxRect
*arg1
= (wxRect
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7252 char * kwnames
[] = {
7253 (char *) "self",(char *) "rect", NULL
7256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7258 if (!SWIG_IsOK(res1
)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect const *""'");
7261 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7264 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7281 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
= 0;
7283 wxRect
*arg1
= (wxRect
*) 0 ;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7291 char * kwnames
[] = {
7292 (char *) "self",(char *) "rect", NULL
7295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7297 if (!SWIG_IsOK(res1
)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect const *""'");
7300 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7303 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7320 SWIGINTERN PyObject
*_wrap_Rect_InsideXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
= 0;
7322 wxRect
*arg1
= (wxRect
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7334 PyObject
* obj2
= 0 ;
7335 char * kwnames
[] = {
7336 (char *) "self",(char *) "x",(char *) "y", NULL
7339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_InsideXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7344 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7346 if (!SWIG_IsOK(ecode2
)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_InsideXY" "', expected argument " "2"" of type '" "int""'");
7349 arg2
= static_cast< int >(val2
);
7350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7351 if (!SWIG_IsOK(ecode3
)) {
7352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_InsideXY" "', expected argument " "3"" of type '" "int""'");
7354 arg3
= static_cast< int >(val3
);
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7370 SWIGINTERN PyObject
*_wrap_Rect_Inside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
= 0;
7372 wxRect
*arg1
= (wxRect
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7379 PyObject
* obj1
= 0 ;
7380 char * kwnames
[] = {
7381 (char *) "self",(char *) "pt", NULL
7384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7386 if (!SWIG_IsOK(res1
)) {
7387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inside" "', expected argument " "1"" of type '" "wxRect const *""'");
7389 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7409 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
= 0;
7411 wxRect
*arg1
= (wxRect
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7419 char * kwnames
[] = {
7420 (char *) "self",(char *) "rect", NULL
7423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7428 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7431 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7448 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7450 wxRect
*arg1
= (wxRect
*) 0 ;
7452 int arg3
= (int) wxBOTH
;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "self",(char *) "r",(char *) "dir", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7471 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7474 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7478 if (!SWIG_IsOK(ecode3
)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7481 arg3
= static_cast< int >(val3
);
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7496 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7497 PyObject
*resultobj
= 0;
7498 wxRect
*arg1
= (wxRect
*) 0 ;
7504 PyObject
*swig_obj
[2] ;
7506 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7508 if (!SWIG_IsOK(res1
)) {
7509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7511 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7512 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7513 if (!SWIG_IsOK(ecode2
)) {
7514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7516 arg2
= static_cast< int >(val2
);
7517 if (arg1
) (arg1
)->x
= arg2
;
7519 resultobj
= SWIG_Py_Void();
7526 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 PyObject
*resultobj
= 0;
7528 wxRect
*arg1
= (wxRect
*) 0 ;
7532 PyObject
*swig_obj
[1] ;
7534 if (!args
) SWIG_fail
;
7536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7537 if (!SWIG_IsOK(res1
)) {
7538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7540 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7541 result
= (int) ((arg1
)->x
);
7542 resultobj
= SWIG_From_int(static_cast< int >(result
));
7549 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7550 PyObject
*resultobj
= 0;
7551 wxRect
*arg1
= (wxRect
*) 0 ;
7557 PyObject
*swig_obj
[2] ;
7559 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7564 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7565 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7566 if (!SWIG_IsOK(ecode2
)) {
7567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7569 arg2
= static_cast< int >(val2
);
7570 if (arg1
) (arg1
)->y
= arg2
;
7572 resultobj
= SWIG_Py_Void();
7579 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7580 PyObject
*resultobj
= 0;
7581 wxRect
*arg1
= (wxRect
*) 0 ;
7585 PyObject
*swig_obj
[1] ;
7587 if (!args
) SWIG_fail
;
7589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7590 if (!SWIG_IsOK(res1
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
7593 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7594 result
= (int) ((arg1
)->y
);
7595 resultobj
= SWIG_From_int(static_cast< int >(result
));
7602 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7603 PyObject
*resultobj
= 0;
7604 wxRect
*arg1
= (wxRect
*) 0 ;
7610 PyObject
*swig_obj
[2] ;
7612 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
7617 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7618 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7619 if (!SWIG_IsOK(ecode2
)) {
7620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
7622 arg2
= static_cast< int >(val2
);
7623 if (arg1
) (arg1
)->width
= arg2
;
7625 resultobj
= SWIG_Py_Void();
7632 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7633 PyObject
*resultobj
= 0;
7634 wxRect
*arg1
= (wxRect
*) 0 ;
7638 PyObject
*swig_obj
[1] ;
7640 if (!args
) SWIG_fail
;
7642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7643 if (!SWIG_IsOK(res1
)) {
7644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
7646 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7647 result
= (int) ((arg1
)->width
);
7648 resultobj
= SWIG_From_int(static_cast< int >(result
));
7655 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7656 PyObject
*resultobj
= 0;
7657 wxRect
*arg1
= (wxRect
*) 0 ;
7663 PyObject
*swig_obj
[2] ;
7665 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
7666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7667 if (!SWIG_IsOK(res1
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
7670 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7671 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7672 if (!SWIG_IsOK(ecode2
)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
7675 arg2
= static_cast< int >(val2
);
7676 if (arg1
) (arg1
)->height
= arg2
;
7678 resultobj
= SWIG_Py_Void();
7685 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7686 PyObject
*resultobj
= 0;
7687 wxRect
*arg1
= (wxRect
*) 0 ;
7691 PyObject
*swig_obj
[1] ;
7693 if (!args
) SWIG_fail
;
7695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7696 if (!SWIG_IsOK(res1
)) {
7697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
7699 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7700 result
= (int) ((arg1
)->height
);
7701 resultobj
= SWIG_From_int(static_cast< int >(result
));
7708 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
= 0;
7710 wxRect
*arg1
= (wxRect
*) 0 ;
7711 int arg2
= (int) 0 ;
7712 int arg3
= (int) 0 ;
7713 int arg4
= (int) 0 ;
7714 int arg5
= (int) 0 ;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7727 PyObject
* obj2
= 0 ;
7728 PyObject
* obj3
= 0 ;
7729 PyObject
* obj4
= 0 ;
7730 char * kwnames
[] = {
7731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7736 if (!SWIG_IsOK(res1
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
7739 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7742 if (!SWIG_IsOK(ecode2
)) {
7743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
7745 arg2
= static_cast< int >(val2
);
7748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7749 if (!SWIG_IsOK(ecode3
)) {
7750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
7752 arg3
= static_cast< int >(val3
);
7755 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7756 if (!SWIG_IsOK(ecode4
)) {
7757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
7759 arg4
= static_cast< int >(val4
);
7762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7763 if (!SWIG_IsOK(ecode5
)) {
7764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
7766 arg5
= static_cast< int >(val5
);
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_Py_Void();
7781 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7782 PyObject
*resultobj
= 0;
7783 wxRect
*arg1
= (wxRect
*) 0 ;
7784 PyObject
*result
= 0 ;
7787 PyObject
*swig_obj
[1] ;
7789 if (!args
) SWIG_fail
;
7791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7792 if (!SWIG_IsOK(res1
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
7795 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (PyObject
*)wxRect_Get(arg1
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7809 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7812 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
7813 return SWIG_Py_Void();
7816 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7817 return SWIG_Python_InitShadowInstance(args
);
7820 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
= 0;
7822 wxRect
*arg1
= (wxRect
*) 0 ;
7823 wxRect
*arg2
= (wxRect
*) 0 ;
7824 PyObject
*result
= 0 ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "r1",(char *) "r2", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
7840 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
7842 if (!SWIG_IsOK(res2
)) {
7843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
7845 arg2
= reinterpret_cast< wxRect
* >(argp2
);
7847 if (!wxPyCheckForApp()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7860 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
= 0;
7862 double arg1
= (double) 0.0 ;
7863 double arg2
= (double) 0.0 ;
7864 wxPoint2D
*result
= 0 ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 char * kwnames
[] = {
7872 (char *) "x",(char *) "y", NULL
7875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7877 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
7878 if (!SWIG_IsOK(ecode1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
7881 arg1
= static_cast< double >(val1
);
7884 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
7885 if (!SWIG_IsOK(ecode2
)) {
7886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
7888 arg2
= static_cast< double >(val2
);
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
7903 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
= 0;
7905 wxPoint2D
*arg1
= 0 ;
7906 wxPoint2D
*result
= 0 ;
7908 PyObject
* obj0
= 0 ;
7909 char * kwnames
[] = {
7913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
7916 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
7931 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
= 0;
7934 wxPoint2D
*result
= 0 ;
7936 PyObject
* obj0
= 0 ;
7937 char * kwnames
[] = {
7941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
7944 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
7959 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7960 PyObject
*resultobj
= 0;
7961 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7962 int *arg2
= (int *) 0 ;
7963 int *arg3
= (int *) 0 ;
7967 int res2
= SWIG_TMPOBJ
;
7969 int res3
= SWIG_TMPOBJ
;
7970 PyObject
*swig_obj
[1] ;
7974 if (!args
) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
7980 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_Py_Void();
7988 if (SWIG_IsTmpObj(res2
)) {
7989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
7991 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
7994 if (SWIG_IsTmpObj(res3
)) {
7995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
7997 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8006 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 PyObject
*resultobj
= 0;
8008 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8009 int *arg2
= (int *) 0 ;
8010 int *arg3
= (int *) 0 ;
8014 int res2
= SWIG_TMPOBJ
;
8016 int res3
= SWIG_TMPOBJ
;
8017 PyObject
*swig_obj
[1] ;
8021 if (!args
) SWIG_fail
;
8023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8024 if (!SWIG_IsOK(res1
)) {
8025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8027 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= SWIG_Py_Void();
8035 if (SWIG_IsTmpObj(res2
)) {
8036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8038 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8041 if (SWIG_IsTmpObj(res3
)) {
8042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8044 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8053 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8054 PyObject
*resultobj
= 0;
8055 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8059 PyObject
*swig_obj
[1] ;
8061 if (!args
) SWIG_fail
;
8063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8064 if (!SWIG_IsOK(res1
)) {
8065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8067 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_From_double(static_cast< double >(result
));
8081 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8082 PyObject
*resultobj
= 0;
8083 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8087 PyObject
*swig_obj
[1] ;
8089 if (!args
) SWIG_fail
;
8091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8092 if (!SWIG_IsOK(res1
)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8095 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= SWIG_From_double(static_cast< double >(result
));
8109 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
= 0;
8111 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8117 PyObject
* obj0
= 0 ;
8118 PyObject
* obj1
= 0 ;
8119 char * kwnames
[] = {
8120 (char *) "self",(char *) "length", NULL
8123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8125 if (!SWIG_IsOK(res1
)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8128 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8129 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8130 if (!SWIG_IsOK(ecode2
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8133 arg2
= static_cast< double >(val2
);
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 (arg1
)->SetVectorLength(arg2
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_Py_Void();
8147 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
= 0;
8149 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8157 char * kwnames
[] = {
8158 (char *) "self",(char *) "degrees", NULL
8161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8163 if (!SWIG_IsOK(res1
)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8166 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8167 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8168 if (!SWIG_IsOK(ecode2
)) {
8169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8171 arg2
= static_cast< double >(val2
);
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 (arg1
)->SetVectorAngle(arg2
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= SWIG_Py_Void();
8185 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
= 0;
8187 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8188 wxPoint2D
*arg2
= 0 ;
8193 PyObject
* obj0
= 0 ;
8194 PyObject
* obj1
= 0 ;
8195 char * kwnames
[] = {
8196 (char *) "self",(char *) "pt", NULL
8199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8201 if (!SWIG_IsOK(res1
)) {
8202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8204 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8207 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_From_double(static_cast< double >(result
));
8222 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= 0;
8224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8225 wxPoint2D
*arg2
= 0 ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8232 char * kwnames
[] = {
8233 (char *) "self",(char *) "pt", NULL
8236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8238 if (!SWIG_IsOK(res1
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8241 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8244 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8252 resultobj
= SWIG_From_double(static_cast< double >(result
));
8259 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
*resultobj
= 0;
8261 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8262 wxPoint2D
*arg2
= 0 ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8269 char * kwnames
[] = {
8270 (char *) "self",(char *) "vec", NULL
8273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8278 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8281 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_From_double(static_cast< double >(result
));
8296 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8299 wxPoint2D
*arg2
= 0 ;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8306 char * kwnames
[] = {
8307 (char *) "self",(char *) "vec", NULL
8310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8312 if (!SWIG_IsOK(res1
)) {
8313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8315 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8318 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_From_double(static_cast< double >(result
));
8333 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8334 PyObject
*resultobj
= 0;
8335 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8339 PyObject
*swig_obj
[1] ;
8341 if (!args
) SWIG_fail
;
8343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8344 if (!SWIG_IsOK(res1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8347 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (arg1
)->operator -();
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8361 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
= 0;
8363 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8364 wxPoint2D
*arg2
= 0 ;
8365 wxPoint2D
*result
= 0 ;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8371 char * kwnames
[] = {
8372 (char *) "self",(char *) "pt", NULL
8375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8377 if (!SWIG_IsOK(res1
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8380 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8383 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8389 result
= (wxPoint2D
*) &_result_ref
;
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8401 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
= 0;
8403 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8404 wxPoint2D
*arg2
= 0 ;
8405 wxPoint2D
*result
= 0 ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8411 char * kwnames
[] = {
8412 (char *) "self",(char *) "pt", NULL
8415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8420 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8423 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8429 result
= (wxPoint2D
*) &_result_ref
;
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8441 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
= 0;
8443 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8444 wxPoint2D
*arg2
= 0 ;
8445 wxPoint2D
*result
= 0 ;
8449 PyObject
* obj0
= 0 ;
8450 PyObject
* obj1
= 0 ;
8451 char * kwnames
[] = {
8452 (char *) "self",(char *) "pt", NULL
8455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8457 if (!SWIG_IsOK(res1
)) {
8458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8460 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8463 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8469 result
= (wxPoint2D
*) &_result_ref
;
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8481 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
= 0;
8483 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8484 wxPoint2D
*arg2
= 0 ;
8485 wxPoint2D
*result
= 0 ;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8491 char * kwnames
[] = {
8492 (char *) "self",(char *) "pt", NULL
8495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8497 if (!SWIG_IsOK(res1
)) {
8498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8500 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8503 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8509 result
= (wxPoint2D
*) &_result_ref
;
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8521 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8524 wxPoint2D
*arg2
= 0 ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 char * kwnames
[] = {
8532 (char *) "self",(char *) "pt", NULL
8535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8540 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8543 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8560 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
= 0;
8562 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8563 wxPoint2D
*arg2
= 0 ;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8570 char * kwnames
[] = {
8571 (char *) "self",(char *) "pt", NULL
8574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8579 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8582 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8599 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8600 PyObject
*resultobj
= 0;
8601 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8607 PyObject
*swig_obj
[2] ;
8609 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8614 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8615 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8616 if (!SWIG_IsOK(ecode2
)) {
8617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
8619 arg2
= static_cast< double >(val2
);
8620 if (arg1
) (arg1
)->m_x
= arg2
;
8622 resultobj
= SWIG_Py_Void();
8629 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 PyObject
*resultobj
= 0;
8631 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8635 PyObject
*swig_obj
[1] ;
8637 if (!args
) SWIG_fail
;
8639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8640 if (!SWIG_IsOK(res1
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8643 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8644 result
= (double) ((arg1
)->m_x
);
8645 resultobj
= SWIG_From_double(static_cast< double >(result
));
8652 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8653 PyObject
*resultobj
= 0;
8654 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8660 PyObject
*swig_obj
[2] ;
8662 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8667 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8668 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8669 if (!SWIG_IsOK(ecode2
)) {
8670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
8672 arg2
= static_cast< double >(val2
);
8673 if (arg1
) (arg1
)->m_y
= arg2
;
8675 resultobj
= SWIG_Py_Void();
8682 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8683 PyObject
*resultobj
= 0;
8684 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8688 PyObject
*swig_obj
[1] ;
8690 if (!args
) SWIG_fail
;
8692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8693 if (!SWIG_IsOK(res1
)) {
8694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8696 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8697 result
= (double) ((arg1
)->m_y
);
8698 resultobj
= SWIG_From_double(static_cast< double >(result
));
8705 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
= 0;
8707 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8708 double arg2
= (double) 0 ;
8709 double arg3
= (double) 0 ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 PyObject
* obj2
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "self",(char *) "x",(char *) "y", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8728 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8730 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8731 if (!SWIG_IsOK(ecode2
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
8734 arg2
= static_cast< double >(val2
);
8737 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
8738 if (!SWIG_IsOK(ecode3
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
8741 arg3
= static_cast< double >(val3
);
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 wxPoint2D_Set(arg1
,arg2
,arg3
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_Py_Void();
8756 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8757 PyObject
*resultobj
= 0;
8758 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8759 PyObject
*result
= 0 ;
8762 PyObject
*swig_obj
[1] ;
8764 if (!args
) SWIG_fail
;
8766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8767 if (!SWIG_IsOK(res1
)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8770 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (PyObject
*)wxPoint2D_Get(arg1
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8784 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8787 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
8788 return SWIG_Py_Void();
8791 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8792 return SWIG_Python_InitShadowInstance(args
);
8795 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
8796 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
8801 SWIGINTERN PyObject
*DefaultPosition_get(void) {
8802 PyObject
*pyobj
= 0;
8804 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
8809 SWIGINTERN
int DefaultSize_set(PyObject
*) {
8810 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
8815 SWIGINTERN PyObject
*DefaultSize_get(void) {
8816 PyObject
*pyobj
= 0;
8818 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
8823 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
= 0;
8825 PyObject
*arg1
= (PyObject
*) 0 ;
8826 wxPyInputStream
*result
= 0 ;
8827 PyObject
* obj0
= 0 ;
8828 char * kwnames
[] = {
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
8847 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8848 PyObject
*resultobj
= 0;
8849 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8852 PyObject
*swig_obj
[1] ;
8854 if (!args
) SWIG_fail
;
8856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
8857 if (!SWIG_IsOK(res1
)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8860 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= SWIG_Py_Void();
8875 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8876 PyObject
*resultobj
= 0;
8877 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8880 PyObject
*swig_obj
[1] ;
8882 if (!args
) SWIG_fail
;
8884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8885 if (!SWIG_IsOK(res1
)) {
8886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8888 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_Py_Void();
8902 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8903 PyObject
*resultobj
= 0;
8904 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8907 PyObject
*swig_obj
[1] ;
8909 if (!args
) SWIG_fail
;
8911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8912 if (!SWIG_IsOK(res1
)) {
8913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8915 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= SWIG_Py_Void();
8929 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8930 PyObject
*resultobj
= 0;
8931 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8935 PyObject
*swig_obj
[1] ;
8937 if (!args
) SWIG_fail
;
8939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8940 if (!SWIG_IsOK(res1
)) {
8941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8943 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (bool)(arg1
)->eof();
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8959 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
= 0;
8961 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8962 int arg2
= (int) -1 ;
8963 PyObject
*result
= 0 ;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8970 char * kwnames
[] = {
8971 (char *) "self",(char *) "size", NULL
8974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8976 if (!SWIG_IsOK(res1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8979 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8982 if (!SWIG_IsOK(ecode2
)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
8985 arg2
= static_cast< int >(val2
);
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (PyObject
*)(arg1
)->read(arg2
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
9000 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= 0;
9002 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9003 int arg2
= (int) -1 ;
9004 PyObject
*result
= 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9011 char * kwnames
[] = {
9012 (char *) "self",(char *) "size", NULL
9015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9017 if (!SWIG_IsOK(res1
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9020 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9023 if (!SWIG_IsOK(ecode2
)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
9026 arg2
= static_cast< int >(val2
);
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (PyObject
*)(arg1
)->readline(arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9041 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= 0;
9043 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9044 int arg2
= (int) -1 ;
9045 PyObject
*result
= 0 ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9052 char * kwnames
[] = {
9053 (char *) "self",(char *) "sizehint", NULL
9056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9058 if (!SWIG_IsOK(res1
)) {
9059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9061 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9064 if (!SWIG_IsOK(ecode2
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
9067 arg2
= static_cast< int >(val2
);
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 result
= (PyObject
*)(arg1
)->readlines(arg2
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9082 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
= 0;
9084 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9086 int arg3
= (int) 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9096 char * kwnames
[] = {
9097 (char *) "self",(char *) "offset",(char *) "whence", NULL
9100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9102 if (!SWIG_IsOK(res1
)) {
9103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9105 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9107 if (!SWIG_IsOK(ecode2
)) {
9108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
9110 arg2
= static_cast< int >(val2
);
9112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9113 if (!SWIG_IsOK(ecode3
)) {
9114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
9116 arg3
= static_cast< int >(val3
);
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 (arg1
)->seek(arg2
,arg3
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 resultobj
= SWIG_Py_Void();
9131 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9132 PyObject
*resultobj
= 0;
9133 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9137 PyObject
*swig_obj
[1] ;
9139 if (!args
) SWIG_fail
;
9141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9142 if (!SWIG_IsOK(res1
)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9145 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (int)(arg1
)->tell();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_From_int(static_cast< int >(result
));
9159 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9160 PyObject
*resultobj
= 0;
9161 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9165 PyObject
*swig_obj
[1] ;
9167 if (!args
) SWIG_fail
;
9169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9170 if (!SWIG_IsOK(res1
)) {
9171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9173 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (char)(arg1
)->Peek();
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_From_char(static_cast< char >(result
));
9187 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 PyObject
*resultobj
= 0;
9189 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9193 PyObject
*swig_obj
[1] ;
9195 if (!args
) SWIG_fail
;
9197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9198 if (!SWIG_IsOK(res1
)) {
9199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9201 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (char)(arg1
)->GetC();
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_From_char(static_cast< char >(result
));
9215 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9216 PyObject
*resultobj
= 0;
9217 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9221 PyObject
*swig_obj
[1] ;
9223 if (!args
) SWIG_fail
;
9225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9226 if (!SWIG_IsOK(res1
)) {
9227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9229 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (size_t)(arg1
)->LastRead();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9243 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9244 PyObject
*resultobj
= 0;
9245 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9249 PyObject
*swig_obj
[1] ;
9251 if (!args
) SWIG_fail
;
9253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9254 if (!SWIG_IsOK(res1
)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9257 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (bool)(arg1
)->CanRead();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9273 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9274 PyObject
*resultobj
= 0;
9275 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9279 PyObject
*swig_obj
[1] ;
9281 if (!args
) SWIG_fail
;
9283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9284 if (!SWIG_IsOK(res1
)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9287 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (bool)(arg1
)->Eof();
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9303 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
= 0;
9305 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9314 char * kwnames
[] = {
9315 (char *) "self",(char *) "c", NULL
9318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9320 if (!SWIG_IsOK(res1
)) {
9321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9323 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9324 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9325 if (!SWIG_IsOK(ecode2
)) {
9326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
9328 arg2
= static_cast< char >(val2
);
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (bool)(arg1
)->Ungetch(arg2
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9344 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
= 0;
9346 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9348 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9358 PyObject
* obj2
= 0 ;
9359 char * kwnames
[] = {
9360 (char *) "self",(char *) "pos",(char *) "mode", NULL
9363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9365 if (!SWIG_IsOK(res1
)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9368 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9369 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9370 if (!SWIG_IsOK(ecode2
)) {
9371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
9373 arg2
= static_cast< long >(val2
);
9375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9376 if (!SWIG_IsOK(ecode3
)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
9379 arg3
= static_cast< wxSeekMode
>(val3
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_From_long(static_cast< long >(result
));
9394 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9395 PyObject
*resultobj
= 0;
9396 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9400 PyObject
*swig_obj
[1] ;
9402 if (!args
) SWIG_fail
;
9404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9405 if (!SWIG_IsOK(res1
)) {
9406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9408 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (long)(arg1
)->TellI();
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_From_long(static_cast< long >(result
));
9422 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9425 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
9426 return SWIG_Py_Void();
9429 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9430 return SWIG_Python_InitShadowInstance(args
);
9433 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
= 0;
9435 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9436 PyObject
*arg2
= (PyObject
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 char * kwnames
[] = {
9442 (char *) "self",(char *) "obj", NULL
9445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9447 if (!SWIG_IsOK(res1
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
9450 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 wxOutputStream_write(arg1
,arg2
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= SWIG_Py_Void();
9465 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9466 PyObject
*resultobj
= 0;
9467 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9471 PyObject
*swig_obj
[1] ;
9473 if (!args
) SWIG_fail
;
9475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9476 if (!SWIG_IsOK(res1
)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
9479 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9493 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9496 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
9497 return SWIG_Py_Void();
9500 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
= 0;
9502 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
9503 wxString
*arg2
= 0 ;
9504 wxString
*arg3
= 0 ;
9505 wxString
*arg4
= 0 ;
9507 wxFSFile
*result
= 0 ;
9508 wxPyInputStream
*temp1
;
9509 bool temp2
= false ;
9510 bool temp3
= false ;
9511 bool temp4
= false ;
9514 PyObject
* obj0
= 0 ;
9515 PyObject
* obj1
= 0 ;
9516 PyObject
* obj2
= 0 ;
9517 PyObject
* obj3
= 0 ;
9518 PyObject
* obj4
= 0 ;
9519 char * kwnames
[] = {
9520 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
9523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9525 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9526 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
9528 PyErr_Clear(); // clear the failure of the wxPyConvert above
9529 arg1
= wxPyCBInputStream_create(obj0
, true);
9531 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
9537 arg2
= wxString_in_helper(obj1
);
9538 if (arg2
== NULL
) SWIG_fail
;
9542 arg3
= wxString_in_helper(obj2
);
9543 if (arg3
== NULL
) SWIG_fail
;
9547 arg4
= wxString_in_helper(obj3
);
9548 if (arg4
== NULL
) SWIG_fail
;
9552 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
9553 if (!SWIG_IsOK(res5
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9559 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
9561 if (SWIG_IsNewObj(res5
)) delete temp
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
9603 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9604 PyObject
*resultobj
= 0;
9605 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9608 PyObject
*swig_obj
[1] ;
9610 if (!args
) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
9616 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= SWIG_Py_Void();
9631 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9632 PyObject
*resultobj
= 0;
9633 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9634 wxInputStream
*result
= 0 ;
9637 PyObject
*swig_obj
[1] ;
9639 if (!args
) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
9645 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (wxInputStream
*)(arg1
)->GetStream();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9653 wxPyInputStream
* _ptr
= NULL
;
9656 _ptr
= new wxPyInputStream(result
);
9658 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9666 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9667 PyObject
*resultobj
= 0;
9668 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9669 wxString
*result
= 0 ;
9672 PyObject
*swig_obj
[1] ;
9674 if (!args
) SWIG_fail
;
9676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9677 if (!SWIG_IsOK(res1
)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
9680 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxString
const &_result_ref
= (arg1
)->GetMimeType();
9685 result
= (wxString
*) &_result_ref
;
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9694 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9703 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9704 PyObject
*resultobj
= 0;
9705 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9706 wxString
*result
= 0 ;
9709 PyObject
*swig_obj
[1] ;
9711 if (!args
) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
9717 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 wxString
const &_result_ref
= (arg1
)->GetLocation();
9722 result
= (wxString
*) &_result_ref
;
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9731 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9740 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9741 PyObject
*resultobj
= 0;
9742 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9743 wxString
*result
= 0 ;
9746 PyObject
*swig_obj
[1] ;
9748 if (!args
) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
9754 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 wxString
const &_result_ref
= (arg1
)->GetAnchor();
9759 result
= (wxString
*) &_result_ref
;
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9768 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9777 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9778 PyObject
*resultobj
= 0;
9779 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9783 PyObject
*swig_obj
[1] ;
9785 if (!args
) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
9791 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (arg1
)->GetModificationTime();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
9805 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9808 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
9809 return SWIG_Py_Void();
9812 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9813 return SWIG_Python_InitShadowInstance(args
);
9816 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9817 PyObject
*resultobj
= 0;
9818 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9821 PyObject
*swig_obj
[1] ;
9823 if (!args
) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
9829 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_Py_Void();
9844 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9847 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
9848 return SWIG_Py_Void();
9851 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9852 PyObject
*resultobj
= 0;
9853 wxPyFileSystemHandler
*result
= 0 ;
9855 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
9869 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
= 0;
9871 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9872 PyObject
*arg2
= (PyObject
*) 0 ;
9873 PyObject
*arg3
= (PyObject
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 PyObject
* obj2
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "self",(char *) "self",(char *) "_class", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9888 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_Py_Void();
9904 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
= 0;
9906 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9907 wxString
*arg2
= 0 ;
9911 bool temp2
= false ;
9912 PyObject
* obj0
= 0 ;
9913 PyObject
* obj1
= 0 ;
9914 char * kwnames
[] = {
9915 (char *) "self",(char *) "location", NULL
9918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9920 if (!SWIG_IsOK(res1
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9923 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9925 arg2
= wxString_in_helper(obj1
);
9926 if (arg2
== NULL
) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9952 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= 0;
9954 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9955 wxFileSystem
*arg2
= 0 ;
9956 wxString
*arg3
= 0 ;
9957 wxFSFile
*result
= 0 ;
9962 bool temp3
= false ;
9963 PyObject
* obj0
= 0 ;
9964 PyObject
* obj1
= 0 ;
9965 PyObject
* obj2
= 0 ;
9966 char * kwnames
[] = {
9967 (char *) "self",(char *) "fs",(char *) "location", NULL
9970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9972 if (!SWIG_IsOK(res1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9975 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
9977 if (!SWIG_IsOK(res2
)) {
9978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
9981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
9983 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
9985 arg3
= wxString_in_helper(obj2
);
9986 if (arg3
== NULL
) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10012 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
= 0;
10014 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10015 wxString
*arg2
= 0 ;
10016 int arg3
= (int) 0 ;
10020 bool temp2
= false ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 PyObject
* obj2
= 0 ;
10026 char * kwnames
[] = {
10027 (char *) "self",(char *) "spec",(char *) "flags", NULL
10030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10032 if (!SWIG_IsOK(res1
)) {
10033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10035 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10037 arg2
= wxString_in_helper(obj1
);
10038 if (arg2
== NULL
) SWIG_fail
;
10042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10043 if (!SWIG_IsOK(ecode3
)) {
10044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
10046 arg3
= static_cast< int >(val3
);
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10075 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10076 PyObject
*resultobj
= 0;
10077 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10081 PyObject
*swig_obj
[1] ;
10083 if (!args
) SWIG_fail
;
10084 swig_obj
[0] = args
;
10085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10086 if (!SWIG_IsOK(res1
)) {
10087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10089 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (arg1
)->FindNext();
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10109 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
= 0;
10111 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10112 wxString
*arg2
= 0 ;
10116 bool temp2
= false ;
10117 PyObject
* obj0
= 0 ;
10118 PyObject
* obj1
= 0 ;
10119 char * kwnames
[] = {
10120 (char *) "self",(char *) "location", NULL
10123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10128 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10130 arg2
= wxString_in_helper(obj1
);
10131 if (arg2
== NULL
) SWIG_fail
;
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10161 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
= 0;
10163 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10164 wxString
*arg2
= 0 ;
10168 bool temp2
= false ;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 char * kwnames
[] = {
10172 (char *) "self",(char *) "location", NULL
10175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10177 if (!SWIG_IsOK(res1
)) {
10178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10180 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10182 arg2
= wxString_in_helper(obj1
);
10183 if (arg2
== NULL
) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10213 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= 0;
10215 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10216 wxString
*arg2
= 0 ;
10220 bool temp2
= false ;
10221 PyObject
* obj0
= 0 ;
10222 PyObject
* obj1
= 0 ;
10223 char * kwnames
[] = {
10224 (char *) "self",(char *) "location", NULL
10227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10232 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10234 arg2
= wxString_in_helper(obj1
);
10235 if (arg2
== NULL
) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10265 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
= 0;
10267 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10268 wxString
*arg2
= 0 ;
10272 bool temp2
= false ;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 char * kwnames
[] = {
10276 (char *) "self",(char *) "location", NULL
10279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10284 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10286 arg2
= wxString_in_helper(obj1
);
10287 if (arg2
== NULL
) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10317 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= 0;
10319 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10320 wxString
*arg2
= 0 ;
10324 bool temp2
= false ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 char * kwnames
[] = {
10328 (char *) "self",(char *) "location", NULL
10331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10333 if (!SWIG_IsOK(res1
)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10336 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10338 arg2
= wxString_in_helper(obj1
);
10339 if (arg2
== NULL
) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10369 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10372 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
10373 return SWIG_Py_Void();
10376 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10377 return SWIG_Python_InitShadowInstance(args
);
10380 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10381 PyObject
*resultobj
= 0;
10382 wxFileSystem
*result
= 0 ;
10384 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (wxFileSystem
*)new wxFileSystem();
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
10400 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10401 PyObject
*resultobj
= 0;
10402 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10405 PyObject
*swig_obj
[1] ;
10407 if (!args
) SWIG_fail
;
10408 swig_obj
[0] = args
;
10409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10413 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= SWIG_Py_Void();
10428 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10431 wxString
*arg2
= 0 ;
10432 bool arg3
= (bool) false ;
10435 bool temp2
= false ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 char * kwnames
[] = {
10442 (char *) "self",(char *) "location",(char *) "is_dir", NULL
10445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10447 if (!SWIG_IsOK(res1
)) {
10448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10450 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10452 arg2
= wxString_in_helper(obj1
);
10453 if (arg2
== NULL
) SWIG_fail
;
10457 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10458 if (!SWIG_IsOK(ecode3
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
10461 arg3
= static_cast< bool >(val3
);
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_Py_Void();
10484 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 PyObject
*resultobj
= 0;
10486 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10490 PyObject
*swig_obj
[1] ;
10492 if (!args
) SWIG_fail
;
10493 swig_obj
[0] = args
;
10494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10498 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (arg1
)->GetPath();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10518 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
= 0;
10520 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10521 wxString
*arg2
= 0 ;
10522 wxFSFile
*result
= 0 ;
10525 bool temp2
= false ;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 char * kwnames
[] = {
10529 (char *) "self",(char *) "location", NULL
10532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10534 if (!SWIG_IsOK(res1
)) {
10535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10537 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10539 arg2
= wxString_in_helper(obj1
);
10540 if (arg2
== NULL
) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10566 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
= 0;
10568 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10569 wxString
*arg2
= 0 ;
10570 int arg3
= (int) 0 ;
10574 bool temp2
= false ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 PyObject
* obj2
= 0 ;
10580 char * kwnames
[] = {
10581 (char *) "self",(char *) "spec",(char *) "flags", NULL
10584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10589 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10591 arg2
= wxString_in_helper(obj1
);
10592 if (arg2
== NULL
) SWIG_fail
;
10596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10597 if (!SWIG_IsOK(ecode3
)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
10600 arg3
= static_cast< int >(val3
);
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10629 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10630 PyObject
*resultobj
= 0;
10631 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10635 PyObject
*swig_obj
[1] ;
10637 if (!args
) SWIG_fail
;
10638 swig_obj
[0] = args
;
10639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10640 if (!SWIG_IsOK(res1
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10643 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (arg1
)->FindNext();
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10663 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
= 0;
10665 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 char * kwnames
[] = {
10669 (char *) "handler", NULL
10672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
10673 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
10674 if (!SWIG_IsOK(res1
)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 wxFileSystem::AddHandler(arg1
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_Py_Void();
10690 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10691 PyObject
*resultobj
= 0;
10693 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 wxFileSystem::CleanUpHandlers();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_Py_Void();
10707 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
= 0;
10709 wxString
*arg1
= 0 ;
10711 bool temp1
= false ;
10712 PyObject
* obj0
= 0 ;
10713 char * kwnames
[] = {
10714 (char *) "filename", NULL
10717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
10719 arg1
= wxString_in_helper(obj0
);
10720 if (arg1
== NULL
) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10750 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= 0;
10752 wxString
*arg1
= 0 ;
10754 bool temp1
= false ;
10755 PyObject
* obj0
= 0 ;
10756 char * kwnames
[] = {
10757 (char *) "url", NULL
10760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
10762 arg1
= wxString_in_helper(obj0
);
10763 if (arg1
== NULL
) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10793 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10796 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
10797 return SWIG_Py_Void();
10800 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10801 return SWIG_Python_InitShadowInstance(args
);
10804 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10805 PyObject
*resultobj
= 0;
10806 wxInternetFSHandler
*result
= 0 ;
10808 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
10822 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
= 0;
10824 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10825 wxString
*arg2
= 0 ;
10829 bool temp2
= false ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "self",(char *) "location", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10838 if (!SWIG_IsOK(res1
)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10841 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10843 arg2
= wxString_in_helper(obj1
);
10844 if (arg2
== NULL
) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10870 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
= 0;
10872 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10873 wxFileSystem
*arg2
= 0 ;
10874 wxString
*arg3
= 0 ;
10875 wxFSFile
*result
= 0 ;
10880 bool temp3
= false ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10884 char * kwnames
[] = {
10885 (char *) "self",(char *) "fs",(char *) "location", NULL
10888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10890 if (!SWIG_IsOK(res1
)) {
10891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10893 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10895 if (!SWIG_IsOK(res2
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10901 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10903 arg3
= wxString_in_helper(obj2
);
10904 if (arg3
== NULL
) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10930 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10933 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
10934 return SWIG_Py_Void();
10937 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10938 return SWIG_Python_InitShadowInstance(args
);
10941 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10942 PyObject
*resultobj
= 0;
10943 wxZipFSHandler
*result
= 0 ;
10945 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (wxZipFSHandler
*)new wxZipFSHandler();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
10959 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
= 0;
10961 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
10962 wxString
*arg2
= 0 ;
10966 bool temp2
= false ;
10967 PyObject
* obj0
= 0 ;
10968 PyObject
* obj1
= 0 ;
10969 char * kwnames
[] = {
10970 (char *) "self",(char *) "location", NULL
10973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
10975 if (!SWIG_IsOK(res1
)) {
10976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
10978 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
10980 arg2
= wxString_in_helper(obj1
);
10981 if (arg2
== NULL
) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11007 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
= 0;
11009 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11010 wxFileSystem
*arg2
= 0 ;
11011 wxString
*arg3
= 0 ;
11012 wxFSFile
*result
= 0 ;
11017 bool temp3
= false ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 PyObject
* obj2
= 0 ;
11021 char * kwnames
[] = {
11022 (char *) "self",(char *) "fs",(char *) "location", NULL
11025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11030 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11032 if (!SWIG_IsOK(res2
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11038 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11040 arg3
= wxString_in_helper(obj2
);
11041 if (arg3
== NULL
) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11067 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
= 0;
11069 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11070 wxString
*arg2
= 0 ;
11071 int arg3
= (int) 0 ;
11075 bool temp2
= false ;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 PyObject
* obj2
= 0 ;
11081 char * kwnames
[] = {
11082 (char *) "self",(char *) "spec",(char *) "flags", NULL
11085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11090 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11092 arg2
= wxString_in_helper(obj1
);
11093 if (arg2
== NULL
) SWIG_fail
;
11097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11098 if (!SWIG_IsOK(ecode3
)) {
11099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11101 arg3
= static_cast< int >(val3
);
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11130 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11131 PyObject
*resultobj
= 0;
11132 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11136 PyObject
*swig_obj
[1] ;
11138 if (!args
) SWIG_fail
;
11139 swig_obj
[0] = args
;
11140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11141 if (!SWIG_IsOK(res1
)) {
11142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11144 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (arg1
)->FindNext();
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11164 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11167 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
11168 return SWIG_Py_Void();
11171 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11172 return SWIG_Python_InitShadowInstance(args
);
11175 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
= 0;
11177 wxString
*arg1
= 0 ;
11178 wxImage
*arg2
= 0 ;
11180 bool temp1
= false ;
11185 PyObject
* obj0
= 0 ;
11186 PyObject
* obj1
= 0 ;
11187 PyObject
* obj2
= 0 ;
11188 char * kwnames
[] = {
11189 (char *) "filename",(char *) "image",(char *) "type", NULL
11192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11194 arg1
= wxString_in_helper(obj0
);
11195 if (arg1
== NULL
) SWIG_fail
;
11198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
11199 if (!SWIG_IsOK(res2
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11205 arg2
= reinterpret_cast< wxImage
* >(argp2
);
11206 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11207 if (!SWIG_IsOK(ecode3
)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
11210 arg3
= static_cast< long >(val3
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_Py_Void();
11232 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
= 0;
11234 wxString
*arg1
= 0 ;
11235 wxBitmap
*arg2
= 0 ;
11237 bool temp1
= false ;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 PyObject
* obj2
= 0 ;
11245 char * kwnames
[] = {
11246 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
11249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11251 arg1
= wxString_in_helper(obj0
);
11252 if (arg1
== NULL
) SWIG_fail
;
11255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11256 if (!SWIG_IsOK(res2
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11262 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11263 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11264 if (!SWIG_IsOK(ecode3
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
11267 arg3
= static_cast< long >(val3
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= SWIG_Py_Void();
11289 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
= 0;
11291 wxString
*arg1
= 0 ;
11292 PyObject
*arg2
= (PyObject
*) 0 ;
11293 bool temp1
= false ;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 char * kwnames
[] = {
11297 (char *) "filename",(char *) "data", NULL
11300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11302 arg1
= wxString_in_helper(obj0
);
11303 if (arg1
== NULL
) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= SWIG_Py_Void();
11328 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11329 PyObject
*resultobj
= 0;
11330 wxMemoryFSHandler
*result
= 0 ;
11332 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
11346 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
= 0;
11348 wxString
*arg1
= 0 ;
11349 bool temp1
= false ;
11350 PyObject
* obj0
= 0 ;
11351 char * kwnames
[] = {
11352 (char *) "filename", NULL
11355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
11357 arg1
= wxString_in_helper(obj0
);
11358 if (arg1
== NULL
) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= SWIG_Py_Void();
11382 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
= 0;
11384 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11385 wxString
*arg2
= 0 ;
11389 bool temp2
= false ;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11392 char * kwnames
[] = {
11393 (char *) "self",(char *) "location", NULL
11396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11398 if (!SWIG_IsOK(res1
)) {
11399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11401 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11403 arg2
= wxString_in_helper(obj1
);
11404 if (arg2
== NULL
) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11430 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
= 0;
11432 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11433 wxFileSystem
*arg2
= 0 ;
11434 wxString
*arg3
= 0 ;
11435 wxFSFile
*result
= 0 ;
11440 bool temp3
= false ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 PyObject
* obj2
= 0 ;
11444 char * kwnames
[] = {
11445 (char *) "self",(char *) "fs",(char *) "location", NULL
11448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11450 if (!SWIG_IsOK(res1
)) {
11451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11453 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11455 if (!SWIG_IsOK(res2
)) {
11456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11461 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11463 arg3
= wxString_in_helper(obj2
);
11464 if (arg3
== NULL
) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11490 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= 0;
11492 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11493 wxString
*arg2
= 0 ;
11494 int arg3
= (int) 0 ;
11498 bool temp2
= false ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 char * kwnames
[] = {
11505 (char *) "self",(char *) "spec",(char *) "flags", NULL
11508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11510 if (!SWIG_IsOK(res1
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11513 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11515 arg2
= wxString_in_helper(obj1
);
11516 if (arg2
== NULL
) SWIG_fail
;
11520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11521 if (!SWIG_IsOK(ecode3
)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11524 arg3
= static_cast< int >(val3
);
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11553 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11554 PyObject
*resultobj
= 0;
11555 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11559 PyObject
*swig_obj
[1] ;
11561 if (!args
) SWIG_fail
;
11562 swig_obj
[0] = args
;
11563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11564 if (!SWIG_IsOK(res1
)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11567 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (arg1
)->FindNext();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11587 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11590 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
11591 return SWIG_Py_Void();
11594 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11595 return SWIG_Python_InitShadowInstance(args
);
11598 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11599 PyObject
*resultobj
= 0;
11600 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11604 PyObject
*swig_obj
[1] ;
11606 if (!args
) SWIG_fail
;
11607 swig_obj
[0] = args
;
11608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11609 if (!SWIG_IsOK(res1
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11612 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (arg1
)->GetName();
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11632 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11633 PyObject
*resultobj
= 0;
11634 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11638 PyObject
*swig_obj
[1] ;
11640 if (!args
) SWIG_fail
;
11641 swig_obj
[0] = args
;
11642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11643 if (!SWIG_IsOK(res1
)) {
11644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11646 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 result
= (arg1
)->GetExtension();
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11666 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 PyObject
*resultobj
= 0;
11668 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11672 PyObject
*swig_obj
[1] ;
11674 if (!args
) SWIG_fail
;
11675 swig_obj
[0] = args
;
11676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11680 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (long)(arg1
)->GetType();
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_From_long(static_cast< long >(result
));
11694 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 PyObject
*resultobj
= 0;
11696 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11700 PyObject
*swig_obj
[1] ;
11702 if (!args
) SWIG_fail
;
11703 swig_obj
[0] = args
;
11704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11708 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (arg1
)->GetMimeType();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11728 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
= 0;
11730 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11731 wxString
*arg2
= 0 ;
11735 bool temp2
= false ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 char * kwnames
[] = {
11739 (char *) "self",(char *) "name", NULL
11742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11744 if (!SWIG_IsOK(res1
)) {
11745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11747 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11749 arg2
= wxString_in_helper(obj1
);
11750 if (arg2
== NULL
) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11776 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
= 0;
11778 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11779 wxString
*arg2
= 0 ;
11782 bool temp2
= false ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 char * kwnames
[] = {
11786 (char *) "self",(char *) "name", NULL
11789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11791 if (!SWIG_IsOK(res1
)) {
11792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11794 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11796 arg2
= wxString_in_helper(obj1
);
11797 if (arg2
== NULL
) SWIG_fail
;
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 (arg1
)->SetName((wxString
const &)*arg2
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_Py_Void();
11821 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
= 0;
11823 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11824 wxString
*arg2
= 0 ;
11827 bool temp2
= false ;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char * kwnames
[] = {
11831 (char *) "self",(char *) "extension", NULL
11834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11836 if (!SWIG_IsOK(res1
)) {
11837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11839 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11841 arg2
= wxString_in_helper(obj1
);
11842 if (arg2
== NULL
) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 (arg1
)->SetExtension((wxString
const &)*arg2
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= SWIG_Py_Void();
11866 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
= 0;
11868 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char * kwnames
[] = {
11877 (char *) "self",(char *) "type", NULL
11880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11885 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11887 if (!SWIG_IsOK(ecode2
)) {
11888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
11890 arg2
= static_cast< long >(val2
);
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetType(arg2
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_Py_Void();
11904 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
= 0;
11906 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11907 wxString
*arg2
= 0 ;
11910 bool temp2
= false ;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char * kwnames
[] = {
11914 (char *) "self",(char *) "mimetype", NULL
11917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11919 if (!SWIG_IsOK(res1
)) {
11920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11922 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11924 arg2
= wxString_in_helper(obj1
);
11925 if (arg2
== NULL
) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 (arg1
)->SetMimeType((wxString
const &)*arg2
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_Py_Void();
11949 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11952 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
11953 return SWIG_Py_Void();
11956 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11957 PyObject
*resultobj
= 0;
11958 wxPyImageHandler
*result
= 0 ;
11960 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (wxPyImageHandler
*)new wxPyImageHandler();
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
11974 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
= 0;
11976 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
11977 PyObject
*arg2
= (PyObject
*) 0 ;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 char * kwnames
[] = {
11983 (char *) "self",(char *) "self", NULL
11986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
11988 if (!SWIG_IsOK(res1
)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
11991 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 (arg1
)->_SetSelf(arg2
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_Py_Void();
12006 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12009 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
12010 return SWIG_Py_Void();
12013 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12014 return SWIG_Python_InitShadowInstance(args
);
12017 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12018 PyObject
*resultobj
= 0;
12019 wxImageHistogram
*result
= 0 ;
12021 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (wxImageHistogram
*)new wxImageHistogram();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
12035 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
= 0;
12040 unsigned long result
;
12041 unsigned char val1
;
12043 unsigned char val2
;
12045 unsigned char val3
;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 PyObject
* obj2
= 0 ;
12050 char * kwnames
[] = {
12051 (char *) "r",(char *) "g",(char *) "b", NULL
12054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12055 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12056 if (!SWIG_IsOK(ecode1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
12059 arg1
= static_cast< byte
>(val1
);
12060 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12061 if (!SWIG_IsOK(ecode2
)) {
12062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
12064 arg2
= static_cast< byte
>(val2
);
12065 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12066 if (!SWIG_IsOK(ecode3
)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
12069 arg3
= static_cast< byte
>(val3
);
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12083 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
= 0;
12085 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12086 byte
*arg2
= (byte
*) 0 ;
12087 byte
*arg3
= (byte
*) 0 ;
12088 byte
*arg4
= (byte
*) 0 ;
12089 byte arg5
= (byte
) 1 ;
12090 byte arg6
= (byte
) 0 ;
12091 byte arg7
= (byte
) 0 ;
12096 int res2
= SWIG_TMPOBJ
;
12098 int res3
= SWIG_TMPOBJ
;
12100 int res4
= SWIG_TMPOBJ
;
12101 unsigned char val5
;
12103 unsigned char val6
;
12105 unsigned char val7
;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 PyObject
* obj2
= 0 ;
12110 PyObject
* obj3
= 0 ;
12111 char * kwnames
[] = {
12112 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12120 if (!SWIG_IsOK(res1
)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
12123 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12125 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
12126 if (!SWIG_IsOK(ecode5
)) {
12127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
12129 arg5
= static_cast< byte
>(val5
);
12132 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
12133 if (!SWIG_IsOK(ecode6
)) {
12134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
12136 arg6
= static_cast< byte
>(val6
);
12139 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
12140 if (!SWIG_IsOK(ecode7
)) {
12141 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
12143 arg7
= static_cast< byte
>(val7
);
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12154 if (SWIG_IsTmpObj(res2
)) {
12155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
12157 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
12160 if (SWIG_IsTmpObj(res3
)) {
12161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
12163 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
12166 if (SWIG_IsTmpObj(res4
)) {
12167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
12169 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
12178 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
= 0;
12180 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12181 unsigned long arg2
;
12182 unsigned long result
;
12185 unsigned long val2
;
12187 PyObject
* obj0
= 0 ;
12188 PyObject
* obj1
= 0 ;
12189 char * kwnames
[] = {
12190 (char *) "self",(char *) "key", NULL
12193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12195 if (!SWIG_IsOK(res1
)) {
12196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12198 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12199 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12200 if (!SWIG_IsOK(ecode2
)) {
12201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
12203 arg2
= static_cast< unsigned long >(val2
);
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12217 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
= 0;
12219 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12223 unsigned long result
;
12226 unsigned char val2
;
12228 unsigned char val3
;
12230 unsigned char val4
;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 PyObject
* obj2
= 0 ;
12235 PyObject
* obj3
= 0 ;
12236 char * kwnames
[] = {
12237 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12245 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12246 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12247 if (!SWIG_IsOK(ecode2
)) {
12248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
12250 arg2
= static_cast< byte
>(val2
);
12251 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12252 if (!SWIG_IsOK(ecode3
)) {
12253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
12255 arg3
= static_cast< byte
>(val3
);
12256 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
12257 if (!SWIG_IsOK(ecode4
)) {
12258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
12260 arg4
= static_cast< byte
>(val4
);
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12274 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
= 0;
12276 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12277 wxColour
*arg2
= 0 ;
12278 unsigned long result
;
12282 PyObject
* obj0
= 0 ;
12283 PyObject
* obj1
= 0 ;
12284 char * kwnames
[] = {
12285 (char *) "self",(char *) "colour", NULL
12288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12290 if (!SWIG_IsOK(res1
)) {
12291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12293 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12311 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12314 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
12315 return SWIG_Py_Void();
12318 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12319 return SWIG_Python_InitShadowInstance(args
);
12322 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
= 0;
12324 byte arg1
= (byte
) 0 ;
12325 byte arg2
= (byte
) 0 ;
12326 byte arg3
= (byte
) 0 ;
12327 wxImage_RGBValue
*result
= 0 ;
12328 unsigned char val1
;
12330 unsigned char val2
;
12332 unsigned char val3
;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 PyObject
* obj2
= 0 ;
12337 char * kwnames
[] = {
12338 (char *) "r",(char *) "g",(char *) "b", NULL
12341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12343 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12344 if (!SWIG_IsOK(ecode1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
12347 arg1
= static_cast< byte
>(val1
);
12350 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12351 if (!SWIG_IsOK(ecode2
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
12354 arg2
= static_cast< byte
>(val2
);
12357 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12358 if (!SWIG_IsOK(ecode3
)) {
12359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
12361 arg3
= static_cast< byte
>(val3
);
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
12376 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12377 PyObject
*resultobj
= 0;
12378 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12382 unsigned char val2
;
12384 PyObject
*swig_obj
[2] ;
12386 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
12387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12388 if (!SWIG_IsOK(res1
)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12391 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12392 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12393 if (!SWIG_IsOK(ecode2
)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
12396 arg2
= static_cast< byte
>(val2
);
12397 if (arg1
) (arg1
)->red
= arg2
;
12399 resultobj
= SWIG_Py_Void();
12406 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12407 PyObject
*resultobj
= 0;
12408 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12412 PyObject
*swig_obj
[1] ;
12414 if (!args
) SWIG_fail
;
12415 swig_obj
[0] = args
;
12416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12420 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12421 result
= (byte
) ((arg1
)->red
);
12422 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12429 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12430 PyObject
*resultobj
= 0;
12431 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12435 unsigned char val2
;
12437 PyObject
*swig_obj
[2] ;
12439 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
12440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12441 if (!SWIG_IsOK(res1
)) {
12442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12444 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12445 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12446 if (!SWIG_IsOK(ecode2
)) {
12447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
12449 arg2
= static_cast< byte
>(val2
);
12450 if (arg1
) (arg1
)->green
= arg2
;
12452 resultobj
= SWIG_Py_Void();
12459 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12460 PyObject
*resultobj
= 0;
12461 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12465 PyObject
*swig_obj
[1] ;
12467 if (!args
) SWIG_fail
;
12468 swig_obj
[0] = args
;
12469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12470 if (!SWIG_IsOK(res1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12473 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12474 result
= (byte
) ((arg1
)->green
);
12475 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12482 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12483 PyObject
*resultobj
= 0;
12484 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12488 unsigned char val2
;
12490 PyObject
*swig_obj
[2] ;
12492 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
12493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12494 if (!SWIG_IsOK(res1
)) {
12495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12497 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12498 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12499 if (!SWIG_IsOK(ecode2
)) {
12500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
12502 arg2
= static_cast< byte
>(val2
);
12503 if (arg1
) (arg1
)->blue
= arg2
;
12505 resultobj
= SWIG_Py_Void();
12512 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12513 PyObject
*resultobj
= 0;
12514 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12518 PyObject
*swig_obj
[1] ;
12520 if (!args
) SWIG_fail
;
12521 swig_obj
[0] = args
;
12522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12526 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12527 result
= (byte
) ((arg1
)->blue
);
12528 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12535 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12538 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
12539 return SWIG_Py_Void();
12542 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12543 return SWIG_Python_InitShadowInstance(args
);
12546 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
= 0;
12548 double arg1
= (double) 0.0 ;
12549 double arg2
= (double) 0.0 ;
12550 double arg3
= (double) 0.0 ;
12551 wxImage_HSVValue
*result
= 0 ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 char * kwnames
[] = {
12562 (char *) "h",(char *) "s",(char *) "v", NULL
12565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12567 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
12568 if (!SWIG_IsOK(ecode1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
12571 arg1
= static_cast< double >(val1
);
12574 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
12575 if (!SWIG_IsOK(ecode2
)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
12578 arg2
= static_cast< double >(val2
);
12581 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
12582 if (!SWIG_IsOK(ecode3
)) {
12583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
12585 arg3
= static_cast< double >(val3
);
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
12600 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12601 PyObject
*resultobj
= 0;
12602 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12608 PyObject
*swig_obj
[2] ;
12610 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
12611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12612 if (!SWIG_IsOK(res1
)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12615 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12616 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12617 if (!SWIG_IsOK(ecode2
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
12620 arg2
= static_cast< double >(val2
);
12621 if (arg1
) (arg1
)->hue
= arg2
;
12623 resultobj
= SWIG_Py_Void();
12630 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12631 PyObject
*resultobj
= 0;
12632 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12636 PyObject
*swig_obj
[1] ;
12638 if (!args
) SWIG_fail
;
12639 swig_obj
[0] = args
;
12640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12641 if (!SWIG_IsOK(res1
)) {
12642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12644 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12645 result
= (double) ((arg1
)->hue
);
12646 resultobj
= SWIG_From_double(static_cast< double >(result
));
12653 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12654 PyObject
*resultobj
= 0;
12655 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12661 PyObject
*swig_obj
[2] ;
12663 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
12664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12665 if (!SWIG_IsOK(res1
)) {
12666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12668 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12669 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12670 if (!SWIG_IsOK(ecode2
)) {
12671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
12673 arg2
= static_cast< double >(val2
);
12674 if (arg1
) (arg1
)->saturation
= arg2
;
12676 resultobj
= SWIG_Py_Void();
12683 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12684 PyObject
*resultobj
= 0;
12685 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12689 PyObject
*swig_obj
[1] ;
12691 if (!args
) SWIG_fail
;
12692 swig_obj
[0] = args
;
12693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12697 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12698 result
= (double) ((arg1
)->saturation
);
12699 resultobj
= SWIG_From_double(static_cast< double >(result
));
12706 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12707 PyObject
*resultobj
= 0;
12708 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12714 PyObject
*swig_obj
[2] ;
12716 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
12717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12721 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12722 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12723 if (!SWIG_IsOK(ecode2
)) {
12724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
12726 arg2
= static_cast< double >(val2
);
12727 if (arg1
) (arg1
)->value
= arg2
;
12729 resultobj
= SWIG_Py_Void();
12736 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12737 PyObject
*resultobj
= 0;
12738 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12742 PyObject
*swig_obj
[1] ;
12744 if (!args
) SWIG_fail
;
12745 swig_obj
[0] = args
;
12746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12747 if (!SWIG_IsOK(res1
)) {
12748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12750 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12751 result
= (double) ((arg1
)->value
);
12752 resultobj
= SWIG_From_double(static_cast< double >(result
));
12759 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12762 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
12763 return SWIG_Py_Void();
12766 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12767 return SWIG_Python_InitShadowInstance(args
);
12770 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
= 0;
12772 wxString
*arg1
= 0 ;
12773 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12774 int arg3
= (int) -1 ;
12775 wxImage
*result
= 0 ;
12776 bool temp1
= false ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 PyObject
* obj2
= 0 ;
12784 char * kwnames
[] = {
12785 (char *) "name",(char *) "type",(char *) "index", NULL
12788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12790 arg1
= wxString_in_helper(obj0
);
12791 if (arg1
== NULL
) SWIG_fail
;
12795 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12796 if (!SWIG_IsOK(ecode2
)) {
12797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
12799 arg2
= static_cast< long >(val2
);
12802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12803 if (!SWIG_IsOK(ecode3
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
12806 arg3
= static_cast< int >(val3
);
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
12829 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12830 PyObject
*resultobj
= 0;
12831 wxImage
*arg1
= (wxImage
*) 0 ;
12834 PyObject
*swig_obj
[1] ;
12836 if (!args
) SWIG_fail
;
12837 swig_obj
[0] = args
;
12838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
12839 if (!SWIG_IsOK(res1
)) {
12840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
12842 arg1
= reinterpret_cast< wxImage
* >(argp1
);
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_Py_Void();
12857 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
= 0;
12859 wxString
*arg1
= 0 ;
12860 wxString
*arg2
= 0 ;
12861 int arg3
= (int) -1 ;
12862 wxImage
*result
= 0 ;
12863 bool temp1
= false ;
12864 bool temp2
= false ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 PyObject
* obj2
= 0 ;
12870 char * kwnames
[] = {
12871 (char *) "name",(char *) "mimetype",(char *) "index", NULL
12874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12876 arg1
= wxString_in_helper(obj0
);
12877 if (arg1
== NULL
) SWIG_fail
;
12881 arg2
= wxString_in_helper(obj1
);
12882 if (arg2
== NULL
) SWIG_fail
;
12886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12887 if (!SWIG_IsOK(ecode3
)) {
12888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
12890 arg3
= static_cast< int >(val3
);
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
12921 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
= 0;
12923 wxInputStream
*arg1
= 0 ;
12924 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12925 int arg3
= (int) -1 ;
12926 wxImage
*result
= 0 ;
12927 wxPyInputStream
*temp1
;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 PyObject
* obj2
= 0 ;
12936 char * kwnames
[] = {
12937 (char *) "stream",(char *) "type",(char *) "index", NULL
12940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12942 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12943 arg1
= temp1
->m_wxis
;
12946 PyErr_Clear(); // clear the failure of the wxPyConvert above
12947 arg1
= wxPyCBInputStream_create(obj0
, false);
12948 if (arg1
== NULL
) {
12949 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12956 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12957 if (!SWIG_IsOK(ecode2
)) {
12958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
12960 arg2
= static_cast< long >(val2
);
12963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12964 if (!SWIG_IsOK(ecode3
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
12967 arg3
= static_cast< int >(val3
);
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
12977 if (created1
) delete arg1
;
12982 if (created1
) delete arg1
;
12988 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
= 0;
12990 wxInputStream
*arg1
= 0 ;
12991 wxString
*arg2
= 0 ;
12992 int arg3
= (int) -1 ;
12993 wxImage
*result
= 0 ;
12994 wxPyInputStream
*temp1
;
12996 bool temp2
= false ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13008 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13009 arg1
= temp1
->m_wxis
;
13012 PyErr_Clear(); // clear the failure of the wxPyConvert above
13013 arg1
= wxPyCBInputStream_create(obj0
, false);
13014 if (arg1
== NULL
) {
13015 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13022 arg2
= wxString_in_helper(obj1
);
13023 if (arg2
== NULL
) SWIG_fail
;
13027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13028 if (!SWIG_IsOK(ecode3
)) {
13029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
13031 arg3
= static_cast< int >(val3
);
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13041 if (created1
) delete arg1
;
13050 if (created1
) delete arg1
;
13060 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
= 0;
13062 int arg1
= (int) 0 ;
13063 int arg2
= (int) 0 ;
13064 bool arg3
= (bool) true ;
13065 wxImage
*result
= 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 PyObject
* obj2
= 0 ;
13075 char * kwnames
[] = {
13076 (char *) "width",(char *) "height",(char *) "clear", NULL
13079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13082 if (!SWIG_IsOK(ecode1
)) {
13083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
13085 arg1
= static_cast< int >(val1
);
13088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13089 if (!SWIG_IsOK(ecode2
)) {
13090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
13092 arg2
= static_cast< int >(val2
);
13095 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13096 if (!SWIG_IsOK(ecode3
)) {
13097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
13099 arg3
= static_cast< bool >(val3
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13114 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
= 0;
13116 wxBitmap
*arg1
= 0 ;
13117 wxImage
*result
= 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char * kwnames
[] = {
13122 (char *) "bitmap", NULL
13125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
13126 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13127 if (!SWIG_IsOK(res1
)) {
13128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13133 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
13135 if (!wxPyCheckForApp()) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13148 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
= 0;
13154 wxImage
*result
= 0 ;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 PyObject
* obj2
= 0 ;
13162 char * kwnames
[] = {
13163 (char *) "width",(char *) "height",(char *) "data", NULL
13166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13167 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13168 if (!SWIG_IsOK(ecode1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
13171 arg1
= static_cast< int >(val1
);
13172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13173 if (!SWIG_IsOK(ecode2
)) {
13174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
13176 arg2
= static_cast< int >(val2
);
13178 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13193 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
= 0;
13201 wxImage
*result
= 0 ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 PyObject
* obj2
= 0 ;
13209 PyObject
* obj3
= 0 ;
13210 char * kwnames
[] = {
13211 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
13214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13216 if (!SWIG_IsOK(ecode1
)) {
13217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
13219 arg1
= static_cast< int >(val1
);
13220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13221 if (!SWIG_IsOK(ecode2
)) {
13222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
13224 arg2
= static_cast< int >(val2
);
13226 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13229 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13244 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
= 0;
13246 wxImage
*arg1
= (wxImage
*) 0 ;
13249 bool arg4
= (bool) true ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 PyObject
* obj2
= 0 ;
13261 PyObject
* obj3
= 0 ;
13262 char * kwnames
[] = {
13263 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
13266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
13271 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13273 if (!SWIG_IsOK(ecode2
)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
13276 arg2
= static_cast< int >(val2
);
13277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13278 if (!SWIG_IsOK(ecode3
)) {
13279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
13281 arg3
= static_cast< int >(val3
);
13283 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13284 if (!SWIG_IsOK(ecode4
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
13287 arg4
= static_cast< bool >(val4
);
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->Create(arg2
,arg3
,arg4
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_Py_Void();
13302 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 PyObject
*resultobj
= 0;
13304 wxImage
*arg1
= (wxImage
*) 0 ;
13307 PyObject
*swig_obj
[1] ;
13309 if (!args
) SWIG_fail
;
13310 swig_obj
[0] = args
;
13311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
13315 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_Py_Void();
13329 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
= 0;
13331 wxImage
*arg1
= (wxImage
*) 0 ;
13334 SwigValueWrapper
<wxImage
> result
;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 PyObject
* obj2
= 0 ;
13344 char * kwnames
[] = {
13345 (char *) "self",(char *) "width",(char *) "height", NULL
13348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13350 if (!SWIG_IsOK(res1
)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
13353 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13355 if (!SWIG_IsOK(ecode2
)) {
13356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
13358 arg2
= static_cast< int >(val2
);
13359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13360 if (!SWIG_IsOK(ecode3
)) {
13361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
13363 arg3
= static_cast< int >(val3
);
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= (arg1
)->Scale(arg2
,arg3
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13377 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
= 0;
13379 wxImage
*arg1
= (wxImage
*) 0 ;
13382 SwigValueWrapper
<wxImage
> result
;
13389 PyObject
* obj0
= 0 ;
13390 PyObject
* obj1
= 0 ;
13391 PyObject
* obj2
= 0 ;
13392 char * kwnames
[] = {
13393 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
13396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13398 if (!SWIG_IsOK(res1
)) {
13399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
13401 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13403 if (!SWIG_IsOK(ecode2
)) {
13404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
13406 arg2
= static_cast< int >(val2
);
13407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13408 if (!SWIG_IsOK(ecode3
)) {
13409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
13411 arg3
= static_cast< int >(val3
);
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13425 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
= 0;
13427 wxImage
*arg1
= (wxImage
*) 0 ;
13430 wxImage
*result
= 0 ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 PyObject
* obj2
= 0 ;
13440 char * kwnames
[] = {
13441 (char *) "self",(char *) "width",(char *) "height", NULL
13444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13446 if (!SWIG_IsOK(res1
)) {
13447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
13449 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13451 if (!SWIG_IsOK(ecode2
)) {
13452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
13454 arg2
= static_cast< int >(val2
);
13455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13456 if (!SWIG_IsOK(ecode3
)) {
13457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
13459 arg3
= static_cast< int >(val3
);
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
13464 result
= (wxImage
*) &_result_ref
;
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13476 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
= 0;
13478 wxImage
*arg1
= (wxImage
*) 0 ;
13480 wxPoint
*arg3
= 0 ;
13481 int arg4
= (int) -1 ;
13482 int arg5
= (int) -1 ;
13483 int arg6
= (int) -1 ;
13484 wxImage
*result
= 0 ;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 PyObject
* obj2
= 0 ;
13498 PyObject
* obj3
= 0 ;
13499 PyObject
* obj4
= 0 ;
13500 PyObject
* obj5
= 0 ;
13501 char * kwnames
[] = {
13502 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
13505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
13510 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13513 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13517 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13521 if (!SWIG_IsOK(ecode4
)) {
13522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
13524 arg4
= static_cast< int >(val4
);
13527 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13528 if (!SWIG_IsOK(ecode5
)) {
13529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
13531 arg5
= static_cast< int >(val5
);
13534 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
13535 if (!SWIG_IsOK(ecode6
)) {
13536 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
13538 arg6
= static_cast< int >(val6
);
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
13544 result
= (wxImage
*) &_result_ref
;
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13556 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
= 0;
13558 wxImage
*arg1
= (wxImage
*) 0 ;
13570 unsigned char val4
;
13572 unsigned char val5
;
13574 unsigned char val6
;
13576 PyObject
* obj0
= 0 ;
13577 PyObject
* obj1
= 0 ;
13578 PyObject
* obj2
= 0 ;
13579 PyObject
* obj3
= 0 ;
13580 PyObject
* obj4
= 0 ;
13581 PyObject
* obj5
= 0 ;
13582 char * kwnames
[] = {
13583 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
13586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13588 if (!SWIG_IsOK(res1
)) {
13589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
13591 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13593 if (!SWIG_IsOK(ecode2
)) {
13594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
13596 arg2
= static_cast< int >(val2
);
13597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13598 if (!SWIG_IsOK(ecode3
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
13601 arg3
= static_cast< int >(val3
);
13602 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13603 if (!SWIG_IsOK(ecode4
)) {
13604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
13606 arg4
= static_cast< byte
>(val4
);
13607 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13608 if (!SWIG_IsOK(ecode5
)) {
13609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
13611 arg5
= static_cast< byte
>(val5
);
13612 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
13613 if (!SWIG_IsOK(ecode6
)) {
13614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
13616 arg6
= static_cast< byte
>(val6
);
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= SWIG_Py_Void();
13630 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
= 0;
13632 wxImage
*arg1
= (wxImage
*) 0 ;
13640 unsigned char val3
;
13642 unsigned char val4
;
13644 unsigned char val5
;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 PyObject
* obj2
= 0 ;
13649 PyObject
* obj3
= 0 ;
13650 PyObject
* obj4
= 0 ;
13651 char * kwnames
[] = {
13652 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
13655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13657 if (!SWIG_IsOK(res1
)) {
13658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
13660 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13663 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13665 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
13666 if (!SWIG_IsOK(ecode3
)) {
13667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
13669 arg3
= static_cast< byte
>(val3
);
13670 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13671 if (!SWIG_IsOK(ecode4
)) {
13672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
13674 arg4
= static_cast< byte
>(val4
);
13675 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13676 if (!SWIG_IsOK(ecode5
)) {
13677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
13679 arg5
= static_cast< byte
>(val5
);
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= SWIG_Py_Void();
13693 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
= 0;
13695 wxImage
*arg1
= (wxImage
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 PyObject
* obj2
= 0 ;
13708 char * kwnames
[] = {
13709 (char *) "self",(char *) "x",(char *) "y", NULL
13712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
13717 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13719 if (!SWIG_IsOK(ecode2
)) {
13720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
13722 arg2
= static_cast< int >(val2
);
13723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13724 if (!SWIG_IsOK(ecode3
)) {
13725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
13727 arg3
= static_cast< int >(val3
);
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
13731 wxPyEndAllowThreads(__tstate
);
13732 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13741 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
= 0;
13743 wxImage
*arg1
= (wxImage
*) 0 ;
13753 PyObject
* obj0
= 0 ;
13754 PyObject
* obj1
= 0 ;
13755 PyObject
* obj2
= 0 ;
13756 char * kwnames
[] = {
13757 (char *) "self",(char *) "x",(char *) "y", NULL
13760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13762 if (!SWIG_IsOK(res1
)) {
13763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
13765 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13767 if (!SWIG_IsOK(ecode2
)) {
13768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
13770 arg2
= static_cast< int >(val2
);
13771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13772 if (!SWIG_IsOK(ecode3
)) {
13773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
13775 arg3
= static_cast< int >(val3
);
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13789 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
= 0;
13791 wxImage
*arg1
= (wxImage
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 PyObject
* obj1
= 0 ;
13803 PyObject
* obj2
= 0 ;
13804 char * kwnames
[] = {
13805 (char *) "self",(char *) "x",(char *) "y", NULL
13808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13810 if (!SWIG_IsOK(res1
)) {
13811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
13813 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13815 if (!SWIG_IsOK(ecode2
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
13818 arg2
= static_cast< int >(val2
);
13819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13820 if (!SWIG_IsOK(ecode3
)) {
13821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
13823 arg3
= static_cast< int >(val3
);
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13837 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
= 0;
13839 wxImage
*arg1
= (wxImage
*) 0 ;
13849 unsigned char val4
;
13851 PyObject
* obj0
= 0 ;
13852 PyObject
* obj1
= 0 ;
13853 PyObject
* obj2
= 0 ;
13854 PyObject
* obj3
= 0 ;
13855 char * kwnames
[] = {
13856 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
13859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13861 if (!SWIG_IsOK(res1
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13864 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13866 if (!SWIG_IsOK(ecode2
)) {
13867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
13869 arg2
= static_cast< int >(val2
);
13870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13871 if (!SWIG_IsOK(ecode3
)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
13874 arg3
= static_cast< int >(val3
);
13875 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13876 if (!SWIG_IsOK(ecode4
)) {
13877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
13879 arg4
= static_cast< byte
>(val4
);
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_Py_Void();
13893 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
= 0;
13895 wxImage
*arg1
= (wxImage
*) 0 ;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 PyObject
* obj2
= 0 ;
13908 char * kwnames
[] = {
13909 (char *) "self",(char *) "x",(char *) "y", NULL
13912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13914 if (!SWIG_IsOK(res1
)) {
13915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13917 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13919 if (!SWIG_IsOK(ecode2
)) {
13920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
13922 arg2
= static_cast< int >(val2
);
13923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13924 if (!SWIG_IsOK(ecode3
)) {
13925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
13927 arg3
= static_cast< int >(val3
);
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13941 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13942 PyObject
*resultobj
= 0;
13943 wxImage
*arg1
= (wxImage
*) 0 ;
13947 PyObject
*swig_obj
[1] ;
13949 if (!args
) SWIG_fail
;
13950 swig_obj
[0] = args
;
13951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13955 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (bool)(arg1
)->HasAlpha();
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13971 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 PyObject
*resultobj
= 0;
13973 wxImage
*arg1
= (wxImage
*) 0 ;
13976 PyObject
*swig_obj
[1] ;
13978 if (!args
) SWIG_fail
;
13979 swig_obj
[0] = args
;
13980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13981 if (!SWIG_IsOK(res1
)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13984 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 (arg1
)->InitAlpha();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_Py_Void();
13998 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
= 0;
14000 wxImage
*arg1
= (wxImage
*) 0 ;
14003 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14011 unsigned char val4
;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 PyObject
* obj2
= 0 ;
14016 PyObject
* obj3
= 0 ;
14017 char * kwnames
[] = {
14018 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
14021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14023 if (!SWIG_IsOK(res1
)) {
14024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
14026 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14028 if (!SWIG_IsOK(ecode2
)) {
14029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
14031 arg2
= static_cast< int >(val2
);
14032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14033 if (!SWIG_IsOK(ecode3
)) {
14034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
14036 arg3
= static_cast< int >(val3
);
14038 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14039 if (!SWIG_IsOK(ecode4
)) {
14040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
14042 arg4
= static_cast< byte
>(val4
);
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
14047 wxPyEndAllowThreads(__tstate
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14059 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
= 0;
14061 wxImage
*arg1
= (wxImage
*) 0 ;
14062 byte
*arg2
= (byte
*) 0 ;
14063 byte
*arg3
= (byte
*) 0 ;
14064 byte
*arg4
= (byte
*) 0 ;
14065 byte arg5
= (byte
) 0 ;
14066 byte arg6
= (byte
) 0 ;
14067 byte arg7
= (byte
) 0 ;
14072 int res2
= SWIG_TMPOBJ
;
14074 int res3
= SWIG_TMPOBJ
;
14076 int res4
= SWIG_TMPOBJ
;
14077 unsigned char val5
;
14079 unsigned char val6
;
14081 unsigned char val7
;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 PyObject
* obj2
= 0 ;
14086 PyObject
* obj3
= 0 ;
14087 char * kwnames
[] = {
14088 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14096 if (!SWIG_IsOK(res1
)) {
14097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
14099 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14101 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14102 if (!SWIG_IsOK(ecode5
)) {
14103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14105 arg5
= static_cast< byte
>(val5
);
14108 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14109 if (!SWIG_IsOK(ecode6
)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14112 arg6
= static_cast< byte
>(val6
);
14115 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14116 if (!SWIG_IsOK(ecode7
)) {
14117 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14119 arg7
= static_cast< byte
>(val7
);
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14130 if (SWIG_IsTmpObj(res2
)) {
14131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14133 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14136 if (SWIG_IsTmpObj(res3
)) {
14137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14139 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14142 if (SWIG_IsTmpObj(res4
)) {
14143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14145 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14154 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
= 0;
14156 wxImage
*arg1
= (wxImage
*) 0 ;
14157 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14161 unsigned char val2
;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 char * kwnames
[] = {
14166 (char *) "self",(char *) "threshold", NULL
14169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14171 if (!SWIG_IsOK(res1
)) {
14172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
14174 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14176 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14177 if (!SWIG_IsOK(ecode2
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
14180 arg2
= static_cast< byte
>(val2
);
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14197 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
= 0;
14199 wxImage
*arg1
= (wxImage
*) 0 ;
14206 unsigned char val2
;
14208 unsigned char val3
;
14210 unsigned char val4
;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 PyObject
* obj2
= 0 ;
14215 PyObject
* obj3
= 0 ;
14216 char * kwnames
[] = {
14217 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
14220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14222 if (!SWIG_IsOK(res1
)) {
14223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14225 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14226 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14227 if (!SWIG_IsOK(ecode2
)) {
14228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
14230 arg2
= static_cast< byte
>(val2
);
14231 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14232 if (!SWIG_IsOK(ecode3
)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
14235 arg3
= static_cast< byte
>(val3
);
14236 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14237 if (!SWIG_IsOK(ecode4
)) {
14238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
14240 arg4
= static_cast< byte
>(val4
);
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14256 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
= 0;
14258 wxImage
*arg1
= (wxImage
*) 0 ;
14259 wxImage
*arg2
= 0 ;
14268 unsigned char val3
;
14270 unsigned char val4
;
14272 unsigned char val5
;
14274 PyObject
* obj0
= 0 ;
14275 PyObject
* obj1
= 0 ;
14276 PyObject
* obj2
= 0 ;
14277 PyObject
* obj3
= 0 ;
14278 PyObject
* obj4
= 0 ;
14279 char * kwnames
[] = {
14280 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
14283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
14288 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
14290 if (!SWIG_IsOK(res2
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14296 arg2
= reinterpret_cast< wxImage
* >(argp2
);
14297 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14298 if (!SWIG_IsOK(ecode3
)) {
14299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
14301 arg3
= static_cast< byte
>(val3
);
14302 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14303 if (!SWIG_IsOK(ecode4
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
14306 arg4
= static_cast< byte
>(val4
);
14307 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14308 if (!SWIG_IsOK(ecode5
)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
14311 arg5
= static_cast< byte
>(val5
);
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14327 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
= 0;
14329 wxString
*arg1
= 0 ;
14331 bool temp1
= false ;
14332 PyObject
* obj0
= 0 ;
14333 char * kwnames
[] = {
14334 (char *) "filename", NULL
14337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
14339 arg1
= wxString_in_helper(obj0
);
14340 if (arg1
== NULL
) SWIG_fail
;
14344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14345 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14366 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
= 0;
14368 wxString
*arg1
= 0 ;
14369 long arg2
= (long) wxBITMAP_TYPE_ANY
;
14371 bool temp1
= false ;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 char * kwnames
[] = {
14377 (char *) "filename",(char *) "type", NULL
14380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14382 arg1
= wxString_in_helper(obj0
);
14383 if (arg1
== NULL
) SWIG_fail
;
14387 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14388 if (!SWIG_IsOK(ecode2
)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
14391 arg2
= static_cast< long >(val2
);
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= SWIG_From_int(static_cast< int >(result
));
14414 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= 0;
14416 wxImage
*arg1
= (wxImage
*) 0 ;
14417 wxString
*arg2
= 0 ;
14418 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14419 int arg4
= (int) -1 ;
14423 bool temp2
= false ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj1
= 0 ;
14430 PyObject
* obj2
= 0 ;
14431 PyObject
* obj3
= 0 ;
14432 char * kwnames
[] = {
14433 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
14436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14438 if (!SWIG_IsOK(res1
)) {
14439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
14441 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14443 arg2
= wxString_in_helper(obj1
);
14444 if (arg2
== NULL
) SWIG_fail
;
14448 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14449 if (!SWIG_IsOK(ecode3
)) {
14450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
14452 arg3
= static_cast< long >(val3
);
14455 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14456 if (!SWIG_IsOK(ecode4
)) {
14457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
14459 arg4
= static_cast< int >(val4
);
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14484 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
= 0;
14486 wxImage
*arg1
= (wxImage
*) 0 ;
14487 wxString
*arg2
= 0 ;
14488 wxString
*arg3
= 0 ;
14489 int arg4
= (int) -1 ;
14493 bool temp2
= false ;
14494 bool temp3
= false ;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 PyObject
* obj2
= 0 ;
14500 PyObject
* obj3
= 0 ;
14501 char * kwnames
[] = {
14502 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
14505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14507 if (!SWIG_IsOK(res1
)) {
14508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14510 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14512 arg2
= wxString_in_helper(obj1
);
14513 if (arg2
== NULL
) SWIG_fail
;
14517 arg3
= wxString_in_helper(obj2
);
14518 if (arg3
== NULL
) SWIG_fail
;
14522 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14523 if (!SWIG_IsOK(ecode4
)) {
14524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
14526 arg4
= static_cast< int >(val4
);
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14559 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
= 0;
14561 wxImage
*arg1
= (wxImage
*) 0 ;
14562 wxString
*arg2
= 0 ;
14567 bool temp2
= false ;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 PyObject
* obj2
= 0 ;
14573 char * kwnames
[] = {
14574 (char *) "self",(char *) "name",(char *) "type", NULL
14577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14579 if (!SWIG_IsOK(res1
)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
14582 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14584 arg2
= wxString_in_helper(obj1
);
14585 if (arg2
== NULL
) SWIG_fail
;
14588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14589 if (!SWIG_IsOK(ecode3
)) {
14590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
14592 arg3
= static_cast< int >(val3
);
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14616 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
= 0;
14618 wxImage
*arg1
= (wxImage
*) 0 ;
14619 wxString
*arg2
= 0 ;
14620 wxString
*arg3
= 0 ;
14624 bool temp2
= false ;
14625 bool temp3
= false ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 char * kwnames
[] = {
14630 (char *) "self",(char *) "name",(char *) "mimetype", NULL
14633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14635 if (!SWIG_IsOK(res1
)) {
14636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14638 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14640 arg2
= wxString_in_helper(obj1
);
14641 if (arg2
== NULL
) SWIG_fail
;
14645 arg3
= wxString_in_helper(obj2
);
14646 if (arg3
== NULL
) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14680 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
= 0;
14682 wxInputStream
*arg1
= 0 ;
14684 wxPyInputStream
*temp1
;
14686 PyObject
* obj0
= 0 ;
14687 char * kwnames
[] = {
14688 (char *) "stream", NULL
14691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
14693 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
14694 arg1
= temp1
->m_wxis
;
14697 PyErr_Clear(); // clear the failure of the wxPyConvert above
14698 arg1
= wxPyCBInputStream_create(obj0
, false);
14699 if (arg1
== NULL
) {
14700 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (bool)wxImage::CanRead(*arg1
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14716 if (created1
) delete arg1
;
14721 if (created1
) delete arg1
;
14727 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
= 0;
14729 wxImage
*arg1
= (wxImage
*) 0 ;
14730 wxInputStream
*arg2
= 0 ;
14731 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14732 int arg4
= (int) -1 ;
14736 wxPyInputStream
*temp2
;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj2
= 0 ;
14745 PyObject
* obj3
= 0 ;
14746 char * kwnames
[] = {
14747 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
14750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
14755 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14757 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14758 arg2
= temp2
->m_wxis
;
14761 PyErr_Clear(); // clear the failure of the wxPyConvert above
14762 arg2
= wxPyCBInputStream_create(obj1
, false);
14763 if (arg2
== NULL
) {
14764 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14771 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14772 if (!SWIG_IsOK(ecode3
)) {
14773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
14775 arg3
= static_cast< long >(val3
);
14778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14779 if (!SWIG_IsOK(ecode4
)) {
14780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
14782 arg4
= static_cast< int >(val4
);
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14794 if (created2
) delete arg2
;
14799 if (created2
) delete arg2
;
14805 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
= 0;
14807 wxImage
*arg1
= (wxImage
*) 0 ;
14808 wxInputStream
*arg2
= 0 ;
14809 wxString
*arg3
= 0 ;
14810 int arg4
= (int) -1 ;
14814 wxPyInputStream
*temp2
;
14816 bool temp3
= false ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 PyObject
* obj2
= 0 ;
14822 PyObject
* obj3
= 0 ;
14823 char * kwnames
[] = {
14824 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
14827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
14832 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14834 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14835 arg2
= temp2
->m_wxis
;
14838 PyErr_Clear(); // clear the failure of the wxPyConvert above
14839 arg2
= wxPyCBInputStream_create(obj1
, false);
14840 if (arg2
== NULL
) {
14841 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14848 arg3
= wxString_in_helper(obj2
);
14849 if (arg3
== NULL
) SWIG_fail
;
14853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14854 if (!SWIG_IsOK(ecode4
)) {
14855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
14857 arg4
= static_cast< int >(val4
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14869 if (created2
) delete arg2
;
14878 if (created2
) delete arg2
;
14888 SWIGINTERN PyObject
*_wrap_Image_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14889 PyObject
*resultobj
= 0;
14890 wxImage
*arg1
= (wxImage
*) 0 ;
14894 PyObject
*swig_obj
[1] ;
14896 if (!args
) SWIG_fail
;
14897 swig_obj
[0] = args
;
14898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Ok" "', expected argument " "1"" of type '" "wxImage *""'");
14902 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= (bool)(arg1
)->Ok();
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14918 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14919 PyObject
*resultobj
= 0;
14920 wxImage
*arg1
= (wxImage
*) 0 ;
14924 PyObject
*swig_obj
[1] ;
14926 if (!args
) SWIG_fail
;
14927 swig_obj
[0] = args
;
14928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14929 if (!SWIG_IsOK(res1
)) {
14930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
14932 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (int)(arg1
)->GetWidth();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= SWIG_From_int(static_cast< int >(result
));
14946 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14947 PyObject
*resultobj
= 0;
14948 wxImage
*arg1
= (wxImage
*) 0 ;
14952 PyObject
*swig_obj
[1] ;
14954 if (!args
) SWIG_fail
;
14955 swig_obj
[0] = args
;
14956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14957 if (!SWIG_IsOK(res1
)) {
14958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
14960 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (int)(arg1
)->GetHeight();
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= SWIG_From_int(static_cast< int >(result
));
14974 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14975 PyObject
*resultobj
= 0;
14976 wxImage
*arg1
= (wxImage
*) 0 ;
14980 PyObject
*swig_obj
[1] ;
14982 if (!args
) SWIG_fail
;
14983 swig_obj
[0] = args
;
14984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
14988 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= wxImage_GetSize(arg1
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15002 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
= 0;
15004 wxImage
*arg1
= (wxImage
*) 0 ;
15006 SwigValueWrapper
<wxImage
> result
;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 char * kwnames
[] = {
15013 (char *) "self",(char *) "rect", NULL
15016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15018 if (!SWIG_IsOK(res1
)) {
15019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
15021 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15024 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15039 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
= 0;
15041 wxImage
*arg1
= (wxImage
*) 0 ;
15043 wxPoint
*arg3
= 0 ;
15044 int arg4
= (int) -1 ;
15045 int arg5
= (int) -1 ;
15046 int arg6
= (int) -1 ;
15047 SwigValueWrapper
<wxImage
> result
;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 PyObject
* obj2
= 0 ;
15061 PyObject
* obj3
= 0 ;
15062 PyObject
* obj4
= 0 ;
15063 PyObject
* obj5
= 0 ;
15064 char * kwnames
[] = {
15065 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
15068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
15073 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15083 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15084 if (!SWIG_IsOK(ecode4
)) {
15085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
15087 arg4
= static_cast< int >(val4
);
15090 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15091 if (!SWIG_IsOK(ecode5
)) {
15092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
15094 arg5
= static_cast< int >(val5
);
15097 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15098 if (!SWIG_IsOK(ecode6
)) {
15099 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
15101 arg6
= static_cast< int >(val6
);
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15116 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15117 PyObject
*resultobj
= 0;
15118 wxImage
*arg1
= (wxImage
*) 0 ;
15119 SwigValueWrapper
<wxImage
> result
;
15122 PyObject
*swig_obj
[1] ;
15124 if (!args
) SWIG_fail
;
15125 swig_obj
[0] = args
;
15126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15127 if (!SWIG_IsOK(res1
)) {
15128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
15130 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (arg1
)->Copy();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15144 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= 0;
15146 wxImage
*arg1
= (wxImage
*) 0 ;
15147 wxImage
*arg2
= 0 ;
15158 PyObject
* obj0
= 0 ;
15159 PyObject
* obj1
= 0 ;
15160 PyObject
* obj2
= 0 ;
15161 PyObject
* obj3
= 0 ;
15162 char * kwnames
[] = {
15163 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
15166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15168 if (!SWIG_IsOK(res1
)) {
15169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
15171 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15173 if (!SWIG_IsOK(res2
)) {
15174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15179 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15181 if (!SWIG_IsOK(ecode3
)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
15184 arg3
= static_cast< int >(val3
);
15185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15186 if (!SWIG_IsOK(ecode4
)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
15189 arg4
= static_cast< int >(val4
);
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= SWIG_Py_Void();
15203 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15204 PyObject
*resultobj
= 0;
15205 wxImage
*arg1
= (wxImage
*) 0 ;
15206 PyObject
*result
= 0 ;
15209 PyObject
*swig_obj
[1] ;
15211 if (!args
) SWIG_fail
;
15212 swig_obj
[0] = args
;
15213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15214 if (!SWIG_IsOK(res1
)) {
15215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
15217 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (PyObject
*)wxImage_GetData(arg1
);
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= result
;
15231 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
= 0;
15233 wxImage
*arg1
= (wxImage
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 char * kwnames
[] = {
15241 (char *) "self",(char *) "data", NULL
15244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15246 if (!SWIG_IsOK(res1
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
15249 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15251 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 wxImage_SetData(arg1
,arg2
,arg3
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= SWIG_Py_Void();
15266 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15267 PyObject
*resultobj
= 0;
15268 wxImage
*arg1
= (wxImage
*) 0 ;
15269 PyObject
*result
= 0 ;
15272 PyObject
*swig_obj
[1] ;
15274 if (!args
) SWIG_fail
;
15275 swig_obj
[0] = args
;
15276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15277 if (!SWIG_IsOK(res1
)) {
15278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15280 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= result
;
15294 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
= 0;
15296 wxImage
*arg1
= (wxImage
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char * kwnames
[] = {
15304 (char *) "self",(char *) "data", NULL
15307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15309 if (!SWIG_IsOK(res1
)) {
15310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15312 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15314 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= SWIG_Py_Void();
15329 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15330 PyObject
*resultobj
= 0;
15331 wxImage
*arg1
= (wxImage
*) 0 ;
15332 PyObject
*result
= 0 ;
15335 PyObject
*swig_obj
[1] ;
15337 if (!args
) SWIG_fail
;
15338 swig_obj
[0] = args
;
15339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15340 if (!SWIG_IsOK(res1
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15343 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= result
;
15357 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
= 0;
15359 wxImage
*arg1
= (wxImage
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 char * kwnames
[] = {
15367 (char *) "self",(char *) "alpha", NULL
15370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15372 if (!SWIG_IsOK(res1
)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15375 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15377 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_Py_Void();
15392 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15393 PyObject
*resultobj
= 0;
15394 wxImage
*arg1
= (wxImage
*) 0 ;
15395 PyObject
*result
= 0 ;
15398 PyObject
*swig_obj
[1] ;
15400 if (!args
) SWIG_fail
;
15401 swig_obj
[0] = args
;
15402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15403 if (!SWIG_IsOK(res1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15406 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= result
;
15420 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
= 0;
15422 wxImage
*arg1
= (wxImage
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 char * kwnames
[] = {
15430 (char *) "self",(char *) "alpha", NULL
15433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15435 if (!SWIG_IsOK(res1
)) {
15436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15438 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15440 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_Py_Void();
15455 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
= 0;
15457 wxImage
*arg1
= (wxImage
*) 0 ;
15463 unsigned char val2
;
15465 unsigned char val3
;
15467 unsigned char val4
;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 PyObject
* obj2
= 0 ;
15472 PyObject
* obj3
= 0 ;
15473 char * kwnames
[] = {
15474 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15479 if (!SWIG_IsOK(res1
)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
15482 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15483 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15484 if (!SWIG_IsOK(ecode2
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
15487 arg2
= static_cast< byte
>(val2
);
15488 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15489 if (!SWIG_IsOK(ecode3
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
15492 arg3
= static_cast< byte
>(val3
);
15493 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15494 if (!SWIG_IsOK(ecode4
)) {
15495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
15497 arg4
= static_cast< byte
>(val4
);
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= SWIG_Py_Void();
15511 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15512 PyObject
*resultobj
= 0;
15513 wxImage
*arg1
= (wxImage
*) 0 ;
15514 byte
*arg2
= (byte
*) 0 ;
15515 byte
*arg3
= (byte
*) 0 ;
15516 byte
*arg4
= (byte
*) 0 ;
15520 int res2
= SWIG_TMPOBJ
;
15522 int res3
= SWIG_TMPOBJ
;
15524 int res4
= SWIG_TMPOBJ
;
15525 PyObject
*swig_obj
[1] ;
15530 if (!args
) SWIG_fail
;
15531 swig_obj
[0] = args
;
15532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15533 if (!SWIG_IsOK(res1
)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
15536 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_Py_Void();
15544 if (SWIG_IsTmpObj(res2
)) {
15545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
15547 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
15550 if (SWIG_IsTmpObj(res3
)) {
15551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
15553 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
15556 if (SWIG_IsTmpObj(res4
)) {
15557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
15559 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
15568 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15569 PyObject
*resultobj
= 0;
15570 wxImage
*arg1
= (wxImage
*) 0 ;
15574 PyObject
*swig_obj
[1] ;
15576 if (!args
) SWIG_fail
;
15577 swig_obj
[0] = args
;
15578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
15582 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (byte
)(arg1
)->GetMaskRed();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15596 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15597 PyObject
*resultobj
= 0;
15598 wxImage
*arg1
= (wxImage
*) 0 ;
15602 PyObject
*swig_obj
[1] ;
15604 if (!args
) SWIG_fail
;
15605 swig_obj
[0] = args
;
15606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15607 if (!SWIG_IsOK(res1
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
15610 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (byte
)(arg1
)->GetMaskGreen();
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15624 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15625 PyObject
*resultobj
= 0;
15626 wxImage
*arg1
= (wxImage
*) 0 ;
15630 PyObject
*swig_obj
[1] ;
15632 if (!args
) SWIG_fail
;
15633 swig_obj
[0] = args
;
15634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15635 if (!SWIG_IsOK(res1
)) {
15636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
15638 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= (byte
)(arg1
)->GetMaskBlue();
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15652 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
= 0;
15654 wxImage
*arg1
= (wxImage
*) 0 ;
15655 bool arg2
= (bool) true ;
15660 PyObject
* obj0
= 0 ;
15661 PyObject
* obj1
= 0 ;
15662 char * kwnames
[] = {
15663 (char *) "self",(char *) "mask", NULL
15666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15668 if (!SWIG_IsOK(res1
)) {
15669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
15671 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15673 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15674 if (!SWIG_IsOK(ecode2
)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
15677 arg2
= static_cast< bool >(val2
);
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 (arg1
)->SetMask(arg2
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_Py_Void();
15692 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15693 PyObject
*resultobj
= 0;
15694 wxImage
*arg1
= (wxImage
*) 0 ;
15698 PyObject
*swig_obj
[1] ;
15700 if (!args
) SWIG_fail
;
15701 swig_obj
[0] = args
;
15702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15703 if (!SWIG_IsOK(res1
)) {
15704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
15706 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (bool)(arg1
)->HasMask();
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15722 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
= 0;
15724 wxImage
*arg1
= (wxImage
*) 0 ;
15726 wxPoint
*arg3
= 0 ;
15727 bool arg4
= (bool) true ;
15728 wxPoint
*arg5
= (wxPoint
*) NULL
;
15729 SwigValueWrapper
<wxImage
> result
;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 PyObject
* obj2
= 0 ;
15742 PyObject
* obj3
= 0 ;
15743 PyObject
* obj4
= 0 ;
15744 char * kwnames
[] = {
15745 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
15748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15750 if (!SWIG_IsOK(res1
)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
15753 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15754 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15755 if (!SWIG_IsOK(ecode2
)) {
15756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
15758 arg2
= static_cast< double >(val2
);
15761 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15764 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15765 if (!SWIG_IsOK(ecode4
)) {
15766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
15768 arg4
= static_cast< bool >(val4
);
15771 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
15772 if (!SWIG_IsOK(res5
)) {
15773 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
15775 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15790 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
= 0;
15792 wxImage
*arg1
= (wxImage
*) 0 ;
15793 bool arg2
= (bool) true ;
15794 SwigValueWrapper
<wxImage
> result
;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char * kwnames
[] = {
15802 (char *) "self",(char *) "clockwise", NULL
15805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
15810 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15812 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15813 if (!SWIG_IsOK(ecode2
)) {
15814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
15816 arg2
= static_cast< bool >(val2
);
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (arg1
)->Rotate90(arg2
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15831 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
= 0;
15833 wxImage
*arg1
= (wxImage
*) 0 ;
15834 bool arg2
= (bool) true ;
15835 SwigValueWrapper
<wxImage
> result
;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char * kwnames
[] = {
15843 (char *) "self",(char *) "horizontally", NULL
15846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15848 if (!SWIG_IsOK(res1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
15851 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15853 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15854 if (!SWIG_IsOK(ecode2
)) {
15855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
15857 arg2
= static_cast< bool >(val2
);
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (arg1
)->Mirror(arg2
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15872 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
= 0;
15874 wxImage
*arg1
= (wxImage
*) 0 ;
15883 unsigned char val2
;
15885 unsigned char val3
;
15887 unsigned char val4
;
15889 unsigned char val5
;
15891 unsigned char val6
;
15893 unsigned char val7
;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 PyObject
* obj2
= 0 ;
15898 PyObject
* obj3
= 0 ;
15899 PyObject
* obj4
= 0 ;
15900 PyObject
* obj5
= 0 ;
15901 PyObject
* obj6
= 0 ;
15902 char * kwnames
[] = {
15903 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
15906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15908 if (!SWIG_IsOK(res1
)) {
15909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
15911 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15912 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15913 if (!SWIG_IsOK(ecode2
)) {
15914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
15916 arg2
= static_cast< byte
>(val2
);
15917 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15918 if (!SWIG_IsOK(ecode3
)) {
15919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
15921 arg3
= static_cast< byte
>(val3
);
15922 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15923 if (!SWIG_IsOK(ecode4
)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
15926 arg4
= static_cast< byte
>(val4
);
15927 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
15928 if (!SWIG_IsOK(ecode5
)) {
15929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
15931 arg5
= static_cast< byte
>(val5
);
15932 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
15933 if (!SWIG_IsOK(ecode6
)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
15936 arg6
= static_cast< byte
>(val6
);
15937 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
15938 if (!SWIG_IsOK(ecode7
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
15941 arg7
= static_cast< byte
>(val7
);
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= SWIG_Py_Void();
15955 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
= 0;
15957 wxImage
*arg1
= (wxImage
*) 0 ;
15958 double arg2
= (double) 0.299 ;
15959 double arg3
= (double) 0.587 ;
15960 double arg4
= (double) 0.114 ;
15961 SwigValueWrapper
<wxImage
> result
;
15970 PyObject
* obj0
= 0 ;
15971 PyObject
* obj1
= 0 ;
15972 PyObject
* obj2
= 0 ;
15973 PyObject
* obj3
= 0 ;
15974 char * kwnames
[] = {
15975 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
15978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15980 if (!SWIG_IsOK(res1
)) {
15981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
15983 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15985 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15986 if (!SWIG_IsOK(ecode2
)) {
15987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
15989 arg2
= static_cast< double >(val2
);
15992 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15993 if (!SWIG_IsOK(ecode3
)) {
15994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
15996 arg3
= static_cast< double >(val3
);
15999 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16000 if (!SWIG_IsOK(ecode4
)) {
16001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
16003 arg4
= static_cast< double >(val4
);
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16018 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
= 0;
16020 wxImage
*arg1
= (wxImage
*) 0 ;
16024 SwigValueWrapper
<wxImage
> result
;
16027 unsigned char val2
;
16029 unsigned char val3
;
16031 unsigned char val4
;
16033 PyObject
* obj0
= 0 ;
16034 PyObject
* obj1
= 0 ;
16035 PyObject
* obj2
= 0 ;
16036 PyObject
* obj3
= 0 ;
16037 char * kwnames
[] = {
16038 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16043 if (!SWIG_IsOK(res1
)) {
16044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
16046 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16047 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16048 if (!SWIG_IsOK(ecode2
)) {
16049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
16051 arg2
= static_cast< byte
>(val2
);
16052 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16053 if (!SWIG_IsOK(ecode3
)) {
16054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
16056 arg3
= static_cast< byte
>(val3
);
16057 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16058 if (!SWIG_IsOK(ecode4
)) {
16059 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
16061 arg4
= static_cast< byte
>(val4
);
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16075 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
= 0;
16077 wxImage
*arg1
= (wxImage
*) 0 ;
16078 wxString
*arg2
= 0 ;
16079 wxString
*arg3
= 0 ;
16082 bool temp2
= false ;
16083 bool temp3
= false ;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 PyObject
* obj2
= 0 ;
16087 char * kwnames
[] = {
16088 (char *) "self",(char *) "name",(char *) "value", NULL
16091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16093 if (!SWIG_IsOK(res1
)) {
16094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
16096 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16098 arg2
= wxString_in_helper(obj1
);
16099 if (arg2
== NULL
) SWIG_fail
;
16103 arg3
= wxString_in_helper(obj2
);
16104 if (arg3
== NULL
) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_Py_Void();
16136 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
= 0;
16138 wxImage
*arg1
= (wxImage
*) 0 ;
16139 wxString
*arg2
= 0 ;
16143 bool temp2
= false ;
16146 PyObject
* obj0
= 0 ;
16147 PyObject
* obj1
= 0 ;
16148 PyObject
* obj2
= 0 ;
16149 char * kwnames
[] = {
16150 (char *) "self",(char *) "name",(char *) "value", NULL
16153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16155 if (!SWIG_IsOK(res1
)) {
16156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
16158 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16160 arg2
= wxString_in_helper(obj1
);
16161 if (arg2
== NULL
) SWIG_fail
;
16164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16165 if (!SWIG_IsOK(ecode3
)) {
16166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
16168 arg3
= static_cast< int >(val3
);
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_Py_Void();
16190 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
= 0;
16192 wxImage
*arg1
= (wxImage
*) 0 ;
16193 wxString
*arg2
= 0 ;
16197 bool temp2
= false ;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 char * kwnames
[] = {
16201 (char *) "self",(char *) "name", NULL
16204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16206 if (!SWIG_IsOK(res1
)) {
16207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16209 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16211 arg2
= wxString_in_helper(obj1
);
16212 if (arg2
== NULL
) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16242 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
= 0;
16244 wxImage
*arg1
= (wxImage
*) 0 ;
16245 wxString
*arg2
= 0 ;
16249 bool temp2
= false ;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char * kwnames
[] = {
16253 (char *) "self",(char *) "name", NULL
16256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16258 if (!SWIG_IsOK(res1
)) {
16259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
16261 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16263 arg2
= wxString_in_helper(obj1
);
16264 if (arg2
== NULL
) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= SWIG_From_int(static_cast< int >(result
));
16288 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
= 0;
16290 wxImage
*arg1
= (wxImage
*) 0 ;
16291 wxString
*arg2
= 0 ;
16295 bool temp2
= false ;
16296 PyObject
* obj0
= 0 ;
16297 PyObject
* obj1
= 0 ;
16298 char * kwnames
[] = {
16299 (char *) "self",(char *) "name", NULL
16302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16304 if (!SWIG_IsOK(res1
)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16307 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16309 arg2
= wxString_in_helper(obj1
);
16310 if (arg2
== NULL
) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16336 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
= 0;
16338 wxImage
*arg1
= (wxImage
*) 0 ;
16339 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
16340 unsigned long result
;
16343 unsigned long val2
;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 char * kwnames
[] = {
16348 (char *) "self",(char *) "stopafter", NULL
16351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16353 if (!SWIG_IsOK(res1
)) {
16354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
16356 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16358 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16359 if (!SWIG_IsOK(ecode2
)) {
16360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
16362 arg2
= static_cast< unsigned long >(val2
);
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (unsigned long)(arg1
)->CountColours(arg2
);
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16377 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
= 0;
16379 wxImage
*arg1
= (wxImage
*) 0 ;
16380 wxImageHistogram
*arg2
= 0 ;
16381 unsigned long result
;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char * kwnames
[] = {
16389 (char *) "self",(char *) "h", NULL
16392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16394 if (!SWIG_IsOK(res1
)) {
16395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
16397 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
16399 if (!SWIG_IsOK(res2
)) {
16400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16405 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16419 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
= 0;
16421 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 char * kwnames
[] = {
16426 (char *) "handler", NULL
16429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
16430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16431 if (!SWIG_IsOK(res1
)) {
16432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16434 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 wxImage::AddHandler(arg1
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_Py_Void();
16448 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
= 0;
16450 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char * kwnames
[] = {
16455 (char *) "handler", NULL
16458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
16459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16463 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 wxImage::InsertHandler(arg1
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= SWIG_Py_Void();
16477 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
= 0;
16479 wxString
*arg1
= 0 ;
16481 bool temp1
= false ;
16482 PyObject
* obj0
= 0 ;
16483 char * kwnames
[] = {
16484 (char *) "name", NULL
16487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
16489 arg1
= wxString_in_helper(obj0
);
16490 if (arg1
== NULL
) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16516 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16517 PyObject
*resultobj
= 0;
16518 PyObject
*result
= 0 ;
16520 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (PyObject
*)wxImage_GetHandlers();
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= result
;
16534 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16535 PyObject
*resultobj
= 0;
16538 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= wxImage::GetImageExtWildcard();
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16558 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= 0;
16560 wxImage
*arg1
= (wxImage
*) 0 ;
16561 int arg2
= (int) -1 ;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 char * kwnames
[] = {
16570 (char *) "self",(char *) "depth", NULL
16573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16575 if (!SWIG_IsOK(res1
)) {
16576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16578 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16581 if (!SWIG_IsOK(ecode2
)) {
16582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
16584 arg2
= static_cast< int >(val2
);
16587 if (!wxPyCheckForApp()) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16600 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
= 0;
16602 wxImage
*arg1
= (wxImage
*) 0 ;
16609 unsigned char val2
;
16611 unsigned char val3
;
16613 unsigned char val4
;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 PyObject
* obj2
= 0 ;
16618 PyObject
* obj3
= 0 ;
16619 char * kwnames
[] = {
16620 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
16623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16625 if (!SWIG_IsOK(res1
)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16628 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16629 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16630 if (!SWIG_IsOK(ecode2
)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
16633 arg2
= static_cast< byte
>(val2
);
16634 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16635 if (!SWIG_IsOK(ecode3
)) {
16636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
16638 arg3
= static_cast< byte
>(val3
);
16639 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16640 if (!SWIG_IsOK(ecode4
)) {
16641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
16643 arg4
= static_cast< byte
>(val4
);
16645 if (!wxPyCheckForApp()) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16658 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
= 0;
16660 wxImage
*arg1
= (wxImage
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 PyObject
* obj1
= 0 ;
16668 char * kwnames
[] = {
16669 (char *) "self",(char *) "angle", NULL
16672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16674 if (!SWIG_IsOK(res1
)) {
16675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
16677 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16678 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16679 if (!SWIG_IsOK(ecode2
)) {
16680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
16682 arg2
= static_cast< double >(val2
);
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 (arg1
)->RotateHue(arg2
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= SWIG_Py_Void();
16696 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
= 0;
16698 wxImage_RGBValue arg1
;
16699 wxImage_HSVValue result
;
16702 PyObject
* obj0
= 0 ;
16703 char * kwnames
[] = {
16704 (char *) "rgb", NULL
16707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
16709 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
16710 if (!SWIG_IsOK(res1
)) {
16711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16716 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
16718 if (SWIG_IsNewObj(res1
)) delete temp
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= wxImage::RGBtoHSV(arg1
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
16734 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
= 0;
16736 wxImage_HSVValue arg1
;
16737 wxImage_RGBValue result
;
16740 PyObject
* obj0
= 0 ;
16741 char * kwnames
[] = {
16742 (char *) "hsv", NULL
16745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
16747 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
16748 if (!SWIG_IsOK(res1
)) {
16749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16754 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
16756 if (SWIG_IsNewObj(res1
)) delete temp
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 result
= wxImage::HSVtoRGB(arg1
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
16772 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16775 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
16776 return SWIG_Py_Void();
16779 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16780 return SWIG_Python_InitShadowInstance(args
);
16783 SWIGINTERN
int NullImage_set(PyObject
*) {
16784 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
16789 SWIGINTERN PyObject
*NullImage_get(void) {
16790 PyObject
*pyobj
= 0;
16792 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
16797 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
16798 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
16803 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
16804 PyObject
*pyobj
= 0;
16808 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16810 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16817 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
16818 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
16823 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
16824 PyObject
*pyobj
= 0;
16828 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16830 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16837 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
16838 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
16843 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
16844 PyObject
*pyobj
= 0;
16848 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16850 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16857 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
16858 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
16863 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
16864 PyObject
*pyobj
= 0;
16868 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16870 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16877 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
16878 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
16883 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
16884 PyObject
*pyobj
= 0;
16888 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16890 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16897 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
16898 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
16903 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
16904 PyObject
*pyobj
= 0;
16908 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16910 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16917 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
16918 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
16923 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
16924 PyObject
*pyobj
= 0;
16928 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
16930 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
16937 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
16938 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
16943 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
16944 PyObject
*pyobj
= 0;
16948 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
16950 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
16957 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
16958 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
16963 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
16964 PyObject
*pyobj
= 0;
16968 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
16970 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
16977 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
16978 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
16983 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
16984 PyObject
*pyobj
= 0;
16988 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
16990 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
16997 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
16998 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
17003 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
17004 PyObject
*pyobj
= 0;
17008 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17010 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17017 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
17018 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
17023 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
17024 PyObject
*pyobj
= 0;
17028 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17030 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17037 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
17038 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
17043 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
17044 PyObject
*pyobj
= 0;
17048 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17050 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17057 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
17058 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
17063 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
17064 PyObject
*pyobj
= 0;
17068 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17070 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17077 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
17078 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
17083 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
17084 PyObject
*pyobj
= 0;
17088 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17090 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17097 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17098 PyObject
*resultobj
= 0;
17099 wxBMPHandler
*result
= 0 ;
17101 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (wxBMPHandler
*)new wxBMPHandler();
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
17115 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17118 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
17119 return SWIG_Py_Void();
17122 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17123 return SWIG_Python_InitShadowInstance(args
);
17126 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17127 PyObject
*resultobj
= 0;
17128 wxICOHandler
*result
= 0 ;
17130 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxICOHandler
*)new wxICOHandler();
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
17144 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17147 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
17148 return SWIG_Py_Void();
17151 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17152 return SWIG_Python_InitShadowInstance(args
);
17155 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17156 PyObject
*resultobj
= 0;
17157 wxCURHandler
*result
= 0 ;
17159 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (wxCURHandler
*)new wxCURHandler();
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
17173 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17176 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
17177 return SWIG_Py_Void();
17180 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17181 return SWIG_Python_InitShadowInstance(args
);
17184 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17185 PyObject
*resultobj
= 0;
17186 wxANIHandler
*result
= 0 ;
17188 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= (wxANIHandler
*)new wxANIHandler();
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
17202 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17205 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
17206 return SWIG_Py_Void();
17209 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17210 return SWIG_Python_InitShadowInstance(args
);
17213 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17214 PyObject
*resultobj
= 0;
17215 wxPNGHandler
*result
= 0 ;
17217 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (wxPNGHandler
*)new wxPNGHandler();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
17231 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
17235 return SWIG_Py_Void();
17238 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17239 return SWIG_Python_InitShadowInstance(args
);
17242 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17243 PyObject
*resultobj
= 0;
17244 wxGIFHandler
*result
= 0 ;
17246 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (wxGIFHandler
*)new wxGIFHandler();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
17260 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17263 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
17264 return SWIG_Py_Void();
17267 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17268 return SWIG_Python_InitShadowInstance(args
);
17271 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17272 PyObject
*resultobj
= 0;
17273 wxPCXHandler
*result
= 0 ;
17275 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxPCXHandler
*)new wxPCXHandler();
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
17289 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17292 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
17293 return SWIG_Py_Void();
17296 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17297 return SWIG_Python_InitShadowInstance(args
);
17300 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17301 PyObject
*resultobj
= 0;
17302 wxJPEGHandler
*result
= 0 ;
17304 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxJPEGHandler
*)new wxJPEGHandler();
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
17318 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17321 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
17322 return SWIG_Py_Void();
17325 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17326 return SWIG_Python_InitShadowInstance(args
);
17329 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17330 PyObject
*resultobj
= 0;
17331 wxPNMHandler
*result
= 0 ;
17333 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (wxPNMHandler
*)new wxPNMHandler();
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
17347 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
17351 return SWIG_Py_Void();
17354 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17355 return SWIG_Python_InitShadowInstance(args
);
17358 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17359 PyObject
*resultobj
= 0;
17360 wxXPMHandler
*result
= 0 ;
17362 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (wxXPMHandler
*)new wxXPMHandler();
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
17376 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17379 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
17380 return SWIG_Py_Void();
17383 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17384 return SWIG_Python_InitShadowInstance(args
);
17387 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17388 PyObject
*resultobj
= 0;
17389 wxTIFFHandler
*result
= 0 ;
17391 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (wxTIFFHandler
*)new wxTIFFHandler();
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
17405 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17408 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
17409 return SWIG_Py_Void();
17412 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17413 return SWIG_Python_InitShadowInstance(args
);
17416 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
= 0;
17418 wxImage
*arg1
= 0 ;
17419 wxImage
*arg2
= 0 ;
17420 int arg3
= (int) 236 ;
17421 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
17431 PyObject
* obj0
= 0 ;
17432 PyObject
* obj1
= 0 ;
17433 PyObject
* obj2
= 0 ;
17434 PyObject
* obj3
= 0 ;
17435 char * kwnames
[] = {
17436 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
17439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17440 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
17441 if (!SWIG_IsOK(res1
)) {
17442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17447 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
17449 if (!SWIG_IsOK(res2
)) {
17450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17455 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17458 if (!SWIG_IsOK(ecode3
)) {
17459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
17461 arg3
= static_cast< int >(val3
);
17464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17465 if (!SWIG_IsOK(ecode4
)) {
17466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
17468 arg4
= static_cast< int >(val4
);
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17485 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17488 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
17489 return SWIG_Py_Void();
17492 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17493 PyObject
*resultobj
= 0;
17494 wxEvtHandler
*result
= 0 ;
17496 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (wxEvtHandler
*)new wxEvtHandler();
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
17510 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17511 PyObject
*resultobj
= 0;
17512 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17513 wxEvtHandler
*result
= 0 ;
17516 PyObject
*swig_obj
[1] ;
17518 if (!args
) SWIG_fail
;
17519 swig_obj
[0] = args
;
17520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17521 if (!SWIG_IsOK(res1
)) {
17522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17524 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= wxPyMake_wxObject(result
, 0);
17540 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17541 PyObject
*resultobj
= 0;
17542 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17543 wxEvtHandler
*result
= 0 ;
17546 PyObject
*swig_obj
[1] ;
17548 if (!args
) SWIG_fail
;
17549 swig_obj
[0] = args
;
17550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17551 if (!SWIG_IsOK(res1
)) {
17552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17554 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= wxPyMake_wxObject(result
, 0);
17570 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
= 0;
17572 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17573 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 char * kwnames
[] = {
17581 (char *) "self",(char *) "handler", NULL
17584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17586 if (!SWIG_IsOK(res1
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17589 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17591 if (!SWIG_IsOK(res2
)) {
17592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17594 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 (arg1
)->SetNextHandler(arg2
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= SWIG_Py_Void();
17608 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
= 0;
17610 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17611 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 char * kwnames
[] = {
17619 (char *) "self",(char *) "handler", NULL
17622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17624 if (!SWIG_IsOK(res1
)) {
17625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17627 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17629 if (!SWIG_IsOK(res2
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17632 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 (arg1
)->SetPreviousHandler(arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= SWIG_Py_Void();
17646 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17647 PyObject
*resultobj
= 0;
17648 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17652 PyObject
*swig_obj
[1] ;
17654 if (!args
) SWIG_fail
;
17655 swig_obj
[0] = args
;
17656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17657 if (!SWIG_IsOK(res1
)) {
17658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17660 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17676 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
= 0;
17678 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17684 PyObject
* obj0
= 0 ;
17685 PyObject
* obj1
= 0 ;
17686 char * kwnames
[] = {
17687 (char *) "self",(char *) "enabled", NULL
17690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17692 if (!SWIG_IsOK(res1
)) {
17693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17695 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17696 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17697 if (!SWIG_IsOK(ecode2
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
17700 arg2
= static_cast< bool >(val2
);
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 (arg1
)->SetEvtHandlerEnabled(arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_Py_Void();
17714 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
= 0;
17716 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17717 wxEvent
*arg2
= 0 ;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 char * kwnames
[] = {
17726 (char *) "self",(char *) "event", NULL
17729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17731 if (!SWIG_IsOK(res1
)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17734 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17736 if (!SWIG_IsOK(res2
)) {
17737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17742 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17758 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
= 0;
17760 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17761 wxEvent
*arg2
= 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char * kwnames
[] = {
17769 (char *) "self",(char *) "event", NULL
17772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17774 if (!SWIG_IsOK(res1
)) {
17775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17777 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17779 if (!SWIG_IsOK(res2
)) {
17780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17785 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->AddPendingEvent(*arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= SWIG_Py_Void();
17799 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17800 PyObject
*resultobj
= 0;
17801 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17804 PyObject
*swig_obj
[1] ;
17806 if (!args
) SWIG_fail
;
17807 swig_obj
[0] = args
;
17808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17809 if (!SWIG_IsOK(res1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17812 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 (arg1
)->ProcessPendingEvents();
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_Py_Void();
17826 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
= 0;
17828 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17832 PyObject
*arg5
= (PyObject
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 PyObject
* obj3
= 0 ;
17845 PyObject
* obj4
= 0 ;
17846 char * kwnames
[] = {
17847 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
17850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17852 if (!SWIG_IsOK(res1
)) {
17853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17855 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17857 if (!SWIG_IsOK(ecode2
)) {
17858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
17860 arg2
= static_cast< int >(val2
);
17861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17862 if (!SWIG_IsOK(ecode3
)) {
17863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
17865 arg3
= static_cast< int >(val3
);
17866 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17867 if (!SWIG_IsOK(ecode4
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
17870 arg4
= static_cast< int >(val4
);
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_Py_Void();
17885 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
= 0;
17887 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17889 int arg3
= (int) -1 ;
17890 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 PyObject
* obj2
= 0 ;
17903 PyObject
* obj3
= 0 ;
17904 char * kwnames
[] = {
17905 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
17908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17910 if (!SWIG_IsOK(res1
)) {
17911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17913 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17915 if (!SWIG_IsOK(ecode2
)) {
17916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
17918 arg2
= static_cast< int >(val2
);
17920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17921 if (!SWIG_IsOK(ecode3
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
17924 arg3
= static_cast< int >(val3
);
17927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17928 if (!SWIG_IsOK(ecode4
)) {
17929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
17931 arg4
= static_cast< wxEventType
>(val4
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17948 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
= 0;
17950 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17951 PyObject
*arg2
= (PyObject
*) 0 ;
17952 bool arg3
= (bool) true ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 PyObject
* obj2
= 0 ;
17960 char * kwnames
[] = {
17961 (char *) "self",(char *) "_self",(char *) "incref", NULL
17964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17966 if (!SWIG_IsOK(res1
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17969 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17972 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17973 if (!SWIG_IsOK(ecode3
)) {
17974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
17976 arg3
= static_cast< bool >(val3
);
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= SWIG_Py_Void();
17991 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17994 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
17995 return SWIG_Py_Void();
17998 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17999 return SWIG_Python_InitShadowInstance(args
);
18002 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18003 PyObject
*resultobj
= 0;
18004 wxEventType result
;
18006 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (wxEventType
)wxNewEventType();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= SWIG_From_int(static_cast< int >(result
));
18020 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18021 PyObject
*resultobj
= 0;
18022 wxEvent
*arg1
= (wxEvent
*) 0 ;
18025 PyObject
*swig_obj
[1] ;
18027 if (!args
) SWIG_fail
;
18028 swig_obj
[0] = args
;
18029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
18030 if (!SWIG_IsOK(res1
)) {
18031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
18033 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_Py_Void();
18048 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxEvent
*arg1
= (wxEvent
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 char * kwnames
[] = {
18059 (char *) "self",(char *) "typ", NULL
18062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
18067 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18069 if (!SWIG_IsOK(ecode2
)) {
18070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
18072 arg2
= static_cast< wxEventType
>(val2
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetEventType(arg2
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_Py_Void();
18086 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 PyObject
*resultobj
= 0;
18088 wxEvent
*arg1
= (wxEvent
*) 0 ;
18089 wxEventType result
;
18092 PyObject
*swig_obj
[1] ;
18094 if (!args
) SWIG_fail
;
18095 swig_obj
[0] = args
;
18096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
18100 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_From_int(static_cast< int >(result
));
18114 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18115 PyObject
*resultobj
= 0;
18116 wxEvent
*arg1
= (wxEvent
*) 0 ;
18117 wxObject
*result
= 0 ;
18120 PyObject
*swig_obj
[1] ;
18122 if (!args
) SWIG_fail
;
18123 swig_obj
[0] = args
;
18124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18125 if (!SWIG_IsOK(res1
)) {
18126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
18128 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18144 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
= 0;
18146 wxEvent
*arg1
= (wxEvent
*) 0 ;
18147 wxObject
*arg2
= (wxObject
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 char * kwnames
[] = {
18155 (char *) "self",(char *) "obj", NULL
18158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18160 if (!SWIG_IsOK(res1
)) {
18161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
18163 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
18165 if (!SWIG_IsOK(res2
)) {
18166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
18168 arg2
= reinterpret_cast< wxObject
* >(argp2
);
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->SetEventObject(arg2
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_Py_Void();
18182 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18183 PyObject
*resultobj
= 0;
18184 wxEvent
*arg1
= (wxEvent
*) 0 ;
18188 PyObject
*swig_obj
[1] ;
18190 if (!args
) SWIG_fail
;
18191 swig_obj
[0] = args
;
18192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18193 if (!SWIG_IsOK(res1
)) {
18194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
18196 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= SWIG_From_long(static_cast< long >(result
));
18210 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
= 0;
18212 wxEvent
*arg1
= (wxEvent
*) 0 ;
18213 long arg2
= (long) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char * kwnames
[] = {
18221 (char *) "self",(char *) "ts", NULL
18224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18226 if (!SWIG_IsOK(res1
)) {
18227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
18229 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18231 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18232 if (!SWIG_IsOK(ecode2
)) {
18233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
18235 arg2
= static_cast< long >(val2
);
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 (arg1
)->SetTimestamp(arg2
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= SWIG_Py_Void();
18250 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18251 PyObject
*resultobj
= 0;
18252 wxEvent
*arg1
= (wxEvent
*) 0 ;
18256 PyObject
*swig_obj
[1] ;
18258 if (!args
) SWIG_fail
;
18259 swig_obj
[0] = args
;
18260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18261 if (!SWIG_IsOK(res1
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
18264 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (int)((wxEvent
const *)arg1
)->GetId();
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= SWIG_From_int(static_cast< int >(result
));
18278 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
= 0;
18280 wxEvent
*arg1
= (wxEvent
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 char * kwnames
[] = {
18289 (char *) "self",(char *) "Id", NULL
18292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
18297 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18299 if (!SWIG_IsOK(ecode2
)) {
18300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
18302 arg2
= static_cast< int >(val2
);
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 (arg1
)->SetId(arg2
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_Py_Void();
18316 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 PyObject
*resultobj
= 0;
18318 wxEvent
*arg1
= (wxEvent
*) 0 ;
18322 PyObject
*swig_obj
[1] ;
18324 if (!args
) SWIG_fail
;
18325 swig_obj
[0] = args
;
18326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
18330 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18346 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
= 0;
18348 wxEvent
*arg1
= (wxEvent
*) 0 ;
18349 bool arg2
= (bool) true ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 char * kwnames
[] = {
18357 (char *) "self",(char *) "skip", NULL
18360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18362 if (!SWIG_IsOK(res1
)) {
18363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
18365 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18367 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18368 if (!SWIG_IsOK(ecode2
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
18371 arg2
= static_cast< bool >(val2
);
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->Skip(arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= SWIG_Py_Void();
18386 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18387 PyObject
*resultobj
= 0;
18388 wxEvent
*arg1
= (wxEvent
*) 0 ;
18392 PyObject
*swig_obj
[1] ;
18394 if (!args
) SWIG_fail
;
18395 swig_obj
[0] = args
;
18396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18397 if (!SWIG_IsOK(res1
)) {
18398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
18400 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18416 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18417 PyObject
*resultobj
= 0;
18418 wxEvent
*arg1
= (wxEvent
*) 0 ;
18422 PyObject
*swig_obj
[1] ;
18424 if (!args
) SWIG_fail
;
18425 swig_obj
[0] = args
;
18426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18427 if (!SWIG_IsOK(res1
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
18430 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18446 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18447 PyObject
*resultobj
= 0;
18448 wxEvent
*arg1
= (wxEvent
*) 0 ;
18452 PyObject
*swig_obj
[1] ;
18454 if (!args
) SWIG_fail
;
18455 swig_obj
[0] = args
;
18456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18457 if (!SWIG_IsOK(res1
)) {
18458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18460 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (int)(arg1
)->StopPropagation();
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_From_int(static_cast< int >(result
));
18474 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
= 0;
18476 wxEvent
*arg1
= (wxEvent
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 PyObject
* obj1
= 0 ;
18484 char * kwnames
[] = {
18485 (char *) "self",(char *) "propagationLevel", NULL
18488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18490 if (!SWIG_IsOK(res1
)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18493 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18495 if (!SWIG_IsOK(ecode2
)) {
18496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
18498 arg2
= static_cast< int >(val2
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 (arg1
)->ResumePropagation(arg2
);
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_Py_Void();
18512 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 PyObject
*resultobj
= 0;
18514 wxEvent
*arg1
= (wxEvent
*) 0 ;
18515 wxEvent
*result
= 0 ;
18518 PyObject
*swig_obj
[1] ;
18520 if (!args
) SWIG_fail
;
18521 swig_obj
[0] = args
;
18522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18523 if (!SWIG_IsOK(res1
)) {
18524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
18526 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (wxEvent
*)(arg1
)->Clone();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
18540 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18543 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
18544 return SWIG_Py_Void();
18547 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
= 0;
18549 wxEvent
*arg1
= 0 ;
18550 wxPropagationDisabler
*result
= 0 ;
18553 PyObject
* obj0
= 0 ;
18554 char * kwnames
[] = {
18555 (char *) "event", NULL
18558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
18559 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18566 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
18580 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18581 PyObject
*resultobj
= 0;
18582 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
18585 PyObject
*swig_obj
[1] ;
18587 if (!args
) SWIG_fail
;
18588 swig_obj
[0] = args
;
18589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
18590 if (!SWIG_IsOK(res1
)) {
18591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
18593 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_Py_Void();
18608 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18611 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
18612 return SWIG_Py_Void();
18615 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18616 return SWIG_Python_InitShadowInstance(args
);
18619 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
= 0;
18621 wxEvent
*arg1
= 0 ;
18622 wxPropagateOnce
*result
= 0 ;
18625 PyObject
* obj0
= 0 ;
18626 char * kwnames
[] = {
18627 (char *) "event", NULL
18630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
18631 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18632 if (!SWIG_IsOK(res1
)) {
18633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18638 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
18652 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18653 PyObject
*resultobj
= 0;
18654 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
18657 PyObject
*swig_obj
[1] ;
18659 if (!args
) SWIG_fail
;
18660 swig_obj
[0] = args
;
18661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
18662 if (!SWIG_IsOK(res1
)) {
18663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
18665 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= SWIG_Py_Void();
18680 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18683 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
18684 return SWIG_Py_Void();
18687 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18688 return SWIG_Python_InitShadowInstance(args
);
18691 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
= 0;
18693 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18694 int arg2
= (int) 0 ;
18695 wxCommandEvent
*result
= 0 ;
18700 PyObject
* obj0
= 0 ;
18701 PyObject
* obj1
= 0 ;
18702 char * kwnames
[] = {
18703 (char *) "commandType",(char *) "winid", NULL
18706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18708 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18709 if (!SWIG_IsOK(ecode1
)) {
18710 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18712 arg1
= static_cast< wxEventType
>(val1
);
18715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18716 if (!SWIG_IsOK(ecode2
)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
18719 arg2
= static_cast< int >(val2
);
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
18734 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18735 PyObject
*resultobj
= 0;
18736 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18740 PyObject
*swig_obj
[1] ;
18742 if (!args
) SWIG_fail
;
18743 swig_obj
[0] = args
;
18744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18745 if (!SWIG_IsOK(res1
)) {
18746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18748 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= SWIG_From_int(static_cast< int >(result
));
18762 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
= 0;
18764 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18765 wxString
*arg2
= 0 ;
18768 bool temp2
= false ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 char * kwnames
[] = {
18772 (char *) "self",(char *) "s", NULL
18775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18777 if (!SWIG_IsOK(res1
)) {
18778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18780 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18782 arg2
= wxString_in_helper(obj1
);
18783 if (arg2
== NULL
) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 (arg1
)->SetString((wxString
const &)*arg2
);
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_Py_Void();
18807 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18808 PyObject
*resultobj
= 0;
18809 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18813 PyObject
*swig_obj
[1] ;
18815 if (!args
) SWIG_fail
;
18816 swig_obj
[0] = args
;
18817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18818 if (!SWIG_IsOK(res1
)) {
18819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18821 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 result
= ((wxCommandEvent
const *)arg1
)->GetString();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18841 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18842 PyObject
*resultobj
= 0;
18843 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18847 PyObject
*swig_obj
[1] ;
18849 if (!args
) SWIG_fail
;
18850 swig_obj
[0] = args
;
18851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18852 if (!SWIG_IsOK(res1
)) {
18853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18855 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18871 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18872 PyObject
*resultobj
= 0;
18873 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18877 PyObject
*swig_obj
[1] ;
18879 if (!args
) SWIG_fail
;
18880 swig_obj
[0] = args
;
18881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18882 if (!SWIG_IsOK(res1
)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18885 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18901 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
= 0;
18903 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18909 PyObject
* obj0
= 0 ;
18910 PyObject
* obj1
= 0 ;
18911 char * kwnames
[] = {
18912 (char *) "self",(char *) "extraLong", NULL
18915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18917 if (!SWIG_IsOK(res1
)) {
18918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18920 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18922 if (!SWIG_IsOK(ecode2
)) {
18923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
18925 arg2
= static_cast< long >(val2
);
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 (arg1
)->SetExtraLong(arg2
);
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= SWIG_Py_Void();
18939 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18940 PyObject
*resultobj
= 0;
18941 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18945 PyObject
*swig_obj
[1] ;
18947 if (!args
) SWIG_fail
;
18948 swig_obj
[0] = args
;
18949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18950 if (!SWIG_IsOK(res1
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18953 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_From_long(static_cast< long >(result
));
18967 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
= 0;
18969 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18975 PyObject
* obj0
= 0 ;
18976 PyObject
* obj1
= 0 ;
18977 char * kwnames
[] = {
18978 (char *) "self",(char *) "i", NULL
18981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18983 if (!SWIG_IsOK(res1
)) {
18984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18986 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18988 if (!SWIG_IsOK(ecode2
)) {
18989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
18991 arg2
= static_cast< int >(val2
);
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 (arg1
)->SetInt(arg2
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= SWIG_Py_Void();
19005 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19006 PyObject
*resultobj
= 0;
19007 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19011 PyObject
*swig_obj
[1] ;
19013 if (!args
) SWIG_fail
;
19014 swig_obj
[0] = args
;
19015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19019 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= SWIG_From_long(static_cast< long >(result
));
19033 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19034 PyObject
*resultobj
= 0;
19035 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19036 PyObject
*result
= 0 ;
19039 PyObject
*swig_obj
[1] ;
19041 if (!args
) SWIG_fail
;
19042 swig_obj
[0] = args
;
19043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19044 if (!SWIG_IsOK(res1
)) {
19045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19047 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= result
;
19061 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
= 0;
19063 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19064 PyObject
*arg2
= (PyObject
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 char * kwnames
[] = {
19070 (char *) "self",(char *) "clientData", NULL
19073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19075 if (!SWIG_IsOK(res1
)) {
19076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19078 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 wxCommandEvent_SetClientData(arg1
,arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_Py_Void();
19093 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19094 PyObject
*resultobj
= 0;
19095 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19096 wxEvent
*result
= 0 ;
19099 PyObject
*swig_obj
[1] ;
19101 if (!args
) SWIG_fail
;
19102 swig_obj
[0] = args
;
19103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19104 if (!SWIG_IsOK(res1
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19107 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
19121 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19124 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
19125 return SWIG_Py_Void();
19128 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19129 return SWIG_Python_InitShadowInstance(args
);
19132 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
= 0;
19134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19135 int arg2
= (int) 0 ;
19136 wxNotifyEvent
*result
= 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "commandType",(char *) "winid", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19150 if (!SWIG_IsOK(ecode1
)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19153 arg1
= static_cast< wxEventType
>(val1
);
19156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19157 if (!SWIG_IsOK(ecode2
)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
19160 arg2
= static_cast< int >(val2
);
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
19175 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19176 PyObject
*resultobj
= 0;
19177 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19180 PyObject
*swig_obj
[1] ;
19182 if (!args
) SWIG_fail
;
19183 swig_obj
[0] = args
;
19184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19185 if (!SWIG_IsOK(res1
)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19188 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_Py_Void();
19202 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19203 PyObject
*resultobj
= 0;
19204 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19207 PyObject
*swig_obj
[1] ;
19209 if (!args
) SWIG_fail
;
19210 swig_obj
[0] = args
;
19211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19212 if (!SWIG_IsOK(res1
)) {
19213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19215 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= SWIG_Py_Void();
19229 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19230 PyObject
*resultobj
= 0;
19231 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19235 PyObject
*swig_obj
[1] ;
19237 if (!args
) SWIG_fail
;
19238 swig_obj
[0] = args
;
19239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19243 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (bool)(arg1
)->IsAllowed();
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19259 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19262 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
19263 return SWIG_Py_Void();
19266 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19267 return SWIG_Python_InitShadowInstance(args
);
19270 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19273 int arg2
= (int) 0 ;
19274 int arg3
= (int) 0 ;
19275 int arg4
= (int) 0 ;
19276 wxScrollEvent
*result
= 0 ;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 PyObject
* obj2
= 0 ;
19288 PyObject
* obj3
= 0 ;
19289 char * kwnames
[] = {
19290 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
19293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19295 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19296 if (!SWIG_IsOK(ecode1
)) {
19297 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19299 arg1
= static_cast< wxEventType
>(val1
);
19302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19303 if (!SWIG_IsOK(ecode2
)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
19306 arg2
= static_cast< int >(val2
);
19309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19310 if (!SWIG_IsOK(ecode3
)) {
19311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
19313 arg3
= static_cast< int >(val3
);
19316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19317 if (!SWIG_IsOK(ecode4
)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
19320 arg4
= static_cast< int >(val4
);
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
19335 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19336 PyObject
*resultobj
= 0;
19337 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19341 PyObject
*swig_obj
[1] ;
19343 if (!args
) SWIG_fail
;
19344 swig_obj
[0] = args
;
19345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19349 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_From_int(static_cast< int >(result
));
19363 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19364 PyObject
*resultobj
= 0;
19365 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19369 PyObject
*swig_obj
[1] ;
19371 if (!args
) SWIG_fail
;
19372 swig_obj
[0] = args
;
19373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19374 if (!SWIG_IsOK(res1
)) {
19375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19377 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_From_int(static_cast< int >(result
));
19391 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
= 0;
19393 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "orient", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19410 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19412 if (!SWIG_IsOK(ecode2
)) {
19413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19415 arg2
= static_cast< int >(val2
);
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetOrientation(arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= 0;
19431 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19437 PyObject
* obj0
= 0 ;
19438 PyObject
* obj1
= 0 ;
19439 char * kwnames
[] = {
19440 (char *) "self",(char *) "pos", NULL
19443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19445 if (!SWIG_IsOK(res1
)) {
19446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19448 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19450 if (!SWIG_IsOK(ecode2
)) {
19451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19453 arg2
= static_cast< int >(val2
);
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 (arg1
)->SetPosition(arg2
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_Py_Void();
19467 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19470 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
19471 return SWIG_Py_Void();
19474 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19475 return SWIG_Python_InitShadowInstance(args
);
19478 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
= 0;
19480 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19481 int arg2
= (int) 0 ;
19482 int arg3
= (int) 0 ;
19483 wxScrollWinEvent
*result
= 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 PyObject
* obj2
= 0 ;
19493 char * kwnames
[] = {
19494 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
19497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19499 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19500 if (!SWIG_IsOK(ecode1
)) {
19501 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19503 arg1
= static_cast< wxEventType
>(val1
);
19506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19507 if (!SWIG_IsOK(ecode2
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
19510 arg2
= static_cast< int >(val2
);
19513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19514 if (!SWIG_IsOK(ecode3
)) {
19515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
19517 arg3
= static_cast< int >(val3
);
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
19532 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19533 PyObject
*resultobj
= 0;
19534 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19538 PyObject
*swig_obj
[1] ;
19540 if (!args
) SWIG_fail
;
19541 swig_obj
[0] = args
;
19542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19543 if (!SWIG_IsOK(res1
)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19546 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_From_int(static_cast< int >(result
));
19560 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19561 PyObject
*resultobj
= 0;
19562 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19566 PyObject
*swig_obj
[1] ;
19568 if (!args
) SWIG_fail
;
19569 swig_obj
[0] = args
;
19570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19574 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_From_int(static_cast< int >(result
));
19588 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
= 0;
19590 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19596 PyObject
* obj0
= 0 ;
19597 PyObject
* obj1
= 0 ;
19598 char * kwnames
[] = {
19599 (char *) "self",(char *) "orient", NULL
19602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19604 if (!SWIG_IsOK(res1
)) {
19605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19607 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19609 if (!SWIG_IsOK(ecode2
)) {
19610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19612 arg2
= static_cast< int >(val2
);
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 (arg1
)->SetOrientation(arg2
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= SWIG_Py_Void();
19626 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
= 0;
19628 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19634 PyObject
* obj0
= 0 ;
19635 PyObject
* obj1
= 0 ;
19636 char * kwnames
[] = {
19637 (char *) "self",(char *) "pos", NULL
19640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19642 if (!SWIG_IsOK(res1
)) {
19643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19645 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19647 if (!SWIG_IsOK(ecode2
)) {
19648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19650 arg2
= static_cast< int >(val2
);
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 (arg1
)->SetPosition(arg2
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_Py_Void();
19664 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19667 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
19668 return SWIG_Py_Void();
19671 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19672 return SWIG_Python_InitShadowInstance(args
);
19675 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
= 0;
19677 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19678 wxMouseEvent
*result
= 0 ;
19681 PyObject
* obj0
= 0 ;
19682 char * kwnames
[] = {
19683 (char *) "mouseType", NULL
19686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
19688 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19689 if (!SWIG_IsOK(ecode1
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19692 arg1
= static_cast< wxEventType
>(val1
);
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
19709 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19710 PyObject
*resultobj
= 0;
19711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19715 PyObject
*swig_obj
[1] ;
19717 if (!args
) SWIG_fail
;
19718 swig_obj
[0] = args
;
19719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19720 if (!SWIG_IsOK(res1
)) {
19721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19723 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19739 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
= 0;
19741 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19742 int arg2
= (int) wxMOUSE_BTN_ANY
;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char * kwnames
[] = {
19751 (char *) "self",(char *) "but", NULL
19754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19759 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19762 if (!SWIG_IsOK(ecode2
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
19765 arg2
= static_cast< int >(val2
);
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19782 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
= 0;
19784 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19785 int arg2
= (int) wxMOUSE_BTN_ANY
;
19791 PyObject
* obj0
= 0 ;
19792 PyObject
* obj1
= 0 ;
19793 char * kwnames
[] = {
19794 (char *) "self",(char *) "but", NULL
19797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19799 if (!SWIG_IsOK(res1
)) {
19800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19802 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19805 if (!SWIG_IsOK(ecode2
)) {
19806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
19808 arg2
= static_cast< int >(val2
);
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19825 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
= 0;
19827 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19828 int arg2
= (int) wxMOUSE_BTN_ANY
;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char * kwnames
[] = {
19837 (char *) "self",(char *) "but", NULL
19840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19842 if (!SWIG_IsOK(res1
)) {
19843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19845 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19848 if (!SWIG_IsOK(ecode2
)) {
19849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
19851 arg2
= static_cast< int >(val2
);
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19868 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
= 0;
19870 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 char * kwnames
[] = {
19880 (char *) "self",(char *) "button", NULL
19883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19885 if (!SWIG_IsOK(res1
)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19888 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19890 if (!SWIG_IsOK(ecode2
)) {
19891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
19893 arg2
= static_cast< int >(val2
);
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19909 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
= 0;
19911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 PyObject
* obj1
= 0 ;
19920 char * kwnames
[] = {
19921 (char *) "self",(char *) "but", NULL
19924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19926 if (!SWIG_IsOK(res1
)) {
19927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19929 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19931 if (!SWIG_IsOK(ecode2
)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
19934 arg2
= static_cast< int >(val2
);
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19950 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19951 PyObject
*resultobj
= 0;
19952 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19956 PyObject
*swig_obj
[1] ;
19958 if (!args
) SWIG_fail
;
19959 swig_obj
[0] = args
;
19960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19961 if (!SWIG_IsOK(res1
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19964 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= SWIG_From_int(static_cast< int >(result
));
19978 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19979 PyObject
*resultobj
= 0;
19980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19984 PyObject
*swig_obj
[1] ;
19986 if (!args
) SWIG_fail
;
19987 swig_obj
[0] = args
;
19988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19989 if (!SWIG_IsOK(res1
)) {
19990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19992 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20008 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20009 PyObject
*resultobj
= 0;
20010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20014 PyObject
*swig_obj
[1] ;
20016 if (!args
) SWIG_fail
;
20017 swig_obj
[0] = args
;
20018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20019 if (!SWIG_IsOK(res1
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20022 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20038 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20039 PyObject
*resultobj
= 0;
20040 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20044 PyObject
*swig_obj
[1] ;
20046 if (!args
) SWIG_fail
;
20047 swig_obj
[0] = args
;
20048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20049 if (!SWIG_IsOK(res1
)) {
20050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20052 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20068 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20069 PyObject
*resultobj
= 0;
20070 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20074 PyObject
*swig_obj
[1] ;
20076 if (!args
) SWIG_fail
;
20077 swig_obj
[0] = args
;
20078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20082 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20098 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20099 PyObject
*resultobj
= 0;
20100 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20104 PyObject
*swig_obj
[1] ;
20106 if (!args
) SWIG_fail
;
20107 swig_obj
[0] = args
;
20108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20112 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20128 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20129 PyObject
*resultobj
= 0;
20130 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20134 PyObject
*swig_obj
[1] ;
20136 if (!args
) SWIG_fail
;
20137 swig_obj
[0] = args
;
20138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20139 if (!SWIG_IsOK(res1
)) {
20140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20142 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20158 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20159 PyObject
*resultobj
= 0;
20160 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20164 PyObject
*swig_obj
[1] ;
20166 if (!args
) SWIG_fail
;
20167 swig_obj
[0] = args
;
20168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20169 if (!SWIG_IsOK(res1
)) {
20170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20172 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20188 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20189 PyObject
*resultobj
= 0;
20190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20194 PyObject
*swig_obj
[1] ;
20196 if (!args
) SWIG_fail
;
20197 swig_obj
[0] = args
;
20198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20199 if (!SWIG_IsOK(res1
)) {
20200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20202 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20218 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20219 PyObject
*resultobj
= 0;
20220 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20224 PyObject
*swig_obj
[1] ;
20226 if (!args
) SWIG_fail
;
20227 swig_obj
[0] = args
;
20228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20229 if (!SWIG_IsOK(res1
)) {
20230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20232 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20248 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20249 PyObject
*resultobj
= 0;
20250 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20254 PyObject
*swig_obj
[1] ;
20256 if (!args
) SWIG_fail
;
20257 swig_obj
[0] = args
;
20258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20262 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20278 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20279 PyObject
*resultobj
= 0;
20280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20284 PyObject
*swig_obj
[1] ;
20286 if (!args
) SWIG_fail
;
20287 swig_obj
[0] = args
;
20288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20289 if (!SWIG_IsOK(res1
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20292 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20308 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20309 PyObject
*resultobj
= 0;
20310 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20314 PyObject
*swig_obj
[1] ;
20316 if (!args
) SWIG_fail
;
20317 swig_obj
[0] = args
;
20318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20319 if (!SWIG_IsOK(res1
)) {
20320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20322 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20338 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20339 PyObject
*resultobj
= 0;
20340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20344 PyObject
*swig_obj
[1] ;
20346 if (!args
) SWIG_fail
;
20347 swig_obj
[0] = args
;
20348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20349 if (!SWIG_IsOK(res1
)) {
20350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20352 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20368 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20369 PyObject
*resultobj
= 0;
20370 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20374 PyObject
*swig_obj
[1] ;
20376 if (!args
) SWIG_fail
;
20377 swig_obj
[0] = args
;
20378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20379 if (!SWIG_IsOK(res1
)) {
20380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20382 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20398 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20399 PyObject
*resultobj
= 0;
20400 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20404 PyObject
*swig_obj
[1] ;
20406 if (!args
) SWIG_fail
;
20407 swig_obj
[0] = args
;
20408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20409 if (!SWIG_IsOK(res1
)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20412 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (bool)(arg1
)->LeftIsDown();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20428 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20429 PyObject
*resultobj
= 0;
20430 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20434 PyObject
*swig_obj
[1] ;
20436 if (!args
) SWIG_fail
;
20437 swig_obj
[0] = args
;
20438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20439 if (!SWIG_IsOK(res1
)) {
20440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20442 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (bool)(arg1
)->MiddleIsDown();
20446 wxPyEndAllowThreads(__tstate
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20458 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20459 PyObject
*resultobj
= 0;
20460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20464 PyObject
*swig_obj
[1] ;
20466 if (!args
) SWIG_fail
;
20467 swig_obj
[0] = args
;
20468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20469 if (!SWIG_IsOK(res1
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20472 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (bool)(arg1
)->RightIsDown();
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20488 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20489 PyObject
*resultobj
= 0;
20490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20494 PyObject
*swig_obj
[1] ;
20496 if (!args
) SWIG_fail
;
20497 swig_obj
[0] = args
;
20498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20499 if (!SWIG_IsOK(res1
)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20502 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20518 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20519 PyObject
*resultobj
= 0;
20520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20524 PyObject
*swig_obj
[1] ;
20526 if (!args
) SWIG_fail
;
20527 swig_obj
[0] = args
;
20528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20529 if (!SWIG_IsOK(res1
)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20532 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20548 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20549 PyObject
*resultobj
= 0;
20550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20554 PyObject
*swig_obj
[1] ;
20556 if (!args
) SWIG_fail
;
20557 swig_obj
[0] = args
;
20558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20562 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20578 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20579 PyObject
*resultobj
= 0;
20580 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20584 PyObject
*swig_obj
[1] ;
20586 if (!args
) SWIG_fail
;
20587 swig_obj
[0] = args
;
20588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20592 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20608 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20609 PyObject
*resultobj
= 0;
20610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20614 PyObject
*swig_obj
[1] ;
20616 if (!args
) SWIG_fail
;
20617 swig_obj
[0] = args
;
20618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20619 if (!SWIG_IsOK(res1
)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20622 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (arg1
)->GetPosition();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20636 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20637 PyObject
*resultobj
= 0;
20638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20639 long *arg2
= (long *) 0 ;
20640 long *arg3
= (long *) 0 ;
20644 int res2
= SWIG_TMPOBJ
;
20646 int res3
= SWIG_TMPOBJ
;
20647 PyObject
*swig_obj
[1] ;
20651 if (!args
) SWIG_fail
;
20652 swig_obj
[0] = args
;
20653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20654 if (!SWIG_IsOK(res1
)) {
20655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20657 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 (arg1
)->GetPosition(arg2
,arg3
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 resultobj
= SWIG_Py_Void();
20665 if (SWIG_IsTmpObj(res2
)) {
20666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
20668 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
20671 if (SWIG_IsTmpObj(res3
)) {
20672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20683 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 char * kwnames
[] = {
20695 (char *) "self",(char *) "dc", NULL
20698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20700 if (!SWIG_IsOK(res1
)) {
20701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20703 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
20705 if (!SWIG_IsOK(res2
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20711 arg2
= reinterpret_cast< wxDC
* >(argp2
);
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20725 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20726 PyObject
*resultobj
= 0;
20727 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20731 PyObject
*swig_obj
[1] ;
20733 if (!args
) SWIG_fail
;
20734 swig_obj
[0] = args
;
20735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20736 if (!SWIG_IsOK(res1
)) {
20737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20739 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_From_int(static_cast< int >(result
));
20753 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20754 PyObject
*resultobj
= 0;
20755 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20759 PyObject
*swig_obj
[1] ;
20761 if (!args
) SWIG_fail
;
20762 swig_obj
[0] = args
;
20763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20764 if (!SWIG_IsOK(res1
)) {
20765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20767 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_From_int(static_cast< int >(result
));
20781 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20782 PyObject
*resultobj
= 0;
20783 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20787 PyObject
*swig_obj
[1] ;
20789 if (!args
) SWIG_fail
;
20790 swig_obj
[0] = args
;
20791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20795 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_From_int(static_cast< int >(result
));
20809 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20810 PyObject
*resultobj
= 0;
20811 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20815 PyObject
*swig_obj
[1] ;
20817 if (!args
) SWIG_fail
;
20818 swig_obj
[0] = args
;
20819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20820 if (!SWIG_IsOK(res1
)) {
20821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20823 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= SWIG_From_int(static_cast< int >(result
));
20837 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20838 PyObject
*resultobj
= 0;
20839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20843 PyObject
*swig_obj
[1] ;
20845 if (!args
) SWIG_fail
;
20846 swig_obj
[0] = args
;
20847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20848 if (!SWIG_IsOK(res1
)) {
20849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20851 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_From_int(static_cast< int >(result
));
20865 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20866 PyObject
*resultobj
= 0;
20867 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20871 PyObject
*swig_obj
[1] ;
20873 if (!args
) SWIG_fail
;
20874 swig_obj
[0] = args
;
20875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20876 if (!SWIG_IsOK(res1
)) {
20877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20879 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20895 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20896 PyObject
*resultobj
= 0;
20897 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20903 PyObject
*swig_obj
[2] ;
20905 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
20906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20907 if (!SWIG_IsOK(res1
)) {
20908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20910 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20911 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
20912 if (!SWIG_IsOK(ecode2
)) {
20913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
20915 arg2
= static_cast< int >(val2
);
20916 if (arg1
) (arg1
)->m_x
= arg2
;
20918 resultobj
= SWIG_Py_Void();
20925 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20926 PyObject
*resultobj
= 0;
20927 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20931 PyObject
*swig_obj
[1] ;
20933 if (!args
) SWIG_fail
;
20934 swig_obj
[0] = args
;
20935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20936 if (!SWIG_IsOK(res1
)) {
20937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20939 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20940 result
= (int) ((arg1
)->m_x
);
20941 resultobj
= SWIG_From_int(static_cast< int >(result
));
20948 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20949 PyObject
*resultobj
= 0;
20950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20956 PyObject
*swig_obj
[2] ;
20958 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
20959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20960 if (!SWIG_IsOK(res1
)) {
20961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20963 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20964 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
20965 if (!SWIG_IsOK(ecode2
)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
20968 arg2
= static_cast< int >(val2
);
20969 if (arg1
) (arg1
)->m_y
= arg2
;
20971 resultobj
= SWIG_Py_Void();
20978 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20979 PyObject
*resultobj
= 0;
20980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20984 PyObject
*swig_obj
[1] ;
20986 if (!args
) SWIG_fail
;
20987 swig_obj
[0] = args
;
20988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20989 if (!SWIG_IsOK(res1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20992 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20993 result
= (int) ((arg1
)->m_y
);
20994 resultobj
= SWIG_From_int(static_cast< int >(result
));
21001 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21002 PyObject
*resultobj
= 0;
21003 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21009 PyObject
*swig_obj
[2] ;
21011 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
21012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21016 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21017 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21018 if (!SWIG_IsOK(ecode2
)) {
21019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
21021 arg2
= static_cast< bool >(val2
);
21022 if (arg1
) (arg1
)->m_leftDown
= arg2
;
21024 resultobj
= SWIG_Py_Void();
21031 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21032 PyObject
*resultobj
= 0;
21033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21037 PyObject
*swig_obj
[1] ;
21039 if (!args
) SWIG_fail
;
21040 swig_obj
[0] = args
;
21041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21042 if (!SWIG_IsOK(res1
)) {
21043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21045 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21046 result
= (bool) ((arg1
)->m_leftDown
);
21048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21056 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21057 PyObject
*resultobj
= 0;
21058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21064 PyObject
*swig_obj
[2] ;
21066 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
21067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21068 if (!SWIG_IsOK(res1
)) {
21069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21071 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21072 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21073 if (!SWIG_IsOK(ecode2
)) {
21074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
21076 arg2
= static_cast< bool >(val2
);
21077 if (arg1
) (arg1
)->m_middleDown
= arg2
;
21079 resultobj
= SWIG_Py_Void();
21086 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21087 PyObject
*resultobj
= 0;
21088 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21092 PyObject
*swig_obj
[1] ;
21094 if (!args
) SWIG_fail
;
21095 swig_obj
[0] = args
;
21096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21100 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21101 result
= (bool) ((arg1
)->m_middleDown
);
21103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21111 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21112 PyObject
*resultobj
= 0;
21113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21119 PyObject
*swig_obj
[2] ;
21121 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
21122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21126 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21127 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21128 if (!SWIG_IsOK(ecode2
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
21131 arg2
= static_cast< bool >(val2
);
21132 if (arg1
) (arg1
)->m_rightDown
= arg2
;
21134 resultobj
= SWIG_Py_Void();
21141 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21142 PyObject
*resultobj
= 0;
21143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21147 PyObject
*swig_obj
[1] ;
21149 if (!args
) SWIG_fail
;
21150 swig_obj
[0] = args
;
21151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21152 if (!SWIG_IsOK(res1
)) {
21153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21155 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21156 result
= (bool) ((arg1
)->m_rightDown
);
21158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21166 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21167 PyObject
*resultobj
= 0;
21168 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21174 PyObject
*swig_obj
[2] ;
21176 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
21177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21178 if (!SWIG_IsOK(res1
)) {
21179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21181 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21182 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21183 if (!SWIG_IsOK(ecode2
)) {
21184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
21186 arg2
= static_cast< bool >(val2
);
21187 if (arg1
) (arg1
)->m_controlDown
= arg2
;
21189 resultobj
= SWIG_Py_Void();
21196 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21197 PyObject
*resultobj
= 0;
21198 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21202 PyObject
*swig_obj
[1] ;
21204 if (!args
) SWIG_fail
;
21205 swig_obj
[0] = args
;
21206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21207 if (!SWIG_IsOK(res1
)) {
21208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21210 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21211 result
= (bool) ((arg1
)->m_controlDown
);
21213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21221 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21222 PyObject
*resultobj
= 0;
21223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21229 PyObject
*swig_obj
[2] ;
21231 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
21232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21233 if (!SWIG_IsOK(res1
)) {
21234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21236 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21237 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21238 if (!SWIG_IsOK(ecode2
)) {
21239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
21241 arg2
= static_cast< bool >(val2
);
21242 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
21244 resultobj
= SWIG_Py_Void();
21251 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21252 PyObject
*resultobj
= 0;
21253 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21257 PyObject
*swig_obj
[1] ;
21259 if (!args
) SWIG_fail
;
21260 swig_obj
[0] = args
;
21261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21265 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21266 result
= (bool) ((arg1
)->m_shiftDown
);
21268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21276 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21277 PyObject
*resultobj
= 0;
21278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21284 PyObject
*swig_obj
[2] ;
21286 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
21287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21291 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21292 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21293 if (!SWIG_IsOK(ecode2
)) {
21294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
21296 arg2
= static_cast< bool >(val2
);
21297 if (arg1
) (arg1
)->m_altDown
= arg2
;
21299 resultobj
= SWIG_Py_Void();
21306 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21307 PyObject
*resultobj
= 0;
21308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21312 PyObject
*swig_obj
[1] ;
21314 if (!args
) SWIG_fail
;
21315 swig_obj
[0] = args
;
21316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21317 if (!SWIG_IsOK(res1
)) {
21318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21320 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21321 result
= (bool) ((arg1
)->m_altDown
);
21323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21331 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21332 PyObject
*resultobj
= 0;
21333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21339 PyObject
*swig_obj
[2] ;
21341 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
21342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21343 if (!SWIG_IsOK(res1
)) {
21344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21346 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21347 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21348 if (!SWIG_IsOK(ecode2
)) {
21349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
21351 arg2
= static_cast< bool >(val2
);
21352 if (arg1
) (arg1
)->m_metaDown
= arg2
;
21354 resultobj
= SWIG_Py_Void();
21361 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21362 PyObject
*resultobj
= 0;
21363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21367 PyObject
*swig_obj
[1] ;
21369 if (!args
) SWIG_fail
;
21370 swig_obj
[0] = args
;
21371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21372 if (!SWIG_IsOK(res1
)) {
21373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21375 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21376 result
= (bool) ((arg1
)->m_metaDown
);
21378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21386 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21387 PyObject
*resultobj
= 0;
21388 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21394 PyObject
*swig_obj
[2] ;
21396 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
21397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21398 if (!SWIG_IsOK(res1
)) {
21399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21401 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21402 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21403 if (!SWIG_IsOK(ecode2
)) {
21404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
21406 arg2
= static_cast< int >(val2
);
21407 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
21409 resultobj
= SWIG_Py_Void();
21416 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21417 PyObject
*resultobj
= 0;
21418 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21422 PyObject
*swig_obj
[1] ;
21424 if (!args
) SWIG_fail
;
21425 swig_obj
[0] = args
;
21426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21427 if (!SWIG_IsOK(res1
)) {
21428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21430 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21431 result
= (int) ((arg1
)->m_wheelRotation
);
21432 resultobj
= SWIG_From_int(static_cast< int >(result
));
21439 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21440 PyObject
*resultobj
= 0;
21441 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21447 PyObject
*swig_obj
[2] ;
21449 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
21450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21451 if (!SWIG_IsOK(res1
)) {
21452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21454 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21455 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21456 if (!SWIG_IsOK(ecode2
)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
21459 arg2
= static_cast< int >(val2
);
21460 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
21462 resultobj
= SWIG_Py_Void();
21469 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21470 PyObject
*resultobj
= 0;
21471 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21475 PyObject
*swig_obj
[1] ;
21477 if (!args
) SWIG_fail
;
21478 swig_obj
[0] = args
;
21479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21480 if (!SWIG_IsOK(res1
)) {
21481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21483 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21484 result
= (int) ((arg1
)->m_wheelDelta
);
21485 resultobj
= SWIG_From_int(static_cast< int >(result
));
21492 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21493 PyObject
*resultobj
= 0;
21494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21500 PyObject
*swig_obj
[2] ;
21502 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
21503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21504 if (!SWIG_IsOK(res1
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21507 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21508 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21509 if (!SWIG_IsOK(ecode2
)) {
21510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
21512 arg2
= static_cast< int >(val2
);
21513 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
21515 resultobj
= SWIG_Py_Void();
21522 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21523 PyObject
*resultobj
= 0;
21524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21528 PyObject
*swig_obj
[1] ;
21530 if (!args
) SWIG_fail
;
21531 swig_obj
[0] = args
;
21532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21536 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21537 result
= (int) ((arg1
)->m_linesPerAction
);
21538 resultobj
= SWIG_From_int(static_cast< int >(result
));
21545 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21548 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
21549 return SWIG_Py_Void();
21552 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21553 return SWIG_Python_InitShadowInstance(args
);
21556 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
= 0;
21558 int arg1
= (int) 0 ;
21559 int arg2
= (int) 0 ;
21560 wxSetCursorEvent
*result
= 0 ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 char * kwnames
[] = {
21568 (char *) "x",(char *) "y", NULL
21571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21573 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21574 if (!SWIG_IsOK(ecode1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
21577 arg1
= static_cast< int >(val1
);
21580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21581 if (!SWIG_IsOK(ecode2
)) {
21582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
21584 arg2
= static_cast< int >(val2
);
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
21599 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21600 PyObject
*resultobj
= 0;
21601 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21605 PyObject
*swig_obj
[1] ;
21607 if (!args
) SWIG_fail
;
21608 swig_obj
[0] = args
;
21609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21610 if (!SWIG_IsOK(res1
)) {
21611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21613 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_From_int(static_cast< int >(result
));
21627 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21628 PyObject
*resultobj
= 0;
21629 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21633 PyObject
*swig_obj
[1] ;
21635 if (!args
) SWIG_fail
;
21636 swig_obj
[0] = args
;
21637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21641 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= SWIG_From_int(static_cast< int >(result
));
21655 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
= 0;
21657 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21658 wxCursor
*arg2
= 0 ;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 char * kwnames
[] = {
21666 (char *) "self",(char *) "cursor", NULL
21669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21671 if (!SWIG_IsOK(res1
)) {
21672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
21674 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
21676 if (!SWIG_IsOK(res2
)) {
21677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21682 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_Py_Void();
21696 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21697 PyObject
*resultobj
= 0;
21698 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21699 wxCursor
*result
= 0 ;
21702 PyObject
*swig_obj
[1] ;
21704 if (!args
) SWIG_fail
;
21705 swig_obj
[0] = args
;
21706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21707 if (!SWIG_IsOK(res1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21710 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
21715 result
= (wxCursor
*) &_result_ref
;
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21721 wxCursor
* resultptr
= new wxCursor(*result
);
21722 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
21730 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21731 PyObject
*resultobj
= 0;
21732 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21736 PyObject
*swig_obj
[1] ;
21738 if (!args
) SWIG_fail
;
21739 swig_obj
[0] = args
;
21740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21741 if (!SWIG_IsOK(res1
)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21744 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21760 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21763 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
21764 return SWIG_Py_Void();
21767 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21768 return SWIG_Python_InitShadowInstance(args
);
21771 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
= 0;
21773 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21774 wxKeyEvent
*result
= 0 ;
21777 PyObject
* obj0
= 0 ;
21778 char * kwnames
[] = {
21779 (char *) "eventType", NULL
21782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
21784 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21785 if (!SWIG_IsOK(ecode1
)) {
21786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21788 arg1
= static_cast< wxEventType
>(val1
);
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
21803 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21804 PyObject
*resultobj
= 0;
21805 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21809 PyObject
*swig_obj
[1] ;
21811 if (!args
) SWIG_fail
;
21812 swig_obj
[0] = args
;
21813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21814 if (!SWIG_IsOK(res1
)) {
21815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21817 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_From_int(static_cast< int >(result
));
21831 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21832 PyObject
*resultobj
= 0;
21833 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21837 PyObject
*swig_obj
[1] ;
21839 if (!args
) SWIG_fail
;
21840 swig_obj
[0] = args
;
21841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21842 if (!SWIG_IsOK(res1
)) {
21843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21845 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21861 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21862 PyObject
*resultobj
= 0;
21863 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21867 PyObject
*swig_obj
[1] ;
21869 if (!args
) SWIG_fail
;
21870 swig_obj
[0] = args
;
21871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21872 if (!SWIG_IsOK(res1
)) {
21873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21875 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21891 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21892 PyObject
*resultobj
= 0;
21893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21897 PyObject
*swig_obj
[1] ;
21899 if (!args
) SWIG_fail
;
21900 swig_obj
[0] = args
;
21901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21902 if (!SWIG_IsOK(res1
)) {
21903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21905 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21921 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21922 PyObject
*resultobj
= 0;
21923 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21927 PyObject
*swig_obj
[1] ;
21929 if (!args
) SWIG_fail
;
21930 swig_obj
[0] = args
;
21931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21932 if (!SWIG_IsOK(res1
)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21935 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21951 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21952 PyObject
*resultobj
= 0;
21953 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21957 PyObject
*swig_obj
[1] ;
21959 if (!args
) SWIG_fail
;
21960 swig_obj
[0] = args
;
21961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21962 if (!SWIG_IsOK(res1
)) {
21963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21965 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21981 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21982 PyObject
*resultobj
= 0;
21983 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21987 PyObject
*swig_obj
[1] ;
21989 if (!args
) SWIG_fail
;
21990 swig_obj
[0] = args
;
21991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21992 if (!SWIG_IsOK(res1
)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21995 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22011 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22012 PyObject
*resultobj
= 0;
22013 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22017 PyObject
*swig_obj
[1] ;
22019 if (!args
) SWIG_fail
;
22020 swig_obj
[0] = args
;
22021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22025 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_From_int(static_cast< int >(result
));
22039 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22040 PyObject
*resultobj
= 0;
22041 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22045 PyObject
*swig_obj
[1] ;
22047 if (!args
) SWIG_fail
;
22048 swig_obj
[0] = args
;
22049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22050 if (!SWIG_IsOK(res1
)) {
22051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22053 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_From_int(static_cast< int >(result
));
22067 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22068 PyObject
*resultobj
= 0;
22069 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22070 unsigned int result
;
22073 PyObject
*swig_obj
[1] ;
22075 if (!args
) SWIG_fail
;
22076 swig_obj
[0] = args
;
22077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22078 if (!SWIG_IsOK(res1
)) {
22079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22081 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22095 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22096 PyObject
*resultobj
= 0;
22097 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22098 unsigned int result
;
22101 PyObject
*swig_obj
[1] ;
22103 if (!args
) SWIG_fail
;
22104 swig_obj
[0] = args
;
22105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22106 if (!SWIG_IsOK(res1
)) {
22107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22109 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22123 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22124 PyObject
*resultobj
= 0;
22125 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22129 PyObject
*swig_obj
[1] ;
22131 if (!args
) SWIG_fail
;
22132 swig_obj
[0] = args
;
22133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22134 if (!SWIG_IsOK(res1
)) {
22135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22137 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 result
= (arg1
)->GetPosition();
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22151 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22152 PyObject
*resultobj
= 0;
22153 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22154 long *arg2
= (long *) 0 ;
22155 long *arg3
= (long *) 0 ;
22159 int res2
= SWIG_TMPOBJ
;
22161 int res3
= SWIG_TMPOBJ
;
22162 PyObject
*swig_obj
[1] ;
22166 if (!args
) SWIG_fail
;
22167 swig_obj
[0] = args
;
22168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22169 if (!SWIG_IsOK(res1
)) {
22170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22172 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 (arg1
)->GetPosition(arg2
,arg3
);
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 resultobj
= SWIG_Py_Void();
22180 if (SWIG_IsTmpObj(res2
)) {
22181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
22183 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
22186 if (SWIG_IsTmpObj(res3
)) {
22187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
22189 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
22198 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22199 PyObject
*resultobj
= 0;
22200 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22204 PyObject
*swig_obj
[1] ;
22206 if (!args
) SWIG_fail
;
22207 swig_obj
[0] = args
;
22208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22212 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_From_int(static_cast< int >(result
));
22226 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22227 PyObject
*resultobj
= 0;
22228 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22232 PyObject
*swig_obj
[1] ;
22234 if (!args
) SWIG_fail
;
22235 swig_obj
[0] = args
;
22236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22237 if (!SWIG_IsOK(res1
)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22240 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_From_int(static_cast< int >(result
));
22254 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22255 PyObject
*resultobj
= 0;
22256 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22262 PyObject
*swig_obj
[2] ;
22264 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
22265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22266 if (!SWIG_IsOK(res1
)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22269 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22270 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22271 if (!SWIG_IsOK(ecode2
)) {
22272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
22274 arg2
= static_cast< int >(val2
);
22275 if (arg1
) (arg1
)->m_x
= arg2
;
22277 resultobj
= SWIG_Py_Void();
22284 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22285 PyObject
*resultobj
= 0;
22286 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22290 PyObject
*swig_obj
[1] ;
22292 if (!args
) SWIG_fail
;
22293 swig_obj
[0] = args
;
22294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22295 if (!SWIG_IsOK(res1
)) {
22296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22298 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22299 result
= (int) ((arg1
)->m_x
);
22300 resultobj
= SWIG_From_int(static_cast< int >(result
));
22307 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22308 PyObject
*resultobj
= 0;
22309 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22315 PyObject
*swig_obj
[2] ;
22317 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
22318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22322 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22323 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22324 if (!SWIG_IsOK(ecode2
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
22327 arg2
= static_cast< int >(val2
);
22328 if (arg1
) (arg1
)->m_y
= arg2
;
22330 resultobj
= SWIG_Py_Void();
22337 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22338 PyObject
*resultobj
= 0;
22339 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22343 PyObject
*swig_obj
[1] ;
22345 if (!args
) SWIG_fail
;
22346 swig_obj
[0] = args
;
22347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22348 if (!SWIG_IsOK(res1
)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22351 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22352 result
= (int) ((arg1
)->m_y
);
22353 resultobj
= SWIG_From_int(static_cast< int >(result
));
22360 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22361 PyObject
*resultobj
= 0;
22362 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22368 PyObject
*swig_obj
[2] ;
22370 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
22371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22372 if (!SWIG_IsOK(res1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22375 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22376 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
22377 if (!SWIG_IsOK(ecode2
)) {
22378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
22380 arg2
= static_cast< long >(val2
);
22381 if (arg1
) (arg1
)->m_keyCode
= arg2
;
22383 resultobj
= SWIG_Py_Void();
22390 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22391 PyObject
*resultobj
= 0;
22392 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22396 PyObject
*swig_obj
[1] ;
22398 if (!args
) SWIG_fail
;
22399 swig_obj
[0] = args
;
22400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22401 if (!SWIG_IsOK(res1
)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22404 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22405 result
= (long) ((arg1
)->m_keyCode
);
22406 resultobj
= SWIG_From_long(static_cast< long >(result
));
22413 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22414 PyObject
*resultobj
= 0;
22415 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22421 PyObject
*swig_obj
[2] ;
22423 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
22424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22428 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22429 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22430 if (!SWIG_IsOK(ecode2
)) {
22431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
22433 arg2
= static_cast< bool >(val2
);
22434 if (arg1
) (arg1
)->m_controlDown
= arg2
;
22436 resultobj
= SWIG_Py_Void();
22443 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22444 PyObject
*resultobj
= 0;
22445 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22449 PyObject
*swig_obj
[1] ;
22451 if (!args
) SWIG_fail
;
22452 swig_obj
[0] = args
;
22453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22454 if (!SWIG_IsOK(res1
)) {
22455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22457 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22458 result
= (bool) ((arg1
)->m_controlDown
);
22460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22468 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 PyObject
*resultobj
= 0;
22470 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22476 PyObject
*swig_obj
[2] ;
22478 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
22479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22480 if (!SWIG_IsOK(res1
)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22483 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22484 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22485 if (!SWIG_IsOK(ecode2
)) {
22486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
22488 arg2
= static_cast< bool >(val2
);
22489 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
22491 resultobj
= SWIG_Py_Void();
22498 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22499 PyObject
*resultobj
= 0;
22500 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22504 PyObject
*swig_obj
[1] ;
22506 if (!args
) SWIG_fail
;
22507 swig_obj
[0] = args
;
22508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22509 if (!SWIG_IsOK(res1
)) {
22510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22512 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22513 result
= (bool) ((arg1
)->m_shiftDown
);
22515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22523 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22524 PyObject
*resultobj
= 0;
22525 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22531 PyObject
*swig_obj
[2] ;
22533 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
22534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22535 if (!SWIG_IsOK(res1
)) {
22536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22538 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22539 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22540 if (!SWIG_IsOK(ecode2
)) {
22541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
22543 arg2
= static_cast< bool >(val2
);
22544 if (arg1
) (arg1
)->m_altDown
= arg2
;
22546 resultobj
= SWIG_Py_Void();
22553 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22554 PyObject
*resultobj
= 0;
22555 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22559 PyObject
*swig_obj
[1] ;
22561 if (!args
) SWIG_fail
;
22562 swig_obj
[0] = args
;
22563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22564 if (!SWIG_IsOK(res1
)) {
22565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22567 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22568 result
= (bool) ((arg1
)->m_altDown
);
22570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22578 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22579 PyObject
*resultobj
= 0;
22580 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22586 PyObject
*swig_obj
[2] ;
22588 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
22589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22590 if (!SWIG_IsOK(res1
)) {
22591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22593 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22594 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22595 if (!SWIG_IsOK(ecode2
)) {
22596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
22598 arg2
= static_cast< bool >(val2
);
22599 if (arg1
) (arg1
)->m_metaDown
= arg2
;
22601 resultobj
= SWIG_Py_Void();
22608 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22609 PyObject
*resultobj
= 0;
22610 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22614 PyObject
*swig_obj
[1] ;
22616 if (!args
) SWIG_fail
;
22617 swig_obj
[0] = args
;
22618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22619 if (!SWIG_IsOK(res1
)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22622 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22623 result
= (bool) ((arg1
)->m_metaDown
);
22625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22633 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22634 PyObject
*resultobj
= 0;
22635 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22641 PyObject
*swig_obj
[2] ;
22643 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
22644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22645 if (!SWIG_IsOK(res1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22648 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22649 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22650 if (!SWIG_IsOK(ecode2
)) {
22651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
22653 arg2
= static_cast< bool >(val2
);
22654 if (arg1
) (arg1
)->m_scanCode
= arg2
;
22656 resultobj
= SWIG_Py_Void();
22663 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22664 PyObject
*resultobj
= 0;
22665 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22669 PyObject
*swig_obj
[1] ;
22671 if (!args
) SWIG_fail
;
22672 swig_obj
[0] = args
;
22673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22674 if (!SWIG_IsOK(res1
)) {
22675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22677 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22678 result
= (bool) ((arg1
)->m_scanCode
);
22680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22688 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22689 PyObject
*resultobj
= 0;
22690 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22691 unsigned int arg2
;
22694 unsigned int val2
;
22696 PyObject
*swig_obj
[2] ;
22698 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
22699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22703 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22704 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22705 if (!SWIG_IsOK(ecode2
)) {
22706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
22708 arg2
= static_cast< unsigned int >(val2
);
22709 if (arg1
) (arg1
)->m_rawCode
= arg2
;
22711 resultobj
= SWIG_Py_Void();
22718 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22719 PyObject
*resultobj
= 0;
22720 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22721 unsigned int result
;
22724 PyObject
*swig_obj
[1] ;
22726 if (!args
) SWIG_fail
;
22727 swig_obj
[0] = args
;
22728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22729 if (!SWIG_IsOK(res1
)) {
22730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22732 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22733 result
= (unsigned int) ((arg1
)->m_rawCode
);
22734 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22741 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22742 PyObject
*resultobj
= 0;
22743 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22744 unsigned int arg2
;
22747 unsigned int val2
;
22749 PyObject
*swig_obj
[2] ;
22751 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
22752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22753 if (!SWIG_IsOK(res1
)) {
22754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22756 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22757 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22758 if (!SWIG_IsOK(ecode2
)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
22761 arg2
= static_cast< unsigned int >(val2
);
22762 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
22764 resultobj
= SWIG_Py_Void();
22771 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22772 PyObject
*resultobj
= 0;
22773 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22774 unsigned int result
;
22777 PyObject
*swig_obj
[1] ;
22779 if (!args
) SWIG_fail
;
22780 swig_obj
[0] = args
;
22781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22782 if (!SWIG_IsOK(res1
)) {
22783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22785 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22786 result
= (unsigned int) ((arg1
)->m_rawFlags
);
22787 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22794 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22797 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
22798 return SWIG_Py_Void();
22801 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22802 return SWIG_Python_InitShadowInstance(args
);
22805 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
= 0;
22807 wxSize
const &arg1_defvalue
= wxDefaultSize
;
22808 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
22809 int arg2
= (int) 0 ;
22810 wxSizeEvent
*result
= 0 ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 char * kwnames
[] = {
22817 (char *) "sz",(char *) "winid", NULL
22820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22824 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
22828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22829 if (!SWIG_IsOK(ecode2
)) {
22830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
22832 arg2
= static_cast< int >(val2
);
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
22847 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22848 PyObject
*resultobj
= 0;
22849 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22853 PyObject
*swig_obj
[1] ;
22855 if (!args
) SWIG_fail
;
22856 swig_obj
[0] = args
;
22857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22861 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22875 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22876 PyObject
*resultobj
= 0;
22877 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22881 PyObject
*swig_obj
[1] ;
22883 if (!args
) SWIG_fail
;
22884 swig_obj
[0] = args
;
22885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22886 if (!SWIG_IsOK(res1
)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22889 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
22903 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
= 0;
22905 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj1
= 0 ;
22913 char * kwnames
[] = {
22914 (char *) "self",(char *) "rect", NULL
22917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22919 if (!SWIG_IsOK(res1
)) {
22920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
22922 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
22925 if (!SWIG_IsOK(res2
)) {
22926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
22929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
22931 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
22933 if (SWIG_IsNewObj(res2
)) delete temp
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 (arg1
)->SetRect(arg2
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_Py_Void();
22949 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
= 0;
22951 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 char * kwnames
[] = {
22960 (char *) "self",(char *) "size", NULL
22963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
22968 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
22971 if (!SWIG_IsOK(res2
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
22975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
22977 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
22979 if (SWIG_IsNewObj(res2
)) delete temp
;
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 wxSizeEvent_SetSize(arg1
,arg2
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_Py_Void();
22995 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22996 PyObject
*resultobj
= 0;
22997 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22998 wxSize
*arg2
= (wxSize
*) 0 ;
23003 PyObject
*swig_obj
[2] ;
23005 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
23006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23007 if (!SWIG_IsOK(res1
)) {
23008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23010 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23011 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
23012 if (!SWIG_IsOK(res2
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
23015 arg2
= reinterpret_cast< wxSize
* >(argp2
);
23016 if (arg1
) (arg1
)->m_size
= *arg2
;
23018 resultobj
= SWIG_Py_Void();
23025 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23026 PyObject
*resultobj
= 0;
23027 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23028 wxSize
*result
= 0 ;
23031 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23039 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23040 result
= (wxSize
*)& ((arg1
)->m_size
);
23041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23048 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23049 PyObject
*resultobj
= 0;
23050 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23051 wxRect
*arg2
= (wxRect
*) 0 ;
23056 PyObject
*swig_obj
[2] ;
23058 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
23059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23060 if (!SWIG_IsOK(res1
)) {
23061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23063 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23064 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23065 if (!SWIG_IsOK(res2
)) {
23066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
23068 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23069 if (arg1
) (arg1
)->m_rect
= *arg2
;
23071 resultobj
= SWIG_Py_Void();
23078 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23079 PyObject
*resultobj
= 0;
23080 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23081 wxRect
*result
= 0 ;
23084 PyObject
*swig_obj
[1] ;
23086 if (!args
) SWIG_fail
;
23087 swig_obj
[0] = args
;
23088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23089 if (!SWIG_IsOK(res1
)) {
23090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23092 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23093 result
= (wxRect
*)& ((arg1
)->m_rect
);
23094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
23101 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23104 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
23105 return SWIG_Py_Void();
23108 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23109 return SWIG_Python_InitShadowInstance(args
);
23112 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
= 0;
23114 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
23115 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
23116 int arg2
= (int) 0 ;
23117 wxMoveEvent
*result
= 0 ;
23121 PyObject
* obj0
= 0 ;
23122 PyObject
* obj1
= 0 ;
23123 char * kwnames
[] = {
23124 (char *) "pos",(char *) "winid", NULL
23127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23131 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
23135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23136 if (!SWIG_IsOK(ecode2
)) {
23137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
23139 arg2
= static_cast< int >(val2
);
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
23154 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23155 PyObject
*resultobj
= 0;
23156 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23160 PyObject
*swig_obj
[1] ;
23162 if (!args
) SWIG_fail
;
23163 swig_obj
[0] = args
;
23164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23168 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23182 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23183 PyObject
*resultobj
= 0;
23184 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23188 PyObject
*swig_obj
[1] ;
23190 if (!args
) SWIG_fail
;
23191 swig_obj
[0] = args
;
23192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23193 if (!SWIG_IsOK(res1
)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23196 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23210 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
= 0;
23212 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 char * kwnames
[] = {
23220 (char *) "self",(char *) "rect", NULL
23223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23225 if (!SWIG_IsOK(res1
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23228 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23231 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 (arg1
)->SetRect((wxRect
const &)*arg2
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_Py_Void();
23246 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
= 0;
23248 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23249 wxPoint
*arg2
= 0 ;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj1
= 0 ;
23255 char * kwnames
[] = {
23256 (char *) "self",(char *) "pos", NULL
23259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23261 if (!SWIG_IsOK(res1
)) {
23262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23264 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= SWIG_Py_Void();
23282 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23285 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
23286 return SWIG_Py_Void();
23289 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23290 return SWIG_Python_InitShadowInstance(args
);
23293 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
= 0;
23295 int arg1
= (int) 0 ;
23296 wxPaintEvent
*result
= 0 ;
23299 PyObject
* obj0
= 0 ;
23300 char * kwnames
[] = {
23301 (char *) "Id", NULL
23304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23306 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23307 if (!SWIG_IsOK(ecode1
)) {
23308 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
23310 arg1
= static_cast< int >(val1
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
23325 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
23329 return SWIG_Py_Void();
23332 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23333 return SWIG_Python_InitShadowInstance(args
);
23336 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
= 0;
23338 int arg1
= (int) 0 ;
23339 wxNcPaintEvent
*result
= 0 ;
23342 PyObject
* obj0
= 0 ;
23343 char * kwnames
[] = {
23344 (char *) "winid", NULL
23347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23350 if (!SWIG_IsOK(ecode1
)) {
23351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
23353 arg1
= static_cast< int >(val1
);
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
23368 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23371 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
23372 return SWIG_Py_Void();
23375 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23376 return SWIG_Python_InitShadowInstance(args
);
23379 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
= 0;
23381 int arg1
= (int) 0 ;
23382 wxDC
*arg2
= (wxDC
*) NULL
;
23383 wxEraseEvent
*result
= 0 ;
23388 PyObject
* obj0
= 0 ;
23389 PyObject
* obj1
= 0 ;
23390 char * kwnames
[] = {
23391 (char *) "Id",(char *) "dc", NULL
23394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23397 if (!SWIG_IsOK(ecode1
)) {
23398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
23400 arg1
= static_cast< int >(val1
);
23403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23404 if (!SWIG_IsOK(res2
)) {
23405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
23407 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
23422 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23423 PyObject
*resultobj
= 0;
23424 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
23428 PyObject
*swig_obj
[1] ;
23430 if (!args
) SWIG_fail
;
23431 swig_obj
[0] = args
;
23432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
23433 if (!SWIG_IsOK(res1
)) {
23434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
23436 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23444 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23452 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23455 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
23456 return SWIG_Py_Void();
23459 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23460 return SWIG_Python_InitShadowInstance(args
);
23463 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
= 0;
23465 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23466 int arg2
= (int) 0 ;
23467 wxFocusEvent
*result
= 0 ;
23472 PyObject
* obj0
= 0 ;
23473 PyObject
* obj1
= 0 ;
23474 char * kwnames
[] = {
23475 (char *) "type",(char *) "winid", NULL
23478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23480 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23481 if (!SWIG_IsOK(ecode1
)) {
23482 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23484 arg1
= static_cast< wxEventType
>(val1
);
23487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23488 if (!SWIG_IsOK(ecode2
)) {
23489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
23491 arg2
= static_cast< int >(val2
);
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
23506 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23507 PyObject
*resultobj
= 0;
23508 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23509 wxWindow
*result
= 0 ;
23512 PyObject
*swig_obj
[1] ;
23514 if (!args
) SWIG_fail
;
23515 swig_obj
[0] = args
;
23516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23517 if (!SWIG_IsOK(res1
)) {
23518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
23520 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23536 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
= 0;
23538 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23539 wxWindow
*arg2
= (wxWindow
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char * kwnames
[] = {
23547 (char *) "self",(char *) "win", NULL
23550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
23555 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23556 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23557 if (!SWIG_IsOK(res2
)) {
23558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
23560 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 (arg1
)->SetWindow(arg2
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= SWIG_Py_Void();
23574 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23577 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
23578 return SWIG_Py_Void();
23581 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23582 return SWIG_Python_InitShadowInstance(args
);
23585 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
= 0;
23587 wxWindow
*arg1
= (wxWindow
*) NULL
;
23588 wxChildFocusEvent
*result
= 0 ;
23591 PyObject
* obj0
= 0 ;
23592 char * kwnames
[] = {
23593 (char *) "win", NULL
23596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
23598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23599 if (!SWIG_IsOK(res1
)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
23602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
23617 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23618 PyObject
*resultobj
= 0;
23619 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
23620 wxWindow
*result
= 0 ;
23623 PyObject
*swig_obj
[1] ;
23625 if (!args
) SWIG_fail
;
23626 swig_obj
[0] = args
;
23627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
23628 if (!SWIG_IsOK(res1
)) {
23629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
23631 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23639 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23647 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23650 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
23651 return SWIG_Py_Void();
23654 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23655 return SWIG_Python_InitShadowInstance(args
);
23658 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
= 0;
23660 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23661 bool arg2
= (bool) true ;
23662 int arg3
= (int) 0 ;
23663 wxActivateEvent
*result
= 0 ;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 PyObject
* obj2
= 0 ;
23673 char * kwnames
[] = {
23674 (char *) "type",(char *) "active",(char *) "Id", NULL
23677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23679 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23680 if (!SWIG_IsOK(ecode1
)) {
23681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23683 arg1
= static_cast< wxEventType
>(val1
);
23686 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23687 if (!SWIG_IsOK(ecode2
)) {
23688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
23690 arg2
= static_cast< bool >(val2
);
23693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23694 if (!SWIG_IsOK(ecode3
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
23697 arg3
= static_cast< int >(val3
);
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
23712 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23713 PyObject
*resultobj
= 0;
23714 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
23718 PyObject
*swig_obj
[1] ;
23720 if (!args
) SWIG_fail
;
23721 swig_obj
[0] = args
;
23722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
23723 if (!SWIG_IsOK(res1
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
23726 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23742 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23745 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
23746 return SWIG_Py_Void();
23749 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23750 return SWIG_Python_InitShadowInstance(args
);
23753 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
= 0;
23755 int arg1
= (int) 0 ;
23756 wxInitDialogEvent
*result
= 0 ;
23759 PyObject
* obj0
= 0 ;
23760 char * kwnames
[] = {
23761 (char *) "Id", NULL
23764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
23766 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23767 if (!SWIG_IsOK(ecode1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
23770 arg1
= static_cast< int >(val1
);
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
23785 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23788 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
23789 return SWIG_Py_Void();
23792 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23793 return SWIG_Python_InitShadowInstance(args
);
23796 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
= 0;
23798 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23799 int arg2
= (int) 0 ;
23800 wxMenu
*arg3
= (wxMenu
*) NULL
;
23801 wxMenuEvent
*result
= 0 ;
23808 PyObject
* obj0
= 0 ;
23809 PyObject
* obj1
= 0 ;
23810 PyObject
* obj2
= 0 ;
23811 char * kwnames
[] = {
23812 (char *) "type",(char *) "winid",(char *) "menu", NULL
23815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23817 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23818 if (!SWIG_IsOK(ecode1
)) {
23819 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23821 arg1
= static_cast< wxEventType
>(val1
);
23824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23825 if (!SWIG_IsOK(ecode2
)) {
23826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
23828 arg2
= static_cast< int >(val2
);
23831 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
23832 if (!SWIG_IsOK(res3
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
23835 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
23850 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23851 PyObject
*resultobj
= 0;
23852 wxMenuEvent
*arg1
= (wxMenuEvent
*) 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_wxMenuEvent
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23864 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_From_int(static_cast< int >(result
));
23878 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23879 PyObject
*resultobj
= 0;
23880 wxMenuEvent
*arg1
= (wxMenuEvent
*) 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_wxMenuEvent
, 0 | 0 );
23889 if (!SWIG_IsOK(res1
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23892 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23908 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23909 PyObject
*resultobj
= 0;
23910 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23911 wxMenu
*result
= 0 ;
23914 PyObject
*swig_obj
[1] ;
23916 if (!args
) SWIG_fail
;
23917 swig_obj
[0] = args
;
23918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23919 if (!SWIG_IsOK(res1
)) {
23920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23922 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23938 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23941 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
23942 return SWIG_Py_Void();
23945 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23946 return SWIG_Python_InitShadowInstance(args
);
23949 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
= 0;
23951 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23952 int arg2
= (int) 0 ;
23953 wxCloseEvent
*result
= 0 ;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 char * kwnames
[] = {
23961 (char *) "type",(char *) "winid", NULL
23964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23966 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23967 if (!SWIG_IsOK(ecode1
)) {
23968 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23970 arg1
= static_cast< wxEventType
>(val1
);
23973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23974 if (!SWIG_IsOK(ecode2
)) {
23975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
23977 arg2
= static_cast< int >(val2
);
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
23992 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
= 0;
23994 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char * kwnames
[] = {
24003 (char *) "self",(char *) "logOff", NULL
24006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24008 if (!SWIG_IsOK(res1
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24011 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24012 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24013 if (!SWIG_IsOK(ecode2
)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
24016 arg2
= static_cast< bool >(val2
);
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 (arg1
)->SetLoggingOff(arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= SWIG_Py_Void();
24030 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24031 PyObject
*resultobj
= 0;
24032 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24036 PyObject
*swig_obj
[1] ;
24038 if (!args
) SWIG_fail
;
24039 swig_obj
[0] = args
;
24040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24041 if (!SWIG_IsOK(res1
)) {
24042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24044 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24060 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
= 0;
24062 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24063 bool arg2
= (bool) true ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char * kwnames
[] = {
24071 (char *) "self",(char *) "veto", NULL
24074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24076 if (!SWIG_IsOK(res1
)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24079 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24081 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24082 if (!SWIG_IsOK(ecode2
)) {
24083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
24085 arg2
= static_cast< bool >(val2
);
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 (arg1
)->Veto(arg2
);
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24093 resultobj
= SWIG_Py_Void();
24100 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24101 PyObject
*resultobj
= 0;
24102 wxCloseEvent
*arg1
= (wxCloseEvent
*) 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_wxCloseEvent
, 0 | 0 );
24111 if (!SWIG_IsOK(res1
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24114 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24130 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
= 0;
24132 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char * kwnames
[] = {
24141 (char *) "self",(char *) "canVeto", NULL
24144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24149 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24150 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24151 if (!SWIG_IsOK(ecode2
)) {
24152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
24154 arg2
= static_cast< bool >(val2
);
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 (arg1
)->SetCanVeto(arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_Py_Void();
24168 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24169 PyObject
*resultobj
= 0;
24170 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24174 PyObject
*swig_obj
[1] ;
24176 if (!args
) SWIG_fail
;
24177 swig_obj
[0] = args
;
24178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24179 if (!SWIG_IsOK(res1
)) {
24180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24182 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24198 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24201 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
24202 return SWIG_Py_Void();
24205 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24206 return SWIG_Python_InitShadowInstance(args
);
24209 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
= 0;
24211 int arg1
= (int) 0 ;
24212 bool arg2
= (bool) false ;
24213 wxShowEvent
*result
= 0 ;
24218 PyObject
* obj0
= 0 ;
24219 PyObject
* obj1
= 0 ;
24220 char * kwnames
[] = {
24221 (char *) "winid",(char *) "show", NULL
24224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24227 if (!SWIG_IsOK(ecode1
)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
24230 arg1
= static_cast< int >(val1
);
24233 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24234 if (!SWIG_IsOK(ecode2
)) {
24235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
24237 arg2
= static_cast< bool >(val2
);
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
24252 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char * kwnames
[] = {
24263 (char *) "self",(char *) "show", NULL
24266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
24271 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24272 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24273 if (!SWIG_IsOK(ecode2
)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
24276 arg2
= static_cast< bool >(val2
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 (arg1
)->SetShow(arg2
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_Py_Void();
24290 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24291 PyObject
*resultobj
= 0;
24292 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24296 PyObject
*swig_obj
[1] ;
24298 if (!args
) SWIG_fail
;
24299 swig_obj
[0] = args
;
24300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24301 if (!SWIG_IsOK(res1
)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
24304 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24320 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24323 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
24324 return SWIG_Py_Void();
24327 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24328 return SWIG_Python_InitShadowInstance(args
);
24331 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
= 0;
24333 int arg1
= (int) 0 ;
24334 bool arg2
= (bool) true ;
24335 wxIconizeEvent
*result
= 0 ;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 char * kwnames
[] = {
24343 (char *) "id",(char *) "iconized", NULL
24346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24349 if (!SWIG_IsOK(ecode1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
24352 arg1
= static_cast< int >(val1
);
24355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24356 if (!SWIG_IsOK(ecode2
)) {
24357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
24359 arg2
= static_cast< bool >(val2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
24374 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24375 PyObject
*resultobj
= 0;
24376 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
24380 PyObject
*swig_obj
[1] ;
24382 if (!args
) SWIG_fail
;
24383 swig_obj
[0] = args
;
24384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
24385 if (!SWIG_IsOK(res1
)) {
24386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
24388 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (bool)(arg1
)->Iconized();
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24404 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24407 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
24408 return SWIG_Py_Void();
24411 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24412 return SWIG_Python_InitShadowInstance(args
);
24415 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
= 0;
24417 int arg1
= (int) 0 ;
24418 wxMaximizeEvent
*result
= 0 ;
24421 PyObject
* obj0
= 0 ;
24422 char * kwnames
[] = {
24423 (char *) "id", NULL
24426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
24428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24429 if (!SWIG_IsOK(ecode1
)) {
24430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
24432 arg1
= static_cast< int >(val1
);
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
24447 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24450 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
24451 return SWIG_Py_Void();
24454 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24455 return SWIG_Python_InitShadowInstance(args
);
24458 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24459 PyObject
*resultobj
= 0;
24460 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24464 PyObject
*swig_obj
[1] ;
24466 if (!args
) SWIG_fail
;
24467 swig_obj
[0] = args
;
24468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24469 if (!SWIG_IsOK(res1
)) {
24470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24472 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= (arg1
)->GetPosition();
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24486 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24487 PyObject
*resultobj
= 0;
24488 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24492 PyObject
*swig_obj
[1] ;
24494 if (!args
) SWIG_fail
;
24495 swig_obj
[0] = args
;
24496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24497 if (!SWIG_IsOK(res1
)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24500 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (int)(arg1
)->GetNumberOfFiles();
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_From_int(static_cast< int >(result
));
24514 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24515 PyObject
*resultobj
= 0;
24516 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24517 PyObject
*result
= 0 ;
24520 PyObject
*swig_obj
[1] ;
24522 if (!args
) SWIG_fail
;
24523 swig_obj
[0] = args
;
24524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24528 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= result
;
24542 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24545 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
24546 return SWIG_Py_Void();
24549 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
= 0;
24551 int arg1
= (int) 0 ;
24552 wxUpdateUIEvent
*result
= 0 ;
24555 PyObject
* obj0
= 0 ;
24556 char * kwnames
[] = {
24557 (char *) "commandId", NULL
24560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
24562 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24563 if (!SWIG_IsOK(ecode1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
24566 arg1
= static_cast< int >(val1
);
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
24581 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24582 PyObject
*resultobj
= 0;
24583 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24587 PyObject
*swig_obj
[1] ;
24589 if (!args
) SWIG_fail
;
24590 swig_obj
[0] = args
;
24591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24595 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24611 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24612 PyObject
*resultobj
= 0;
24613 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24617 PyObject
*swig_obj
[1] ;
24619 if (!args
) SWIG_fail
;
24620 swig_obj
[0] = args
;
24621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24622 if (!SWIG_IsOK(res1
)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24625 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24641 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24642 PyObject
*resultobj
= 0;
24643 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24647 PyObject
*swig_obj
[1] ;
24649 if (!args
) SWIG_fail
;
24650 swig_obj
[0] = args
;
24651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24652 if (!SWIG_IsOK(res1
)) {
24653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24655 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24671 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24672 PyObject
*resultobj
= 0;
24673 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24677 PyObject
*swig_obj
[1] ;
24679 if (!args
) SWIG_fail
;
24680 swig_obj
[0] = args
;
24681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24685 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24705 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24706 PyObject
*resultobj
= 0;
24707 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24711 PyObject
*swig_obj
[1] ;
24713 if (!args
) SWIG_fail
;
24714 swig_obj
[0] = args
;
24715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24716 if (!SWIG_IsOK(res1
)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24719 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24735 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24736 PyObject
*resultobj
= 0;
24737 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24741 PyObject
*swig_obj
[1] ;
24743 if (!args
) SWIG_fail
;
24744 swig_obj
[0] = args
;
24745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24749 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24765 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24766 PyObject
*resultobj
= 0;
24767 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 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_wxUpdateUIEvent
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24779 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24795 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24796 PyObject
*resultobj
= 0;
24797 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24801 PyObject
*swig_obj
[1] ;
24803 if (!args
) SWIG_fail
;
24804 swig_obj
[0] = args
;
24805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24806 if (!SWIG_IsOK(res1
)) {
24807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24809 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24825 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
= 0;
24827 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char * kwnames
[] = {
24836 (char *) "self",(char *) "check", NULL
24839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24844 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24845 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24846 if (!SWIG_IsOK(ecode2
)) {
24847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
24849 arg2
= static_cast< bool >(val2
);
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 (arg1
)->Check(arg2
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= SWIG_Py_Void();
24863 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
= 0;
24865 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 PyObject
* obj1
= 0 ;
24873 char * kwnames
[] = {
24874 (char *) "self",(char *) "enable", NULL
24877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24879 if (!SWIG_IsOK(res1
)) {
24880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24882 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24883 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24884 if (!SWIG_IsOK(ecode2
)) {
24885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
24887 arg2
= static_cast< bool >(val2
);
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 (arg1
)->Enable(arg2
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_Py_Void();
24901 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
= 0;
24903 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 PyObject
* obj1
= 0 ;
24911 char * kwnames
[] = {
24912 (char *) "self",(char *) "show", NULL
24915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24917 if (!SWIG_IsOK(res1
)) {
24918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24920 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24921 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24922 if (!SWIG_IsOK(ecode2
)) {
24923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
24925 arg2
= static_cast< bool >(val2
);
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 (arg1
)->Show(arg2
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= SWIG_Py_Void();
24939 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
= 0;
24941 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24942 wxString
*arg2
= 0 ;
24945 bool temp2
= false ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 char * kwnames
[] = {
24949 (char *) "self",(char *) "text", NULL
24952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24954 if (!SWIG_IsOK(res1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24957 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24959 arg2
= wxString_in_helper(obj1
);
24960 if (arg2
== NULL
) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 (arg1
)->SetText((wxString
const &)*arg2
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_Py_Void();
24984 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
= 0;
24989 PyObject
* obj0
= 0 ;
24990 char * kwnames
[] = {
24991 (char *) "updateInterval", NULL
24994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
24995 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
24996 if (!SWIG_IsOK(ecode1
)) {
24997 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
24999 arg1
= static_cast< long >(val1
);
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 wxUpdateUIEvent::SetUpdateInterval(arg1
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25006 resultobj
= SWIG_Py_Void();
25013 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25014 PyObject
*resultobj
= 0;
25017 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 resultobj
= SWIG_From_long(static_cast< long >(result
));
25031 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
= 0;
25033 wxWindow
*arg1
= (wxWindow
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 char * kwnames
[] = {
25039 (char *) "win", NULL
25042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
25043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25044 if (!SWIG_IsOK(res1
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
25047 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25063 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25064 PyObject
*resultobj
= 0;
25066 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 wxUpdateUIEvent::ResetUpdateTime();
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_Py_Void();
25080 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
= 0;
25082 wxUpdateUIMode arg1
;
25085 PyObject
* obj0
= 0 ;
25086 char * kwnames
[] = {
25087 (char *) "mode", NULL
25090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
25091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25092 if (!SWIG_IsOK(ecode1
)) {
25093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
25095 arg1
= static_cast< wxUpdateUIMode
>(val1
);
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 wxUpdateUIEvent::SetMode(arg1
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= SWIG_Py_Void();
25109 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25110 PyObject
*resultobj
= 0;
25111 wxUpdateUIMode result
;
25113 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_From_int(static_cast< int >(result
));
25127 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25130 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
25131 return SWIG_Py_Void();
25134 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25135 return SWIG_Python_InitShadowInstance(args
);
25138 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25139 PyObject
*resultobj
= 0;
25140 wxSysColourChangedEvent
*result
= 0 ;
25142 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
25156 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25159 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
25160 return SWIG_Py_Void();
25163 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25164 return SWIG_Python_InitShadowInstance(args
);
25167 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
= 0;
25169 int arg1
= (int) 0 ;
25170 wxWindow
*arg2
= (wxWindow
*) NULL
;
25171 wxMouseCaptureChangedEvent
*result
= 0 ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char * kwnames
[] = {
25179 (char *) "winid",(char *) "gainedCapture", NULL
25182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25185 if (!SWIG_IsOK(ecode1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
25188 arg1
= static_cast< int >(val1
);
25191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25192 if (!SWIG_IsOK(res2
)) {
25193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
25195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
25210 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25211 PyObject
*resultobj
= 0;
25212 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
25213 wxWindow
*result
= 0 ;
25216 PyObject
*swig_obj
[1] ;
25218 if (!args
) SWIG_fail
;
25219 swig_obj
[0] = args
;
25220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
25221 if (!SWIG_IsOK(res1
)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
25224 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25240 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25243 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
25244 return SWIG_Py_Void();
25247 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25248 return SWIG_Python_InitShadowInstance(args
);
25251 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25252 PyObject
*resultobj
= 0;
25253 wxDisplayChangedEvent
*result
= 0 ;
25255 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
25269 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25272 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
25273 return SWIG_Py_Void();
25276 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25277 return SWIG_Python_InitShadowInstance(args
);
25280 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
= 0;
25282 int arg1
= (int) 0 ;
25283 wxPaletteChangedEvent
*result
= 0 ;
25286 PyObject
* obj0
= 0 ;
25287 char * kwnames
[] = {
25288 (char *) "id", NULL
25291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
25293 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25294 if (!SWIG_IsOK(ecode1
)) {
25295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
25297 arg1
= static_cast< int >(val1
);
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
25312 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
= 0;
25314 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25315 wxWindow
*arg2
= (wxWindow
*) 0 ;
25320 PyObject
* obj0
= 0 ;
25321 PyObject
* obj1
= 0 ;
25322 char * kwnames
[] = {
25323 (char *) "self",(char *) "win", NULL
25326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25328 if (!SWIG_IsOK(res1
)) {
25329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25331 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25333 if (!SWIG_IsOK(res2
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
25336 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 (arg1
)->SetChangedWindow(arg2
);
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= SWIG_Py_Void();
25350 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25351 PyObject
*resultobj
= 0;
25352 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25353 wxWindow
*result
= 0 ;
25356 PyObject
*swig_obj
[1] ;
25358 if (!args
) SWIG_fail
;
25359 swig_obj
[0] = args
;
25360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25361 if (!SWIG_IsOK(res1
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25364 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25380 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25383 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
25384 return SWIG_Py_Void();
25387 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25388 return SWIG_Python_InitShadowInstance(args
);
25391 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
= 0;
25393 int arg1
= (int) 0 ;
25394 wxQueryNewPaletteEvent
*result
= 0 ;
25397 PyObject
* obj0
= 0 ;
25398 char * kwnames
[] = {
25399 (char *) "winid", NULL
25402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
25404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25405 if (!SWIG_IsOK(ecode1
)) {
25406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
25408 arg1
= static_cast< int >(val1
);
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
25423 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
= 0;
25425 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25431 PyObject
* obj0
= 0 ;
25432 PyObject
* obj1
= 0 ;
25433 char * kwnames
[] = {
25434 (char *) "self",(char *) "realized", NULL
25437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25439 if (!SWIG_IsOK(res1
)) {
25440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
25442 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25443 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25444 if (!SWIG_IsOK(ecode2
)) {
25445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
25447 arg2
= static_cast< bool >(val2
);
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 (arg1
)->SetPaletteRealized(arg2
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_Py_Void();
25461 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25462 PyObject
*resultobj
= 0;
25463 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25467 PyObject
*swig_obj
[1] ;
25469 if (!args
) SWIG_fail
;
25470 swig_obj
[0] = args
;
25471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25472 if (!SWIG_IsOK(res1
)) {
25473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
25475 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25491 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25494 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
25495 return SWIG_Py_Void();
25498 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25499 return SWIG_Python_InitShadowInstance(args
);
25502 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25503 PyObject
*resultobj
= 0;
25504 wxNavigationKeyEvent
*result
= 0 ;
25506 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
25520 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25521 PyObject
*resultobj
= 0;
25522 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25526 PyObject
*swig_obj
[1] ;
25528 if (!args
) SWIG_fail
;
25529 swig_obj
[0] = args
;
25530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25531 if (!SWIG_IsOK(res1
)) {
25532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25534 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25550 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
= 0;
25552 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 char * kwnames
[] = {
25561 (char *) "self",(char *) "forward", NULL
25564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25566 if (!SWIG_IsOK(res1
)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25569 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25570 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25571 if (!SWIG_IsOK(ecode2
)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
25574 arg2
= static_cast< bool >(val2
);
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->SetDirection(arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_Py_Void();
25588 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25589 PyObject
*resultobj
= 0;
25590 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25594 PyObject
*swig_obj
[1] ;
25596 if (!args
) SWIG_fail
;
25597 swig_obj
[0] = args
;
25598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25599 if (!SWIG_IsOK(res1
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25602 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25618 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
= 0;
25620 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char * kwnames
[] = {
25629 (char *) "self",(char *) "ischange", NULL
25632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25634 if (!SWIG_IsOK(res1
)) {
25635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25637 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25638 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25639 if (!SWIG_IsOK(ecode2
)) {
25640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
25642 arg2
= static_cast< bool >(val2
);
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 (arg1
)->SetWindowChange(arg2
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= SWIG_Py_Void();
25656 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25657 PyObject
*resultobj
= 0;
25658 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25662 PyObject
*swig_obj
[1] ;
25664 if (!args
) SWIG_fail
;
25665 swig_obj
[0] = args
;
25666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25667 if (!SWIG_IsOK(res1
)) {
25668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25670 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25686 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
= 0;
25688 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 char * kwnames
[] = {
25697 (char *) "self",(char *) "bIs", NULL
25700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25702 if (!SWIG_IsOK(res1
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25705 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25707 if (!SWIG_IsOK(ecode2
)) {
25708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
25710 arg2
= static_cast< bool >(val2
);
25712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25713 (arg1
)->SetFromTab(arg2
);
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_Py_Void();
25724 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
= 0;
25726 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char * kwnames
[] = {
25735 (char *) "self",(char *) "flags", NULL
25738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25740 if (!SWIG_IsOK(res1
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25743 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25744 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25745 if (!SWIG_IsOK(ecode2
)) {
25746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
25748 arg2
= static_cast< long >(val2
);
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 (arg1
)->SetFlags(arg2
);
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_Py_Void();
25762 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25763 PyObject
*resultobj
= 0;
25764 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25765 wxWindow
*result
= 0 ;
25768 PyObject
*swig_obj
[1] ;
25770 if (!args
) SWIG_fail
;
25771 swig_obj
[0] = args
;
25772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25773 if (!SWIG_IsOK(res1
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25776 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25792 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
= 0;
25794 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25795 wxWindow
*arg2
= (wxWindow
*) 0 ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 char * kwnames
[] = {
25803 (char *) "self",(char *) "win", NULL
25806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25811 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25813 if (!SWIG_IsOK(res2
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
25816 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 (arg1
)->SetCurrentFocus(arg2
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= SWIG_Py_Void();
25830 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25833 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
25834 return SWIG_Py_Void();
25837 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25838 return SWIG_Python_InitShadowInstance(args
);
25841 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
= 0;
25843 wxWindow
*arg1
= (wxWindow
*) NULL
;
25844 wxWindowCreateEvent
*result
= 0 ;
25847 PyObject
* obj0
= 0 ;
25848 char * kwnames
[] = {
25849 (char *) "win", NULL
25852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
25854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25855 if (!SWIG_IsOK(res1
)) {
25856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25858 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
25873 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25874 PyObject
*resultobj
= 0;
25875 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
25876 wxWindow
*result
= 0 ;
25879 PyObject
*swig_obj
[1] ;
25881 if (!args
) SWIG_fail
;
25882 swig_obj
[0] = args
;
25883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
25884 if (!SWIG_IsOK(res1
)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
25887 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25903 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25906 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
25907 return SWIG_Py_Void();
25910 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25911 return SWIG_Python_InitShadowInstance(args
);
25914 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
= 0;
25916 wxWindow
*arg1
= (wxWindow
*) NULL
;
25917 wxWindowDestroyEvent
*result
= 0 ;
25920 PyObject
* obj0
= 0 ;
25921 char * kwnames
[] = {
25922 (char *) "win", NULL
25925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
25927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25928 if (!SWIG_IsOK(res1
)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
25946 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25947 PyObject
*resultobj
= 0;
25948 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
25949 wxWindow
*result
= 0 ;
25952 PyObject
*swig_obj
[1] ;
25954 if (!args
) SWIG_fail
;
25955 swig_obj
[0] = args
;
25956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
25957 if (!SWIG_IsOK(res1
)) {
25958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
25960 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25976 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25979 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
25980 return SWIG_Py_Void();
25983 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25984 return SWIG_Python_InitShadowInstance(args
);
25987 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
= 0;
25989 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25990 int arg2
= (int) 0 ;
25991 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25992 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25993 wxContextMenuEvent
*result
= 0 ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 PyObject
* obj2
= 0 ;
26002 char * kwnames
[] = {
26003 (char *) "type",(char *) "winid",(char *) "pt", NULL
26006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26009 if (!SWIG_IsOK(ecode1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26012 arg1
= static_cast< wxEventType
>(val1
);
26015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26016 if (!SWIG_IsOK(ecode2
)) {
26017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
26019 arg2
= static_cast< int >(val2
);
26024 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
26040 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26041 PyObject
*resultobj
= 0;
26042 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26043 wxPoint
*result
= 0 ;
26046 PyObject
*swig_obj
[1] ;
26048 if (!args
) SWIG_fail
;
26049 swig_obj
[0] = args
;
26050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26051 if (!SWIG_IsOK(res1
)) {
26052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
26054 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
26059 result
= (wxPoint
*) &_result_ref
;
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
26071 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
= 0;
26073 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26074 wxPoint
*arg2
= 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 char * kwnames
[] = {
26081 (char *) "self",(char *) "pos", NULL
26084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
26089 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= SWIG_Py_Void();
26107 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26110 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
26111 return SWIG_Py_Void();
26114 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26115 return SWIG_Python_InitShadowInstance(args
);
26118 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26119 PyObject
*resultobj
= 0;
26120 wxIdleEvent
*result
= 0 ;
26122 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (wxIdleEvent
*)new wxIdleEvent();
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
26136 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= 0;
26138 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26139 bool arg2
= (bool) true ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 char * kwnames
[] = {
26147 (char *) "self",(char *) "needMore", NULL
26150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26152 if (!SWIG_IsOK(res1
)) {
26153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
26155 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26157 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26158 if (!SWIG_IsOK(ecode2
)) {
26159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
26161 arg2
= static_cast< bool >(val2
);
26164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26165 (arg1
)->RequestMore(arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_Py_Void();
26176 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26177 PyObject
*resultobj
= 0;
26178 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26182 PyObject
*swig_obj
[1] ;
26184 if (!args
) SWIG_fail
;
26185 swig_obj
[0] = args
;
26186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
26190 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26206 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26207 PyObject
*resultobj
= 0;
26211 PyObject
* obj0
= 0 ;
26212 char * kwnames
[] = {
26213 (char *) "mode", NULL
26216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
26217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26218 if (!SWIG_IsOK(ecode1
)) {
26219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
26221 arg1
= static_cast< wxIdleMode
>(val1
);
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 wxIdleEvent::SetMode(arg1
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_Py_Void();
26235 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26236 PyObject
*resultobj
= 0;
26239 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (wxIdleMode
)wxIdleEvent::GetMode();
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= SWIG_From_int(static_cast< int >(result
));
26253 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
= 0;
26255 wxWindow
*arg1
= (wxWindow
*) 0 ;
26259 PyObject
* obj0
= 0 ;
26260 char * kwnames
[] = {
26261 (char *) "win", NULL
26264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
26265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26266 if (!SWIG_IsOK(res1
)) {
26267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
26269 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 result
= (bool)wxIdleEvent::CanSend(arg1
);
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26285 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26288 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
26289 return SWIG_Py_Void();
26292 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26293 return SWIG_Python_InitShadowInstance(args
);
26296 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
= 0;
26298 int arg1
= (int) 0 ;
26299 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
26300 wxPyEvent
*result
= 0 ;
26305 PyObject
* obj0
= 0 ;
26306 PyObject
* obj1
= 0 ;
26307 char * kwnames
[] = {
26308 (char *) "winid",(char *) "eventType", NULL
26311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26313 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26314 if (!SWIG_IsOK(ecode1
)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
26317 arg1
= static_cast< int >(val1
);
26320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26321 if (!SWIG_IsOK(ecode2
)) {
26322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
26324 arg2
= static_cast< wxEventType
>(val2
);
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
26339 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26340 PyObject
*resultobj
= 0;
26341 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26344 PyObject
*swig_obj
[1] ;
26346 if (!args
) SWIG_fail
;
26347 swig_obj
[0] = args
;
26348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
26349 if (!SWIG_IsOK(res1
)) {
26350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26352 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 resultobj
= SWIG_Py_Void();
26367 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
= 0;
26369 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26370 PyObject
*arg2
= (PyObject
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char * kwnames
[] = {
26376 (char *) "self",(char *) "self", NULL
26379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26381 if (!SWIG_IsOK(res1
)) {
26382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26384 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 (arg1
)->SetSelf(arg2
);
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= SWIG_Py_Void();
26399 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26400 PyObject
*resultobj
= 0;
26401 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26402 PyObject
*result
= 0 ;
26405 PyObject
*swig_obj
[1] ;
26407 if (!args
) SWIG_fail
;
26408 swig_obj
[0] = args
;
26409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26410 if (!SWIG_IsOK(res1
)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26413 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (PyObject
*)(arg1
)->GetSelf();
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= result
;
26427 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26430 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
26431 return SWIG_Py_Void();
26434 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26435 return SWIG_Python_InitShadowInstance(args
);
26438 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
= 0;
26440 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26441 int arg2
= (int) 0 ;
26442 wxPyCommandEvent
*result
= 0 ;
26447 PyObject
* obj0
= 0 ;
26448 PyObject
* obj1
= 0 ;
26449 char * kwnames
[] = {
26450 (char *) "eventType",(char *) "id", NULL
26453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26455 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26456 if (!SWIG_IsOK(ecode1
)) {
26457 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26459 arg1
= static_cast< wxEventType
>(val1
);
26462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26463 if (!SWIG_IsOK(ecode2
)) {
26464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
26466 arg2
= static_cast< int >(val2
);
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
26481 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26482 PyObject
*resultobj
= 0;
26483 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26486 PyObject
*swig_obj
[1] ;
26488 if (!args
) SWIG_fail
;
26489 swig_obj
[0] = args
;
26490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26494 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_Py_Void();
26509 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
= 0;
26511 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26512 PyObject
*arg2
= (PyObject
*) 0 ;
26515 PyObject
* obj0
= 0 ;
26516 PyObject
* obj1
= 0 ;
26517 char * kwnames
[] = {
26518 (char *) "self",(char *) "self", NULL
26521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26523 if (!SWIG_IsOK(res1
)) {
26524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26526 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 (arg1
)->SetSelf(arg2
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_Py_Void();
26541 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26542 PyObject
*resultobj
= 0;
26543 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26544 PyObject
*result
= 0 ;
26547 PyObject
*swig_obj
[1] ;
26549 if (!args
) SWIG_fail
;
26550 swig_obj
[0] = args
;
26551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26555 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= (PyObject
*)(arg1
)->GetSelf();
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= result
;
26569 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26572 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
26573 return SWIG_Py_Void();
26576 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26577 return SWIG_Python_InitShadowInstance(args
);
26580 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26581 PyObject
*resultobj
= 0;
26582 wxWindow
*arg1
= (wxWindow
*) 0 ;
26583 wxDateTime
*arg2
= 0 ;
26585 wxDateEvent
*result
= 0 ;
26592 PyObject
* obj0
= 0 ;
26593 PyObject
* obj1
= 0 ;
26594 PyObject
* obj2
= 0 ;
26595 char * kwnames
[] = {
26596 (char *) "win",(char *) "dt",(char *) "type", NULL
26599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26604 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26606 if (!SWIG_IsOK(res2
)) {
26607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26612 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26614 if (!SWIG_IsOK(ecode3
)) {
26615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
26617 arg3
= static_cast< wxEventType
>(val3
);
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
26631 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26632 PyObject
*resultobj
= 0;
26633 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26634 wxDateTime
*result
= 0 ;
26637 PyObject
*swig_obj
[1] ;
26639 if (!args
) SWIG_fail
;
26640 swig_obj
[0] = args
;
26641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26642 if (!SWIG_IsOK(res1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
26645 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
26650 result
= (wxDateTime
*) &_result_ref
;
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26662 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
= 0;
26664 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26665 wxDateTime
*arg2
= 0 ;
26670 PyObject
* obj0
= 0 ;
26671 PyObject
* obj1
= 0 ;
26672 char * kwnames
[] = {
26673 (char *) "self",(char *) "date", NULL
26676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26678 if (!SWIG_IsOK(res1
)) {
26679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
26681 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26683 if (!SWIG_IsOK(res2
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26689 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 resultobj
= SWIG_Py_Void();
26703 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26706 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
26707 return SWIG_Py_Void();
26710 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26711 return SWIG_Python_InitShadowInstance(args
);
26714 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26715 PyObject
*resultobj
= 0;
26716 wxPyApp
*result
= 0 ;
26718 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (wxPyApp
*)new_wxPyApp();
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
26732 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26733 PyObject
*resultobj
= 0;
26734 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26737 PyObject
*swig_obj
[1] ;
26739 if (!args
) SWIG_fail
;
26740 swig_obj
[0] = args
;
26741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
26742 if (!SWIG_IsOK(res1
)) {
26743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
26745 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= SWIG_Py_Void();
26760 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
= 0;
26762 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26763 PyObject
*arg2
= (PyObject
*) 0 ;
26764 PyObject
*arg3
= (PyObject
*) 0 ;
26770 PyObject
* obj0
= 0 ;
26771 PyObject
* obj1
= 0 ;
26772 PyObject
* obj2
= 0 ;
26773 PyObject
* obj3
= 0 ;
26774 char * kwnames
[] = {
26775 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26780 if (!SWIG_IsOK(res1
)) {
26781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
26783 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26786 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
26787 if (!SWIG_IsOK(ecode4
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
26790 arg4
= static_cast< bool >(val4
);
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= SWIG_Py_Void();
26804 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26805 PyObject
*resultobj
= 0;
26806 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26810 PyObject
*swig_obj
[1] ;
26812 if (!args
) SWIG_fail
;
26813 swig_obj
[0] = args
;
26814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26815 if (!SWIG_IsOK(res1
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26818 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= ((wxPyApp
const *)arg1
)->GetAppName();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26838 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
= 0;
26840 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26841 wxString
*arg2
= 0 ;
26844 bool temp2
= false ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char * kwnames
[] = {
26848 (char *) "self",(char *) "name", NULL
26851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26853 if (!SWIG_IsOK(res1
)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
26856 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26858 arg2
= wxString_in_helper(obj1
);
26859 if (arg2
== NULL
) SWIG_fail
;
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 (arg1
)->SetAppName((wxString
const &)*arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_Py_Void();
26883 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26884 PyObject
*resultobj
= 0;
26885 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26889 PyObject
*swig_obj
[1] ;
26891 if (!args
) SWIG_fail
;
26892 swig_obj
[0] = args
;
26893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26894 if (!SWIG_IsOK(res1
)) {
26895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26897 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 result
= ((wxPyApp
const *)arg1
)->GetClassName();
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26917 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
= 0;
26919 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26920 wxString
*arg2
= 0 ;
26923 bool temp2
= false ;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj1
= 0 ;
26926 char * kwnames
[] = {
26927 (char *) "self",(char *) "name", NULL
26930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26932 if (!SWIG_IsOK(res1
)) {
26933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
26935 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26937 arg2
= wxString_in_helper(obj1
);
26938 if (arg2
== NULL
) SWIG_fail
;
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 (arg1
)->SetClassName((wxString
const &)*arg2
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_Py_Void();
26962 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26963 PyObject
*resultobj
= 0;
26964 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26965 wxString
*result
= 0 ;
26968 PyObject
*swig_obj
[1] ;
26970 if (!args
) SWIG_fail
;
26971 swig_obj
[0] = args
;
26972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26976 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
26981 result
= (wxString
*) &_result_ref
;
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26990 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26999 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
= 0;
27001 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27002 wxString
*arg2
= 0 ;
27005 bool temp2
= false ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char * kwnames
[] = {
27009 (char *) "self",(char *) "name", NULL
27012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27017 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27019 arg2
= wxString_in_helper(obj1
);
27020 if (arg2
== NULL
) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 (arg1
)->SetVendorName((wxString
const &)*arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= SWIG_Py_Void();
27044 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27045 PyObject
*resultobj
= 0;
27046 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27047 wxAppTraits
*result
= 0 ;
27050 PyObject
*swig_obj
[1] ;
27052 if (!args
) SWIG_fail
;
27053 swig_obj
[0] = args
;
27054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27055 if (!SWIG_IsOK(res1
)) {
27056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
27058 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 result
= (wxAppTraits
*)(arg1
)->GetTraits();
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
27072 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27073 PyObject
*resultobj
= 0;
27074 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27077 PyObject
*swig_obj
[1] ;
27079 if (!args
) SWIG_fail
;
27080 swig_obj
[0] = args
;
27081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27082 if (!SWIG_IsOK(res1
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27085 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 (arg1
)->ProcessPendingEvents();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_Py_Void();
27099 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
= 0;
27101 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27102 bool arg2
= (bool) false ;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 char * kwnames
[] = {
27111 (char *) "self",(char *) "onlyIfNeeded", NULL
27114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27116 if (!SWIG_IsOK(res1
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
27119 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27121 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27122 if (!SWIG_IsOK(ecode2
)) {
27123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
27125 arg2
= static_cast< bool >(val2
);
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (bool)(arg1
)->Yield(arg2
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27142 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27143 PyObject
*resultobj
= 0;
27144 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27147 PyObject
*swig_obj
[1] ;
27149 if (!args
) SWIG_fail
;
27150 swig_obj
[0] = args
;
27151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27152 if (!SWIG_IsOK(res1
)) {
27153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27155 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 (arg1
)->WakeUpIdle();
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= SWIG_Py_Void();
27169 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27170 PyObject
*resultobj
= 0;
27173 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 result
= (bool)wxPyApp::IsMainLoopRunning();
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27189 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27190 PyObject
*resultobj
= 0;
27191 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27195 PyObject
*swig_obj
[1] ;
27197 if (!args
) SWIG_fail
;
27198 swig_obj
[0] = args
;
27199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27203 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (int)(arg1
)->MainLoop();
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_From_int(static_cast< int >(result
));
27217 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27218 PyObject
*resultobj
= 0;
27219 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27222 PyObject
*swig_obj
[1] ;
27224 if (!args
) SWIG_fail
;
27225 swig_obj
[0] = args
;
27226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27227 if (!SWIG_IsOK(res1
)) {
27228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
27230 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_Py_Void();
27244 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27249 PyObject
*swig_obj
[1] ;
27251 if (!args
) SWIG_fail
;
27252 swig_obj
[0] = args
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27257 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 (arg1
)->ExitMainLoop();
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27264 resultobj
= SWIG_Py_Void();
27271 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27272 PyObject
*resultobj
= 0;
27273 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27277 PyObject
*swig_obj
[1] ;
27279 if (!args
) SWIG_fail
;
27280 swig_obj
[0] = args
;
27281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
27285 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27288 result
= (bool)(arg1
)->Pending();
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27301 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27302 PyObject
*resultobj
= 0;
27303 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27307 PyObject
*swig_obj
[1] ;
27309 if (!args
) SWIG_fail
;
27310 swig_obj
[0] = args
;
27311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27312 if (!SWIG_IsOK(res1
)) {
27313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
27315 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= (bool)(arg1
)->Dispatch();
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27331 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27332 PyObject
*resultobj
= 0;
27333 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27337 PyObject
*swig_obj
[1] ;
27339 if (!args
) SWIG_fail
;
27340 swig_obj
[0] = args
;
27341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27342 if (!SWIG_IsOK(res1
)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27345 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 result
= (bool)(arg1
)->ProcessIdle();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27361 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
= 0;
27363 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27364 wxWindow
*arg2
= (wxWindow
*) 0 ;
27365 wxIdleEvent
*arg3
= 0 ;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 PyObject
* obj2
= 0 ;
27376 char * kwnames
[] = {
27377 (char *) "self",(char *) "win",(char *) "event", NULL
27380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27385 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27387 if (!SWIG_IsOK(res2
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
27390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27391 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
27392 if (!SWIG_IsOK(res3
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27398 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27414 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27415 PyObject
*resultobj
= 0;
27416 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27420 PyObject
*swig_obj
[1] ;
27422 if (!args
) SWIG_fail
;
27423 swig_obj
[0] = args
;
27424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27425 if (!SWIG_IsOK(res1
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27428 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27444 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
= 0;
27446 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27447 wxWindow
*arg2
= (wxWindow
*) 0 ;
27452 PyObject
* obj0
= 0 ;
27453 PyObject
* obj1
= 0 ;
27454 char * kwnames
[] = {
27455 (char *) "self",(char *) "win", NULL
27458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27460 if (!SWIG_IsOK(res1
)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
27463 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27465 if (!SWIG_IsOK(res2
)) {
27466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27468 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 (arg1
)->SetTopWindow(arg2
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27475 resultobj
= SWIG_Py_Void();
27482 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27483 PyObject
*resultobj
= 0;
27484 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27485 wxWindow
*result
= 0 ;
27488 PyObject
*swig_obj
[1] ;
27490 if (!args
) SWIG_fail
;
27491 swig_obj
[0] = args
;
27492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27493 if (!SWIG_IsOK(res1
)) {
27494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27496 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
27500 wxPyEndAllowThreads(__tstate
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27512 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
= 0;
27514 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 char * kwnames
[] = {
27523 (char *) "self",(char *) "flag", NULL
27526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27528 if (!SWIG_IsOK(res1
)) {
27529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
27531 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27532 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27533 if (!SWIG_IsOK(ecode2
)) {
27534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
27536 arg2
= static_cast< bool >(val2
);
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 (arg1
)->SetExitOnFrameDelete(arg2
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_Py_Void();
27550 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 PyObject
*resultobj
= 0;
27552 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27556 PyObject
*swig_obj
[1] ;
27558 if (!args
) SWIG_fail
;
27559 swig_obj
[0] = args
;
27560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27564 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27580 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27581 PyObject
*resultobj
= 0;
27582 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27588 PyObject
* obj0
= 0 ;
27589 PyObject
* obj1
= 0 ;
27590 char * kwnames
[] = {
27591 (char *) "self",(char *) "flag", NULL
27594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
27599 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27600 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27601 if (!SWIG_IsOK(ecode2
)) {
27602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
27604 arg2
= static_cast< bool >(val2
);
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 (arg1
)->SetUseBestVisual(arg2
);
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= SWIG_Py_Void();
27618 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27619 PyObject
*resultobj
= 0;
27620 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27624 PyObject
*swig_obj
[1] ;
27626 if (!args
) SWIG_fail
;
27627 swig_obj
[0] = args
;
27628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27632 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27648 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
= 0;
27650 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 char * kwnames
[] = {
27659 (char *) "self",(char *) "mode", NULL
27662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27664 if (!SWIG_IsOK(res1
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27667 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27669 if (!SWIG_IsOK(ecode2
)) {
27670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
27672 arg2
= static_cast< int >(val2
);
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 (arg1
)->SetPrintMode(arg2
);
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= SWIG_Py_Void();
27686 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27687 PyObject
*resultobj
= 0;
27688 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27692 PyObject
*swig_obj
[1] ;
27694 if (!args
) SWIG_fail
;
27695 swig_obj
[0] = args
;
27696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27697 if (!SWIG_IsOK(res1
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27700 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27703 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27707 resultobj
= SWIG_From_int(static_cast< int >(result
));
27714 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27715 PyObject
*resultobj
= 0;
27716 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 char * kwnames
[] = {
27725 (char *) "self",(char *) "mode", NULL
27728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27730 if (!SWIG_IsOK(res1
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27733 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27735 if (!SWIG_IsOK(ecode2
)) {
27736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
27738 arg2
= static_cast< int >(val2
);
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 (arg1
)->SetAssertMode(arg2
);
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= SWIG_Py_Void();
27752 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27753 PyObject
*resultobj
= 0;
27754 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27758 PyObject
*swig_obj
[1] ;
27760 if (!args
) SWIG_fail
;
27761 swig_obj
[0] = args
;
27762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27766 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 result
= (int)(arg1
)->GetAssertMode();
27770 wxPyEndAllowThreads(__tstate
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= SWIG_From_int(static_cast< int >(result
));
27780 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27781 PyObject
*resultobj
= 0;
27784 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27800 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27801 PyObject
*resultobj
= 0;
27804 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 result
= (long)wxPyApp::GetMacAboutMenuItemId();
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 resultobj
= SWIG_From_long(static_cast< long >(result
));
27818 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27819 PyObject
*resultobj
= 0;
27822 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 resultobj
= SWIG_From_long(static_cast< long >(result
));
27836 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27837 PyObject
*resultobj
= 0;
27840 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 result
= (long)wxPyApp::GetMacExitMenuItemId();
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= SWIG_From_long(static_cast< long >(result
));
27854 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27855 PyObject
*resultobj
= 0;
27858 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= wxPyApp::GetMacHelpMenuTitleName();
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27878 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
= 0;
27883 PyObject
* obj0
= 0 ;
27884 char * kwnames
[] = {
27885 (char *) "val", NULL
27888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
27889 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
27890 if (!SWIG_IsOK(ecode1
)) {
27891 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
27893 arg1
= static_cast< bool >(val1
);
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 resultobj
= SWIG_Py_Void();
27907 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
= 0;
27912 PyObject
* obj0
= 0 ;
27913 char * kwnames
[] = {
27914 (char *) "val", NULL
27917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27918 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27919 if (!SWIG_IsOK(ecode1
)) {
27920 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
27922 arg1
= static_cast< long >(val1
);
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 wxPyApp::SetMacAboutMenuItemId(arg1
);
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= SWIG_Py_Void();
27936 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
= 0;
27941 PyObject
* obj0
= 0 ;
27942 char * kwnames
[] = {
27943 (char *) "val", NULL
27946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27947 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27948 if (!SWIG_IsOK(ecode1
)) {
27949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
27951 arg1
= static_cast< long >(val1
);
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
= 0;
27970 PyObject
* obj0
= 0 ;
27971 char * kwnames
[] = {
27972 (char *) "val", NULL
27975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27976 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27977 if (!SWIG_IsOK(ecode1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
27980 arg1
= static_cast< long >(val1
);
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27983 wxPyApp::SetMacExitMenuItemId(arg1
);
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= SWIG_Py_Void();
27994 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27995 PyObject
*resultobj
= 0;
27996 wxString
*arg1
= 0 ;
27997 bool temp1
= false ;
27998 PyObject
* obj0
= 0 ;
27999 char * kwnames
[] = {
28000 (char *) "val", NULL
28003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
28005 arg1
= wxString_in_helper(obj0
);
28006 if (arg1
== NULL
) SWIG_fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= SWIG_Py_Void();
28030 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28031 PyObject
*resultobj
= 0;
28032 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28035 PyObject
*swig_obj
[1] ;
28037 if (!args
) SWIG_fail
;
28038 swig_obj
[0] = args
;
28039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28040 if (!SWIG_IsOK(res1
)) {
28041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
28043 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 (arg1
)->_BootstrapApp();
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= SWIG_Py_Void();
28057 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28058 PyObject
*resultobj
= 0;
28061 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 result
= (int)wxPyApp::GetComCtl32Version();
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_From_int(static_cast< int >(result
));
28075 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28078 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
28079 return SWIG_Py_Void();
28082 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28083 return SWIG_Python_InitShadowInstance(args
);
28086 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28087 PyObject
*resultobj
= 0;
28089 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_Py_Void();
28103 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28104 PyObject
*resultobj
= 0;
28107 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 result
= (bool)wxYield();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28123 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28124 PyObject
*resultobj
= 0;
28127 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 result
= (bool)wxYieldIfNeeded();
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28143 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
= 0;
28145 wxWindow
*arg1
= (wxWindow
*) NULL
;
28146 bool arg2
= (bool) false ;
28152 PyObject
* obj0
= 0 ;
28153 PyObject
* obj1
= 0 ;
28154 char * kwnames
[] = {
28155 (char *) "win",(char *) "onlyIfNeeded", NULL
28158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28161 if (!SWIG_IsOK(res1
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
28164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28168 if (!SWIG_IsOK(ecode2
)) {
28169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
28171 arg2
= static_cast< bool >(val2
);
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 result
= (bool)wxSafeYield(arg1
,arg2
);
28176 wxPyEndAllowThreads(__tstate
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28188 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28189 PyObject
*resultobj
= 0;
28191 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= SWIG_Py_Void();
28205 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28206 PyObject
*resultobj
= 0;
28207 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
28208 wxEvent
*arg2
= 0 ;
28213 PyObject
* obj0
= 0 ;
28214 PyObject
* obj1
= 0 ;
28215 char * kwnames
[] = {
28216 (char *) "dest",(char *) "event", NULL
28219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
28221 if (!SWIG_IsOK(res1
)) {
28222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
28224 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
28225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
28226 if (!SWIG_IsOK(res2
)) {
28227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28232 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 wxPostEvent(arg1
,*arg2
);
28236 wxPyEndAllowThreads(__tstate
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= SWIG_Py_Void();
28246 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28247 PyObject
*resultobj
= 0;
28249 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_Py_Void();
28263 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28264 PyObject
*resultobj
= 0;
28265 wxPyApp
*result
= 0 ;
28267 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (wxPyApp
*)wxPyGetApp();
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= wxPyMake_wxObject(result
, 0);
28283 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
= 0;
28285 char *arg1
= (char *) 0 ;
28289 PyObject
* obj0
= 0 ;
28290 char * kwnames
[] = {
28291 (char *) "encoding", NULL
28294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
28295 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
28296 if (!SWIG_IsOK(res1
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 wxSetDefaultPyEncoding((char const *)arg1
);
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= SWIG_Py_Void();
28307 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28310 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28315 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28316 PyObject
*resultobj
= 0;
28319 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 result
= (char *)wxGetDefaultPyEncoding();
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 resultobj
= SWIG_FromCharPtr(result
);
28333 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28334 PyObject
*resultobj
= 0;
28335 wxEventLoop
*result
= 0 ;
28337 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxEventLoop
*)new wxEventLoop();
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
28351 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28352 PyObject
*resultobj
= 0;
28353 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28356 PyObject
*swig_obj
[1] ;
28358 if (!args
) SWIG_fail
;
28359 swig_obj
[0] = args
;
28360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
28361 if (!SWIG_IsOK(res1
)) {
28362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28364 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_Py_Void();
28379 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28380 PyObject
*resultobj
= 0;
28381 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28385 PyObject
*swig_obj
[1] ;
28387 if (!args
) SWIG_fail
;
28388 swig_obj
[0] = args
;
28389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28390 if (!SWIG_IsOK(res1
)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28393 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (int)(arg1
)->Run();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_From_int(static_cast< int >(result
));
28407 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
= 0;
28409 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28410 int arg2
= (int) 0 ;
28415 PyObject
* obj0
= 0 ;
28416 PyObject
* obj1
= 0 ;
28417 char * kwnames
[] = {
28418 (char *) "self",(char *) "rc", NULL
28421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28423 if (!SWIG_IsOK(res1
)) {
28424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28426 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28429 if (!SWIG_IsOK(ecode2
)) {
28430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
28432 arg2
= static_cast< int >(val2
);
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 (arg1
)->Exit(arg2
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28440 resultobj
= SWIG_Py_Void();
28447 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28448 PyObject
*resultobj
= 0;
28449 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28453 PyObject
*swig_obj
[1] ;
28455 if (!args
) SWIG_fail
;
28456 swig_obj
[0] = args
;
28457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28458 if (!SWIG_IsOK(res1
)) {
28459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28461 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28477 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28478 PyObject
*resultobj
= 0;
28479 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28483 PyObject
*swig_obj
[1] ;
28485 if (!args
) SWIG_fail
;
28486 swig_obj
[0] = args
;
28487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28488 if (!SWIG_IsOK(res1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28491 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (bool)(arg1
)->Dispatch();
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28507 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28508 PyObject
*resultobj
= 0;
28509 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28513 PyObject
*swig_obj
[1] ;
28515 if (!args
) SWIG_fail
;
28516 swig_obj
[0] = args
;
28517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28518 if (!SWIG_IsOK(res1
)) {
28519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28521 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28537 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28538 PyObject
*resultobj
= 0;
28539 wxEventLoop
*result
= 0 ;
28541 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (wxEventLoop
*)wxEventLoop::GetActive();
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28555 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28556 PyObject
*resultobj
= 0;
28557 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28560 PyObject
* obj0
= 0 ;
28561 char * kwnames
[] = {
28562 (char *) "loop", NULL
28565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
28566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28570 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 wxEventLoop::SetActive(arg1
);
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= SWIG_Py_Void();
28584 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28587 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
28588 return SWIG_Py_Void();
28591 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28592 return SWIG_Python_InitShadowInstance(args
);
28595 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
= 0;
28597 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28598 wxEventLoopActivator
*result
= 0 ;
28601 PyObject
* obj0
= 0 ;
28602 char * kwnames
[] = {
28603 (char *) "evtLoop", NULL
28606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
28607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28608 if (!SWIG_IsOK(res1
)) {
28609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28611 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
28625 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28626 PyObject
*resultobj
= 0;
28627 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
28630 PyObject
*swig_obj
[1] ;
28632 if (!args
) SWIG_fail
;
28633 swig_obj
[0] = args
;
28634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
28635 if (!SWIG_IsOK(res1
)) {
28636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
28638 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28653 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28656 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
28657 return SWIG_Py_Void();
28660 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28661 return SWIG_Python_InitShadowInstance(args
);
28664 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
= 0;
28666 int arg1
= (int) 0 ;
28667 int arg2
= (int) 0 ;
28668 int arg3
= (int) 0 ;
28669 wxAcceleratorEntry
*result
= 0 ;
28676 PyObject
* obj0
= 0 ;
28677 PyObject
* obj1
= 0 ;
28678 PyObject
* obj2
= 0 ;
28679 char * kwnames
[] = {
28680 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
28683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28685 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28686 if (!SWIG_IsOK(ecode1
)) {
28687 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
28689 arg1
= static_cast< int >(val1
);
28692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28693 if (!SWIG_IsOK(ecode2
)) {
28694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
28696 arg2
= static_cast< int >(val2
);
28699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28700 if (!SWIG_IsOK(ecode3
)) {
28701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
28703 arg3
= static_cast< int >(val3
);
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
28718 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28719 PyObject
*resultobj
= 0;
28720 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28723 PyObject
*swig_obj
[1] ;
28725 if (!args
) SWIG_fail
;
28726 swig_obj
[0] = args
;
28727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
28728 if (!SWIG_IsOK(res1
)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28731 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= SWIG_Py_Void();
28746 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
= 0;
28748 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 PyObject
* obj2
= 0 ;
28763 PyObject
* obj3
= 0 ;
28764 char * kwnames
[] = {
28765 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
28768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28770 if (!SWIG_IsOK(res1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28773 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28775 if (!SWIG_IsOK(ecode2
)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
28778 arg2
= static_cast< int >(val2
);
28779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28780 if (!SWIG_IsOK(ecode3
)) {
28781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
28783 arg3
= static_cast< int >(val3
);
28784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28785 if (!SWIG_IsOK(ecode4
)) {
28786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
28788 arg4
= static_cast< int >(val4
);
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 (arg1
)->Set(arg2
,arg3
,arg4
);
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 resultobj
= SWIG_Py_Void();
28802 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28803 PyObject
*resultobj
= 0;
28804 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28808 PyObject
*swig_obj
[1] ;
28810 if (!args
) SWIG_fail
;
28811 swig_obj
[0] = args
;
28812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28813 if (!SWIG_IsOK(res1
)) {
28814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28816 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28819 result
= (int)(arg1
)->GetFlags();
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= SWIG_From_int(static_cast< int >(result
));
28830 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28831 PyObject
*resultobj
= 0;
28832 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28836 PyObject
*swig_obj
[1] ;
28838 if (!args
) SWIG_fail
;
28839 swig_obj
[0] = args
;
28840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28841 if (!SWIG_IsOK(res1
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28844 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (int)(arg1
)->GetKeyCode();
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= SWIG_From_int(static_cast< int >(result
));
28858 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28859 PyObject
*resultobj
= 0;
28860 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28864 PyObject
*swig_obj
[1] ;
28866 if (!args
) SWIG_fail
;
28867 swig_obj
[0] = args
;
28868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28869 if (!SWIG_IsOK(res1
)) {
28870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28872 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (int)(arg1
)->GetCommand();
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_From_int(static_cast< int >(result
));
28886 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28889 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
28890 return SWIG_Py_Void();
28893 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28894 return SWIG_Python_InitShadowInstance(args
);
28897 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
= 0;
28900 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28901 wxAcceleratorTable
*result
= 0 ;
28902 PyObject
* obj0
= 0 ;
28903 char * kwnames
[] = {
28907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
28909 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
28910 if (arg2
) arg1
= PyList_Size(obj0
);
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
28926 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28927 PyObject
*resultobj
= 0;
28928 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
28931 PyObject
*swig_obj
[1] ;
28933 if (!args
) SWIG_fail
;
28934 swig_obj
[0] = args
;
28935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
28936 if (!SWIG_IsOK(res1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
28939 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= SWIG_Py_Void();
28954 SWIGINTERN PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28955 PyObject
*resultobj
= 0;
28956 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
28960 PyObject
*swig_obj
[1] ;
28962 if (!args
) SWIG_fail
;
28963 swig_obj
[0] = args
;
28964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
28965 if (!SWIG_IsOK(res1
)) {
28966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_Ok" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
28968 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
28972 wxPyEndAllowThreads(__tstate
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28984 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28987 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
28988 return SWIG_Py_Void();
28991 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28992 return SWIG_Python_InitShadowInstance(args
);
28995 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
28996 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
29001 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
29002 PyObject
*pyobj
= 0;
29004 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
29009 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29010 PyObject
*resultobj
= 0;
29011 wxString
*arg1
= 0 ;
29012 wxAcceleratorEntry
*result
= 0 ;
29013 bool temp1
= false ;
29014 PyObject
* obj0
= 0 ;
29015 char * kwnames
[] = {
29016 (char *) "label", NULL
29019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
29021 arg1
= wxString_in_helper(obj0
);
29022 if (arg1
== NULL
) SWIG_fail
;
29026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29046 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
29047 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
29052 SWIGINTERN PyObject
*PanelNameStr_get(void) {
29053 PyObject
*pyobj
= 0;
29057 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29059 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29066 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29067 PyObject
*resultobj
= 0;
29068 wxVisualAttributes
*result
= 0 ;
29070 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
29084 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29085 PyObject
*resultobj
= 0;
29086 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29089 PyObject
*swig_obj
[1] ;
29091 if (!args
) SWIG_fail
;
29092 swig_obj
[0] = args
;
29093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
29094 if (!SWIG_IsOK(res1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29097 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 delete_wxVisualAttributes(arg1
);
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= SWIG_Py_Void();
29112 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29113 PyObject
*resultobj
= 0;
29114 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29115 wxFont
*arg2
= (wxFont
*) 0 ;
29120 PyObject
*swig_obj
[2] ;
29122 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
29123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29124 if (!SWIG_IsOK(res1
)) {
29125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29127 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29128 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29129 if (!SWIG_IsOK(res2
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
29132 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29133 if (arg1
) (arg1
)->font
= *arg2
;
29135 resultobj
= SWIG_Py_Void();
29142 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29143 PyObject
*resultobj
= 0;
29144 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29145 wxFont
*result
= 0 ;
29148 PyObject
*swig_obj
[1] ;
29150 if (!args
) SWIG_fail
;
29151 swig_obj
[0] = args
;
29152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29153 if (!SWIG_IsOK(res1
)) {
29154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29156 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29157 result
= (wxFont
*)& ((arg1
)->font
);
29158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29165 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29166 PyObject
*resultobj
= 0;
29167 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29168 wxColour
*arg2
= (wxColour
*) 0 ;
29173 PyObject
*swig_obj
[2] ;
29175 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
29176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29177 if (!SWIG_IsOK(res1
)) {
29178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29180 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29181 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29182 if (!SWIG_IsOK(res2
)) {
29183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29185 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29186 if (arg1
) (arg1
)->colFg
= *arg2
;
29188 resultobj
= SWIG_Py_Void();
29195 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29196 PyObject
*resultobj
= 0;
29197 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29198 wxColour
*result
= 0 ;
29201 PyObject
*swig_obj
[1] ;
29203 if (!args
) SWIG_fail
;
29204 swig_obj
[0] = args
;
29205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29206 if (!SWIG_IsOK(res1
)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29209 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29210 result
= (wxColour
*)& ((arg1
)->colFg
);
29211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29218 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29219 PyObject
*resultobj
= 0;
29220 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29221 wxColour
*arg2
= (wxColour
*) 0 ;
29226 PyObject
*swig_obj
[2] ;
29228 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
29229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29230 if (!SWIG_IsOK(res1
)) {
29231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29233 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29234 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29235 if (!SWIG_IsOK(res2
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29238 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29239 if (arg1
) (arg1
)->colBg
= *arg2
;
29241 resultobj
= SWIG_Py_Void();
29248 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29249 PyObject
*resultobj
= 0;
29250 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29251 wxColour
*result
= 0 ;
29254 PyObject
*swig_obj
[1] ;
29256 if (!args
) SWIG_fail
;
29257 swig_obj
[0] = args
;
29258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29259 if (!SWIG_IsOK(res1
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29262 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29263 result
= (wxColour
*)& ((arg1
)->colBg
);
29264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29271 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29274 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
29275 return SWIG_Py_Void();
29278 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29279 return SWIG_Python_InitShadowInstance(args
);
29282 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
= 0;
29284 wxWindow
*arg1
= (wxWindow
*) 0 ;
29285 int arg2
= (int) (int)-1 ;
29286 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29287 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29288 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29289 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29290 long arg5
= (long) 0 ;
29291 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
29292 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29293 wxWindow
*result
= 0 ;
29302 bool temp6
= false ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 PyObject
* obj2
= 0 ;
29306 PyObject
* obj3
= 0 ;
29307 PyObject
* obj4
= 0 ;
29308 PyObject
* obj5
= 0 ;
29309 char * kwnames
[] = {
29310 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29315 if (!SWIG_IsOK(res1
)) {
29316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
29318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29321 if (!SWIG_IsOK(ecode2
)) {
29322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
29324 arg2
= static_cast< int >(val2
);
29329 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29335 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29339 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29340 if (!SWIG_IsOK(ecode5
)) {
29341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
29343 arg5
= static_cast< long >(val5
);
29347 arg6
= wxString_in_helper(obj5
);
29348 if (arg6
== NULL
) SWIG_fail
;
29353 if (!wxPyCheckForApp()) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
29374 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29375 PyObject
*resultobj
= 0;
29376 wxWindow
*result
= 0 ;
29378 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
29380 if (!wxPyCheckForApp()) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= (wxWindow
*)new wxWindow();
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
29393 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
= 0;
29395 wxWindow
*arg1
= (wxWindow
*) 0 ;
29396 wxWindow
*arg2
= (wxWindow
*) 0 ;
29397 int arg3
= (int) (int)-1 ;
29398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29402 long arg6
= (long) 0 ;
29403 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29404 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29416 bool temp7
= false ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 PyObject
* obj2
= 0 ;
29420 PyObject
* obj3
= 0 ;
29421 PyObject
* obj4
= 0 ;
29422 PyObject
* obj5
= 0 ;
29423 PyObject
* obj6
= 0 ;
29424 char * kwnames
[] = {
29425 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29430 if (!SWIG_IsOK(res1
)) {
29431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
29433 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29435 if (!SWIG_IsOK(res2
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29438 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29441 if (!SWIG_IsOK(ecode3
)) {
29442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
29444 arg3
= static_cast< int >(val3
);
29449 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29455 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29459 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29460 if (!SWIG_IsOK(ecode6
)) {
29461 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
29463 arg6
= static_cast< long >(val6
);
29467 arg7
= wxString_in_helper(obj6
);
29468 if (arg7
== NULL
) SWIG_fail
;
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29475 wxPyEndAllowThreads(__tstate
);
29476 if (PyErr_Occurred()) SWIG_fail
;
29479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29495 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
= 0;
29497 wxWindow
*arg1
= (wxWindow
*) 0 ;
29498 bool arg2
= (bool) false ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 char * kwnames
[] = {
29507 (char *) "self",(char *) "force", NULL
29510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
29515 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29517 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29518 if (!SWIG_IsOK(ecode2
)) {
29519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
29521 arg2
= static_cast< bool >(val2
);
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 result
= (bool)(arg1
)->Close(arg2
);
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29538 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29539 PyObject
*resultobj
= 0;
29540 wxWindow
*arg1
= (wxWindow
*) 0 ;
29544 PyObject
*swig_obj
[1] ;
29546 if (!args
) SWIG_fail
;
29547 swig_obj
[0] = args
;
29548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29549 if (!SWIG_IsOK(res1
)) {
29550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
29552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29555 result
= (bool)(arg1
)->Destroy();
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29568 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29569 PyObject
*resultobj
= 0;
29570 wxWindow
*arg1
= (wxWindow
*) 0 ;
29574 PyObject
*swig_obj
[1] ;
29576 if (!args
) SWIG_fail
;
29577 swig_obj
[0] = args
;
29578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29579 if (!SWIG_IsOK(res1
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
29582 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29585 result
= (bool)(arg1
)->DestroyChildren();
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29598 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29599 PyObject
*resultobj
= 0;
29600 wxWindow
*arg1
= (wxWindow
*) 0 ;
29604 PyObject
*swig_obj
[1] ;
29606 if (!args
) SWIG_fail
;
29607 swig_obj
[0] = args
;
29608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29609 if (!SWIG_IsOK(res1
)) {
29610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
29612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29628 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
= 0;
29630 wxWindow
*arg1
= (wxWindow
*) 0 ;
29631 wxString
*arg2
= 0 ;
29634 bool temp2
= false ;
29635 PyObject
* obj0
= 0 ;
29636 PyObject
* obj1
= 0 ;
29637 char * kwnames
[] = {
29638 (char *) "self",(char *) "label", NULL
29641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29643 if (!SWIG_IsOK(res1
)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
29646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29648 arg2
= wxString_in_helper(obj1
);
29649 if (arg2
== NULL
) SWIG_fail
;
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 (arg1
)->SetLabel((wxString
const &)*arg2
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= SWIG_Py_Void();
29673 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29674 PyObject
*resultobj
= 0;
29675 wxWindow
*arg1
= (wxWindow
*) 0 ;
29679 PyObject
*swig_obj
[1] ;
29681 if (!args
) SWIG_fail
;
29682 swig_obj
[0] = args
;
29683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29684 if (!SWIG_IsOK(res1
)) {
29685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
29687 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29690 result
= ((wxWindow
const *)arg1
)->GetLabel();
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29707 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29708 PyObject
*resultobj
= 0;
29709 wxWindow
*arg1
= (wxWindow
*) 0 ;
29710 wxString
*arg2
= 0 ;
29713 bool temp2
= false ;
29714 PyObject
* obj0
= 0 ;
29715 PyObject
* obj1
= 0 ;
29716 char * kwnames
[] = {
29717 (char *) "self",(char *) "name", NULL
29720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
29725 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29727 arg2
= wxString_in_helper(obj1
);
29728 if (arg2
== NULL
) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 (arg1
)->SetName((wxString
const &)*arg2
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= SWIG_Py_Void();
29752 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29753 PyObject
*resultobj
= 0;
29754 wxWindow
*arg1
= (wxWindow
*) 0 ;
29758 PyObject
*swig_obj
[1] ;
29760 if (!args
) SWIG_fail
;
29761 swig_obj
[0] = args
;
29762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29763 if (!SWIG_IsOK(res1
)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
29766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 result
= ((wxWindow
const *)arg1
)->GetName();
29770 wxPyEndAllowThreads(__tstate
);
29771 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29786 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
= 0;
29788 wxWindow
*arg1
= (wxWindow
*) 0 ;
29789 wxWindowVariant arg2
;
29794 PyObject
* obj0
= 0 ;
29795 PyObject
* obj1
= 0 ;
29796 char * kwnames
[] = {
29797 (char *) "self",(char *) "variant", NULL
29800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29802 if (!SWIG_IsOK(res1
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
29805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29807 if (!SWIG_IsOK(ecode2
)) {
29808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
29810 arg2
= static_cast< wxWindowVariant
>(val2
);
29812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29813 (arg1
)->SetWindowVariant(arg2
);
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= SWIG_Py_Void();
29824 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29825 PyObject
*resultobj
= 0;
29826 wxWindow
*arg1
= (wxWindow
*) 0 ;
29827 wxWindowVariant result
;
29830 PyObject
*swig_obj
[1] ;
29832 if (!args
) SWIG_fail
;
29833 swig_obj
[0] = args
;
29834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29835 if (!SWIG_IsOK(res1
)) {
29836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
29838 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= SWIG_From_int(static_cast< int >(result
));
29852 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29853 PyObject
*resultobj
= 0;
29854 wxWindow
*arg1
= (wxWindow
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 char * kwnames
[] = {
29863 (char *) "self",(char *) "winid", NULL
29866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
29871 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29873 if (!SWIG_IsOK(ecode2
)) {
29874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
29876 arg2
= static_cast< int >(val2
);
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 (arg1
)->SetId(arg2
);
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= SWIG_Py_Void();
29890 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29891 PyObject
*resultobj
= 0;
29892 wxWindow
*arg1
= (wxWindow
*) 0 ;
29896 PyObject
*swig_obj
[1] ;
29898 if (!args
) SWIG_fail
;
29899 swig_obj
[0] = args
;
29900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29901 if (!SWIG_IsOK(res1
)) {
29902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
29904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (int)((wxWindow
const *)arg1
)->GetId();
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= SWIG_From_int(static_cast< int >(result
));
29918 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29919 PyObject
*resultobj
= 0;
29922 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (int)wxWindow::NewControlId();
29926 wxPyEndAllowThreads(__tstate
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29929 resultobj
= SWIG_From_int(static_cast< int >(result
));
29936 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
= 0;
29942 PyObject
* obj0
= 0 ;
29943 char * kwnames
[] = {
29944 (char *) "winid", NULL
29947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
29948 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29949 if (!SWIG_IsOK(ecode1
)) {
29950 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
29952 arg1
= static_cast< int >(val1
);
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= (int)wxWindow::NextControlId(arg1
);
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= SWIG_From_int(static_cast< int >(result
));
29966 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
= 0;
29972 PyObject
* obj0
= 0 ;
29973 char * kwnames
[] = {
29974 (char *) "winid", NULL
29977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
29978 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29979 if (!SWIG_IsOK(ecode1
)) {
29980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
29982 arg1
= static_cast< int >(val1
);
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (int)wxWindow::PrevControlId(arg1
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= SWIG_From_int(static_cast< int >(result
));
29996 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
= 0;
29998 wxWindow
*arg1
= (wxWindow
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 char * kwnames
[] = {
30006 (char *) "self",(char *) "size", NULL
30009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30014 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 (arg1
)->SetSize((wxSize
const &)*arg2
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_Py_Void();
30032 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
= 0;
30034 wxWindow
*arg1
= (wxWindow
*) 0 ;
30039 int arg6
= (int) wxSIZE_AUTO
;
30052 PyObject
* obj0
= 0 ;
30053 PyObject
* obj1
= 0 ;
30054 PyObject
* obj2
= 0 ;
30055 PyObject
* obj3
= 0 ;
30056 PyObject
* obj4
= 0 ;
30057 PyObject
* obj5
= 0 ;
30058 char * kwnames
[] = {
30059 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
30062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
30067 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30069 if (!SWIG_IsOK(ecode2
)) {
30070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
30072 arg2
= static_cast< int >(val2
);
30073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30074 if (!SWIG_IsOK(ecode3
)) {
30075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
30077 arg3
= static_cast< int >(val3
);
30078 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30079 if (!SWIG_IsOK(ecode4
)) {
30080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
30082 arg4
= static_cast< int >(val4
);
30083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30084 if (!SWIG_IsOK(ecode5
)) {
30085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
30087 arg5
= static_cast< int >(val5
);
30089 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30090 if (!SWIG_IsOK(ecode6
)) {
30091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
30093 arg6
= static_cast< int >(val6
);
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 resultobj
= SWIG_Py_Void();
30108 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
= 0;
30110 wxWindow
*arg1
= (wxWindow
*) 0 ;
30112 int arg3
= (int) wxSIZE_AUTO
;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 PyObject
* obj2
= 0 ;
30121 char * kwnames
[] = {
30122 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
30125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30127 if (!SWIG_IsOK(res1
)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30133 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30137 if (!SWIG_IsOK(ecode3
)) {
30138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
30140 arg3
= static_cast< int >(val3
);
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_Py_Void();
30155 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
= 0;
30157 wxWindow
*arg1
= (wxWindow
*) 0 ;
30166 PyObject
* obj0
= 0 ;
30167 PyObject
* obj1
= 0 ;
30168 PyObject
* obj2
= 0 ;
30169 char * kwnames
[] = {
30170 (char *) "self",(char *) "width",(char *) "height", NULL
30173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30175 if (!SWIG_IsOK(res1
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30180 if (!SWIG_IsOK(ecode2
)) {
30181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
30183 arg2
= static_cast< int >(val2
);
30184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30185 if (!SWIG_IsOK(ecode3
)) {
30186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
30188 arg3
= static_cast< int >(val3
);
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 (arg1
)->SetSize(arg2
,arg3
);
30192 wxPyEndAllowThreads(__tstate
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30195 resultobj
= SWIG_Py_Void();
30202 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
= 0;
30204 wxWindow
*arg1
= (wxWindow
*) 0 ;
30205 wxPoint
*arg2
= 0 ;
30206 int arg3
= (int) wxSIZE_USE_EXISTING
;
30212 PyObject
* obj0
= 0 ;
30213 PyObject
* obj1
= 0 ;
30214 PyObject
* obj2
= 0 ;
30215 char * kwnames
[] = {
30216 (char *) "self",(char *) "pt",(char *) "flags", NULL
30219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30221 if (!SWIG_IsOK(res1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
30224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30227 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30231 if (!SWIG_IsOK(ecode3
)) {
30232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
30234 arg3
= static_cast< int >(val3
);
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 resultobj
= SWIG_Py_Void();
30249 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30250 PyObject
*resultobj
= 0;
30251 wxWindow
*arg1
= (wxWindow
*) 0 ;
30254 int arg4
= (int) wxSIZE_USE_EXISTING
;
30263 PyObject
* obj0
= 0 ;
30264 PyObject
* obj1
= 0 ;
30265 PyObject
* obj2
= 0 ;
30266 PyObject
* obj3
= 0 ;
30267 char * kwnames
[] = {
30268 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
30271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30273 if (!SWIG_IsOK(res1
)) {
30274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
30276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30278 if (!SWIG_IsOK(ecode2
)) {
30279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
30281 arg2
= static_cast< int >(val2
);
30282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30283 if (!SWIG_IsOK(ecode3
)) {
30284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
30286 arg3
= static_cast< int >(val3
);
30288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30289 if (!SWIG_IsOK(ecode4
)) {
30290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
30292 arg4
= static_cast< int >(val4
);
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 (arg1
)->Move(arg2
,arg3
,arg4
);
30297 wxPyEndAllowThreads(__tstate
);
30298 if (PyErr_Occurred()) SWIG_fail
;
30300 resultobj
= SWIG_Py_Void();
30307 SWIGINTERN PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
= 0;
30309 wxWindow
*arg1
= (wxWindow
*) 0 ;
30310 wxSize
const &arg2_defvalue
= wxDefaultSize
;
30311 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
30315 PyObject
* obj0
= 0 ;
30316 PyObject
* obj1
= 0 ;
30317 char * kwnames
[] = {
30318 (char *) "self",(char *) "size", NULL
30321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30323 if (!SWIG_IsOK(res1
)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30330 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= SWIG_Py_Void();
30346 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30347 PyObject
*resultobj
= 0;
30348 wxWindow
*arg1
= (wxWindow
*) 0 ;
30351 PyObject
*swig_obj
[1] ;
30353 if (!args
) SWIG_fail
;
30354 swig_obj
[0] = args
;
30355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30356 if (!SWIG_IsOK(res1
)) {
30357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
30359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 wxPyEndAllowThreads(__tstate
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= SWIG_Py_Void();
30373 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30374 PyObject
*resultobj
= 0;
30375 wxWindow
*arg1
= (wxWindow
*) 0 ;
30378 PyObject
*swig_obj
[1] ;
30380 if (!args
) SWIG_fail
;
30381 swig_obj
[0] = args
;
30382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30383 if (!SWIG_IsOK(res1
)) {
30384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
30386 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= SWIG_Py_Void();
30400 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
= 0;
30402 wxWindow
*arg1
= (wxWindow
*) 0 ;
30407 PyObject
* obj0
= 0 ;
30408 PyObject
* obj1
= 0 ;
30409 char * kwnames
[] = {
30410 (char *) "self",(char *) "size", NULL
30413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30415 if (!SWIG_IsOK(res1
)) {
30416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30421 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= SWIG_Py_Void();
30436 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
= 0;
30438 wxWindow
*arg1
= (wxWindow
*) 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 PyObject
* obj2
= 0 ;
30450 char * kwnames
[] = {
30451 (char *) "self",(char *) "width",(char *) "height", NULL
30454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30456 if (!SWIG_IsOK(res1
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30459 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30461 if (!SWIG_IsOK(ecode2
)) {
30462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
30464 arg2
= static_cast< int >(val2
);
30465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30466 if (!SWIG_IsOK(ecode3
)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
30469 arg3
= static_cast< int >(val3
);
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 (arg1
)->SetClientSize(arg2
,arg3
);
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_Py_Void();
30483 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
= 0;
30485 wxWindow
*arg1
= (wxWindow
*) 0 ;
30490 PyObject
* obj0
= 0 ;
30491 PyObject
* obj1
= 0 ;
30492 char * kwnames
[] = {
30493 (char *) "self",(char *) "rect", NULL
30496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30498 if (!SWIG_IsOK(res1
)) {
30499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30501 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30504 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= SWIG_Py_Void();
30519 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30520 PyObject
*resultobj
= 0;
30521 wxWindow
*arg1
= (wxWindow
*) 0 ;
30525 PyObject
*swig_obj
[1] ;
30527 if (!args
) SWIG_fail
;
30528 swig_obj
[0] = args
;
30529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30530 if (!SWIG_IsOK(res1
)) {
30531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30533 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= ((wxWindow
const *)arg1
)->GetPosition();
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30547 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30548 PyObject
*resultobj
= 0;
30549 wxWindow
*arg1
= (wxWindow
*) 0 ;
30550 int *arg2
= (int *) 0 ;
30551 int *arg3
= (int *) 0 ;
30555 int res2
= SWIG_TMPOBJ
;
30557 int res3
= SWIG_TMPOBJ
;
30558 PyObject
*swig_obj
[1] ;
30562 if (!args
) SWIG_fail
;
30563 swig_obj
[0] = args
;
30564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_Py_Void();
30576 if (SWIG_IsTmpObj(res2
)) {
30577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30579 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30582 if (SWIG_IsTmpObj(res3
)) {
30583 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30585 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30586 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30594 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30595 PyObject
*resultobj
= 0;
30596 wxWindow
*arg1
= (wxWindow
*) 0 ;
30600 PyObject
*swig_obj
[1] ;
30602 if (!args
) SWIG_fail
;
30603 swig_obj
[0] = args
;
30604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30605 if (!SWIG_IsOK(res1
)) {
30606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30608 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30615 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30622 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30623 PyObject
*resultobj
= 0;
30624 wxWindow
*arg1
= (wxWindow
*) 0 ;
30625 int *arg2
= (int *) 0 ;
30626 int *arg3
= (int *) 0 ;
30630 int res2
= SWIG_TMPOBJ
;
30632 int res3
= SWIG_TMPOBJ
;
30633 PyObject
*swig_obj
[1] ;
30637 if (!args
) SWIG_fail
;
30638 swig_obj
[0] = args
;
30639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30640 if (!SWIG_IsOK(res1
)) {
30641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30646 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30650 resultobj
= SWIG_Py_Void();
30651 if (SWIG_IsTmpObj(res2
)) {
30652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30654 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30657 if (SWIG_IsTmpObj(res3
)) {
30658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30660 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30669 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30670 PyObject
*resultobj
= 0;
30671 wxWindow
*arg1
= (wxWindow
*) 0 ;
30675 PyObject
*swig_obj
[1] ;
30677 if (!args
) SWIG_fail
;
30678 swig_obj
[0] = args
;
30679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30680 if (!SWIG_IsOK(res1
)) {
30681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30686 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
30687 wxPyEndAllowThreads(__tstate
);
30688 if (PyErr_Occurred()) SWIG_fail
;
30690 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30697 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30698 PyObject
*resultobj
= 0;
30699 wxWindow
*arg1
= (wxWindow
*) 0 ;
30703 PyObject
*swig_obj
[1] ;
30705 if (!args
) SWIG_fail
;
30706 swig_obj
[0] = args
;
30707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30708 if (!SWIG_IsOK(res1
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= ((wxWindow
const *)arg1
)->GetSize();
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30725 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30726 PyObject
*resultobj
= 0;
30727 wxWindow
*arg1
= (wxWindow
*) 0 ;
30728 int *arg2
= (int *) 0 ;
30729 int *arg3
= (int *) 0 ;
30733 int res2
= SWIG_TMPOBJ
;
30735 int res3
= SWIG_TMPOBJ
;
30736 PyObject
*swig_obj
[1] ;
30740 if (!args
) SWIG_fail
;
30741 swig_obj
[0] = args
;
30742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30743 if (!SWIG_IsOK(res1
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30746 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30749 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30753 resultobj
= SWIG_Py_Void();
30754 if (SWIG_IsTmpObj(res2
)) {
30755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30757 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30760 if (SWIG_IsTmpObj(res3
)) {
30761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30763 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30772 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30773 PyObject
*resultobj
= 0;
30774 wxWindow
*arg1
= (wxWindow
*) 0 ;
30778 PyObject
*swig_obj
[1] ;
30780 if (!args
) SWIG_fail
;
30781 swig_obj
[0] = args
;
30782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30783 if (!SWIG_IsOK(res1
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 result
= ((wxWindow
const *)arg1
)->GetRect();
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30800 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30801 PyObject
*resultobj
= 0;
30802 wxWindow
*arg1
= (wxWindow
*) 0 ;
30806 PyObject
*swig_obj
[1] ;
30808 if (!args
) SWIG_fail
;
30809 swig_obj
[0] = args
;
30810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30811 if (!SWIG_IsOK(res1
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30814 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30817 result
= ((wxWindow
const *)arg1
)->GetClientSize();
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30828 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30829 PyObject
*resultobj
= 0;
30830 wxWindow
*arg1
= (wxWindow
*) 0 ;
30831 int *arg2
= (int *) 0 ;
30832 int *arg3
= (int *) 0 ;
30836 int res2
= SWIG_TMPOBJ
;
30838 int res3
= SWIG_TMPOBJ
;
30839 PyObject
*swig_obj
[1] ;
30843 if (!args
) SWIG_fail
;
30844 swig_obj
[0] = args
;
30845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30846 if (!SWIG_IsOK(res1
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= SWIG_Py_Void();
30857 if (SWIG_IsTmpObj(res2
)) {
30858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30860 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30863 if (SWIG_IsTmpObj(res3
)) {
30864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30866 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30875 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30876 PyObject
*resultobj
= 0;
30877 wxWindow
*arg1
= (wxWindow
*) 0 ;
30881 PyObject
*swig_obj
[1] ;
30883 if (!args
) SWIG_fail
;
30884 swig_obj
[0] = args
;
30885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30886 if (!SWIG_IsOK(res1
)) {
30887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
30889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30903 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30904 PyObject
*resultobj
= 0;
30905 wxWindow
*arg1
= (wxWindow
*) 0 ;
30909 PyObject
*swig_obj
[1] ;
30911 if (!args
) SWIG_fail
;
30912 swig_obj
[0] = args
;
30913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30914 if (!SWIG_IsOK(res1
)) {
30915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30917 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 result
= ((wxWindow
const *)arg1
)->GetClientRect();
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30931 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30932 PyObject
*resultobj
= 0;
30933 wxWindow
*arg1
= (wxWindow
*) 0 ;
30937 PyObject
*swig_obj
[1] ;
30939 if (!args
) SWIG_fail
;
30940 swig_obj
[0] = args
;
30941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30942 if (!SWIG_IsOK(res1
)) {
30943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30945 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 result
= ((wxWindow
const *)arg1
)->GetBestSize();
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30959 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30960 PyObject
*resultobj
= 0;
30961 wxWindow
*arg1
= (wxWindow
*) 0 ;
30962 int *arg2
= (int *) 0 ;
30963 int *arg3
= (int *) 0 ;
30967 int res2
= SWIG_TMPOBJ
;
30969 int res3
= SWIG_TMPOBJ
;
30970 PyObject
*swig_obj
[1] ;
30974 if (!args
) SWIG_fail
;
30975 swig_obj
[0] = args
;
30976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30977 if (!SWIG_IsOK(res1
)) {
30978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30980 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_Py_Void();
30988 if (SWIG_IsTmpObj(res2
)) {
30989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30991 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30994 if (SWIG_IsTmpObj(res3
)) {
30995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30997 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31006 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31007 PyObject
*resultobj
= 0;
31008 wxWindow
*arg1
= (wxWindow
*) 0 ;
31011 PyObject
*swig_obj
[1] ;
31013 if (!args
) SWIG_fail
;
31014 swig_obj
[0] = args
;
31015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 (arg1
)->InvalidateBestSize();
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= SWIG_Py_Void();
31033 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxWindow
*arg1
= (wxWindow
*) 0 ;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 char * kwnames
[] = {
31043 (char *) "self",(char *) "size", NULL
31046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31048 if (!SWIG_IsOK(res1
)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31054 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31058 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
31059 wxPyEndAllowThreads(__tstate
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 resultobj
= SWIG_Py_Void();
31069 SWIGINTERN PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31070 PyObject
*resultobj
= 0;
31071 wxWindow
*arg1
= (wxWindow
*) 0 ;
31075 PyObject
*swig_obj
[1] ;
31077 if (!args
) SWIG_fail
;
31078 swig_obj
[0] = args
;
31079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31080 if (!SWIG_IsOK(res1
)) {
31081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31083 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31097 SWIGINTERN PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31098 PyObject
*resultobj
= 0;
31099 wxWindow
*arg1
= (wxWindow
*) 0 ;
31103 PyObject
*swig_obj
[1] ;
31105 if (!args
) SWIG_fail
;
31106 swig_obj
[0] = args
;
31107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31108 if (!SWIG_IsOK(res1
)) {
31109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAdjustedBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31111 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31125 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31126 PyObject
*resultobj
= 0;
31127 wxWindow
*arg1
= (wxWindow
*) 0 ;
31128 int arg2
= (int) wxBOTH
;
31133 PyObject
* obj0
= 0 ;
31134 PyObject
* obj1
= 0 ;
31135 char * kwnames
[] = {
31136 (char *) "self",(char *) "direction", NULL
31139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31141 if (!SWIG_IsOK(res1
)) {
31142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
31144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31147 if (!SWIG_IsOK(ecode2
)) {
31148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
31150 arg2
= static_cast< int >(val2
);
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 (arg1
)->Center(arg2
);
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31158 resultobj
= SWIG_Py_Void();
31165 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
= 0;
31167 wxWindow
*arg1
= (wxWindow
*) 0 ;
31168 int arg2
= (int) wxBOTH
;
31173 PyObject
* obj0
= 0 ;
31174 PyObject
* obj1
= 0 ;
31175 char * kwnames
[] = {
31176 (char *) "self",(char *) "dir", NULL
31179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31181 if (!SWIG_IsOK(res1
)) {
31182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
31184 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31187 if (!SWIG_IsOK(ecode2
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
31190 arg2
= static_cast< int >(val2
);
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 (arg1
)->CenterOnParent(arg2
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 resultobj
= SWIG_Py_Void();
31205 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31206 PyObject
*resultobj
= 0;
31207 wxWindow
*arg1
= (wxWindow
*) 0 ;
31210 PyObject
*swig_obj
[1] ;
31212 if (!args
) SWIG_fail
;
31213 swig_obj
[0] = args
;
31214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31215 if (!SWIG_IsOK(res1
)) {
31216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
31218 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 wxPyEndAllowThreads(__tstate
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= SWIG_Py_Void();
31232 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31233 PyObject
*resultobj
= 0;
31234 wxWindow
*arg1
= (wxWindow
*) 0 ;
31237 PyObject
*swig_obj
[1] ;
31239 if (!args
) SWIG_fail
;
31240 swig_obj
[0] = args
;
31241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
31245 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 (arg1
)->FitInside();
31249 wxPyEndAllowThreads(__tstate
);
31250 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= SWIG_Py_Void();
31259 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31260 PyObject
*resultobj
= 0;
31261 wxWindow
*arg1
= (wxWindow
*) 0 ;
31264 int arg4
= (int) -1 ;
31265 int arg5
= (int) -1 ;
31266 int arg6
= (int) -1 ;
31267 int arg7
= (int) -1 ;
31282 PyObject
* obj0
= 0 ;
31283 PyObject
* obj1
= 0 ;
31284 PyObject
* obj2
= 0 ;
31285 PyObject
* obj3
= 0 ;
31286 PyObject
* obj4
= 0 ;
31287 PyObject
* obj5
= 0 ;
31288 PyObject
* obj6
= 0 ;
31289 char * kwnames
[] = {
31290 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
31293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31295 if (!SWIG_IsOK(res1
)) {
31296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31298 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31300 if (!SWIG_IsOK(ecode2
)) {
31301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
31303 arg2
= static_cast< int >(val2
);
31304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31305 if (!SWIG_IsOK(ecode3
)) {
31306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
31308 arg3
= static_cast< int >(val3
);
31310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31311 if (!SWIG_IsOK(ecode4
)) {
31312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
31314 arg4
= static_cast< int >(val4
);
31317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31318 if (!SWIG_IsOK(ecode5
)) {
31319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
31321 arg5
= static_cast< int >(val5
);
31324 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31325 if (!SWIG_IsOK(ecode6
)) {
31326 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
31328 arg6
= static_cast< int >(val6
);
31331 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31332 if (!SWIG_IsOK(ecode7
)) {
31333 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
31335 arg7
= static_cast< int >(val7
);
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_Py_Void();
31350 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
= 0;
31352 wxWindow
*arg1
= (wxWindow
*) 0 ;
31354 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31355 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31356 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31357 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 PyObject
* obj2
= 0 ;
31366 PyObject
* obj3
= 0 ;
31367 char * kwnames
[] = {
31368 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
31371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31373 if (!SWIG_IsOK(res1
)) {
31374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31384 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31390 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
31396 wxPyEndAllowThreads(__tstate
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 resultobj
= SWIG_Py_Void();
31406 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31407 PyObject
*resultobj
= 0;
31408 wxWindow
*arg1
= (wxWindow
*) 0 ;
31411 int arg4
= (int) -1 ;
31412 int arg5
= (int) -1 ;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 PyObject
* obj2
= 0 ;
31426 PyObject
* obj3
= 0 ;
31427 PyObject
* obj4
= 0 ;
31428 char * kwnames
[] = {
31429 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
31432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31434 if (!SWIG_IsOK(res1
)) {
31435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31439 if (!SWIG_IsOK(ecode2
)) {
31440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
31442 arg2
= static_cast< int >(val2
);
31443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31444 if (!SWIG_IsOK(ecode3
)) {
31445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
31447 arg3
= static_cast< int >(val3
);
31449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31450 if (!SWIG_IsOK(ecode4
)) {
31451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
31453 arg4
= static_cast< int >(val4
);
31456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31457 if (!SWIG_IsOK(ecode5
)) {
31458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
31460 arg5
= static_cast< int >(val5
);
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= SWIG_Py_Void();
31475 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31476 PyObject
*resultobj
= 0;
31477 wxWindow
*arg1
= (wxWindow
*) 0 ;
31479 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31480 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 PyObject
* obj2
= 0 ;
31488 char * kwnames
[] = {
31489 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
31492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31494 if (!SWIG_IsOK(res1
)) {
31495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31500 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31505 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31510 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 resultobj
= SWIG_Py_Void();
31521 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31522 PyObject
*resultobj
= 0;
31523 wxWindow
*arg1
= (wxWindow
*) 0 ;
31527 PyObject
*swig_obj
[1] ;
31529 if (!args
) SWIG_fail
;
31530 swig_obj
[0] = args
;
31531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31532 if (!SWIG_IsOK(res1
)) {
31533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
31539 wxPyEndAllowThreads(__tstate
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31542 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31549 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31550 PyObject
*resultobj
= 0;
31551 wxWindow
*arg1
= (wxWindow
*) 0 ;
31555 PyObject
*swig_obj
[1] ;
31557 if (!args
) SWIG_fail
;
31558 swig_obj
[0] = args
;
31559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31560 if (!SWIG_IsOK(res1
)) {
31561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31566 result
= ((wxWindow
const *)arg1
)->GetMinSize();
31567 wxPyEndAllowThreads(__tstate
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31577 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
= 0;
31579 wxWindow
*arg1
= (wxWindow
*) 0 ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 char * kwnames
[] = {
31587 (char *) "self",(char *) "minSize", NULL
31590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31592 if (!SWIG_IsOK(res1
)) {
31593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31595 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31603 wxPyEndAllowThreads(__tstate
);
31604 if (PyErr_Occurred()) SWIG_fail
;
31606 resultobj
= SWIG_Py_Void();
31613 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31614 PyObject
*resultobj
= 0;
31615 wxWindow
*arg1
= (wxWindow
*) 0 ;
31620 PyObject
* obj0
= 0 ;
31621 PyObject
* obj1
= 0 ;
31622 char * kwnames
[] = {
31623 (char *) "self",(char *) "maxSize", NULL
31626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31628 if (!SWIG_IsOK(res1
)) {
31629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31631 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31634 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= SWIG_Py_Void();
31649 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31650 PyObject
*resultobj
= 0;
31651 wxWindow
*arg1
= (wxWindow
*) 0 ;
31655 PyObject
*swig_obj
[1] ;
31657 if (!args
) SWIG_fail
;
31658 swig_obj
[0] = args
;
31659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31660 if (!SWIG_IsOK(res1
)) {
31661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31663 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= SWIG_From_int(static_cast< int >(result
));
31677 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31678 PyObject
*resultobj
= 0;
31679 wxWindow
*arg1
= (wxWindow
*) 0 ;
31683 PyObject
*swig_obj
[1] ;
31685 if (!args
) SWIG_fail
;
31686 swig_obj
[0] = args
;
31687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31688 if (!SWIG_IsOK(res1
)) {
31689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31691 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= SWIG_From_int(static_cast< int >(result
));
31705 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31706 PyObject
*resultobj
= 0;
31707 wxWindow
*arg1
= (wxWindow
*) 0 ;
31711 PyObject
*swig_obj
[1] ;
31713 if (!args
) SWIG_fail
;
31714 swig_obj
[0] = args
;
31715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31716 if (!SWIG_IsOK(res1
)) {
31717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31719 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_From_int(static_cast< int >(result
));
31733 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31734 PyObject
*resultobj
= 0;
31735 wxWindow
*arg1
= (wxWindow
*) 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_wxWindow
, 0 | 0 );
31744 if (!SWIG_IsOK(res1
)) {
31745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31747 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31750 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= SWIG_From_int(static_cast< int >(result
));
31761 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
= 0;
31763 wxWindow
*arg1
= (wxWindow
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 PyObject
* obj1
= 0 ;
31770 char * kwnames
[] = {
31771 (char *) "self",(char *) "size", NULL
31774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31776 if (!SWIG_IsOK(res1
)) {
31777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31779 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31782 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31786 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= SWIG_Py_Void();
31797 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
= 0;
31799 wxWindow
*arg1
= (wxWindow
*) 0 ;
31808 PyObject
* obj0
= 0 ;
31809 PyObject
* obj1
= 0 ;
31810 PyObject
* obj2
= 0 ;
31811 char * kwnames
[] = {
31812 (char *) "self",(char *) "w",(char *) "h", NULL
31815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31817 if (!SWIG_IsOK(res1
)) {
31818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31822 if (!SWIG_IsOK(ecode2
)) {
31823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
31825 arg2
= static_cast< int >(val2
);
31826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31827 if (!SWIG_IsOK(ecode3
)) {
31828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
31830 arg3
= static_cast< int >(val3
);
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 (arg1
)->SetVirtualSize(arg2
,arg3
);
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31837 resultobj
= SWIG_Py_Void();
31844 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31845 PyObject
*resultobj
= 0;
31846 wxWindow
*arg1
= (wxWindow
*) 0 ;
31850 PyObject
*swig_obj
[1] ;
31852 if (!args
) SWIG_fail
;
31853 swig_obj
[0] = args
;
31854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31855 if (!SWIG_IsOK(res1
)) {
31856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31858 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31861 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
31862 wxPyEndAllowThreads(__tstate
);
31863 if (PyErr_Occurred()) SWIG_fail
;
31865 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31872 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31873 PyObject
*resultobj
= 0;
31874 wxWindow
*arg1
= (wxWindow
*) 0 ;
31875 int *arg2
= (int *) 0 ;
31876 int *arg3
= (int *) 0 ;
31880 int res2
= SWIG_TMPOBJ
;
31882 int res3
= SWIG_TMPOBJ
;
31883 PyObject
*swig_obj
[1] ;
31887 if (!args
) SWIG_fail
;
31888 swig_obj
[0] = args
;
31889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31890 if (!SWIG_IsOK(res1
)) {
31891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31893 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= SWIG_Py_Void();
31901 if (SWIG_IsTmpObj(res2
)) {
31902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31904 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31907 if (SWIG_IsTmpObj(res3
)) {
31908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31910 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31919 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31920 PyObject
*resultobj
= 0;
31921 wxWindow
*arg1
= (wxWindow
*) 0 ;
31925 PyObject
*swig_obj
[1] ;
31927 if (!args
) SWIG_fail
;
31928 swig_obj
[0] = args
;
31929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31930 if (!SWIG_IsOK(res1
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31933 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31940 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31947 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31948 PyObject
*resultobj
= 0;
31949 wxWindow
*arg1
= (wxWindow
*) 0 ;
31950 bool arg2
= (bool) true ;
31956 PyObject
* obj0
= 0 ;
31957 PyObject
* obj1
= 0 ;
31958 char * kwnames
[] = {
31959 (char *) "self",(char *) "show", NULL
31962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31964 if (!SWIG_IsOK(res1
)) {
31965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
31967 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31969 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31970 if (!SWIG_IsOK(ecode2
)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
31973 arg2
= static_cast< bool >(val2
);
31976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31977 result
= (bool)(arg1
)->Show(arg2
);
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31990 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31991 PyObject
*resultobj
= 0;
31992 wxWindow
*arg1
= (wxWindow
*) 0 ;
31996 PyObject
*swig_obj
[1] ;
31998 if (!args
) SWIG_fail
;
31999 swig_obj
[0] = args
;
32000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32001 if (!SWIG_IsOK(res1
)) {
32002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
32004 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 result
= (bool)(arg1
)->Hide();
32008 wxPyEndAllowThreads(__tstate
);
32009 if (PyErr_Occurred()) SWIG_fail
;
32012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32020 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32021 PyObject
*resultobj
= 0;
32022 wxWindow
*arg1
= (wxWindow
*) 0 ;
32023 bool arg2
= (bool) true ;
32029 PyObject
* obj0
= 0 ;
32030 PyObject
* obj1
= 0 ;
32031 char * kwnames
[] = {
32032 (char *) "self",(char *) "enable", NULL
32035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32037 if (!SWIG_IsOK(res1
)) {
32038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
32040 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32042 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32043 if (!SWIG_IsOK(ecode2
)) {
32044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
32046 arg2
= static_cast< bool >(val2
);
32049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32050 result
= (bool)(arg1
)->Enable(arg2
);
32051 wxPyEndAllowThreads(__tstate
);
32052 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32063 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32064 PyObject
*resultobj
= 0;
32065 wxWindow
*arg1
= (wxWindow
*) 0 ;
32069 PyObject
*swig_obj
[1] ;
32071 if (!args
) SWIG_fail
;
32072 swig_obj
[0] = args
;
32073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32074 if (!SWIG_IsOK(res1
)) {
32075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
32077 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32080 result
= (bool)(arg1
)->Disable();
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32093 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32094 PyObject
*resultobj
= 0;
32095 wxWindow
*arg1
= (wxWindow
*) 0 ;
32099 PyObject
*swig_obj
[1] ;
32101 if (!args
) SWIG_fail
;
32102 swig_obj
[0] = args
;
32103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32104 if (!SWIG_IsOK(res1
)) {
32105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
32107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
32111 wxPyEndAllowThreads(__tstate
);
32112 if (PyErr_Occurred()) SWIG_fail
;
32115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32123 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32124 PyObject
*resultobj
= 0;
32125 wxWindow
*arg1
= (wxWindow
*) 0 ;
32129 PyObject
*swig_obj
[1] ;
32131 if (!args
) SWIG_fail
;
32132 swig_obj
[0] = args
;
32133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32134 if (!SWIG_IsOK(res1
)) {
32135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32153 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32154 PyObject
*resultobj
= 0;
32155 wxWindow
*arg1
= (wxWindow
*) 0 ;
32161 PyObject
* obj0
= 0 ;
32162 PyObject
* obj1
= 0 ;
32163 char * kwnames
[] = {
32164 (char *) "self",(char *) "style", NULL
32167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32169 if (!SWIG_IsOK(res1
)) {
32170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
32172 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32174 if (!SWIG_IsOK(ecode2
)) {
32175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
32177 arg2
= static_cast< long >(val2
);
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 (arg1
)->SetWindowStyleFlag(arg2
);
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32184 resultobj
= SWIG_Py_Void();
32191 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32192 PyObject
*resultobj
= 0;
32193 wxWindow
*arg1
= (wxWindow
*) 0 ;
32197 PyObject
*swig_obj
[1] ;
32199 if (!args
) SWIG_fail
;
32200 swig_obj
[0] = args
;
32201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32202 if (!SWIG_IsOK(res1
)) {
32203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32208 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= SWIG_From_long(static_cast< long >(result
));
32219 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32220 PyObject
*resultobj
= 0;
32221 wxWindow
*arg1
= (wxWindow
*) 0 ;
32228 PyObject
* obj0
= 0 ;
32229 PyObject
* obj1
= 0 ;
32230 char * kwnames
[] = {
32231 (char *) "self",(char *) "flag", NULL
32234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32236 if (!SWIG_IsOK(res1
)) {
32237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32241 if (!SWIG_IsOK(ecode2
)) {
32242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
32244 arg2
= static_cast< int >(val2
);
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32260 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32261 PyObject
*resultobj
= 0;
32262 wxWindow
*arg1
= (wxWindow
*) 0 ;
32266 PyObject
*swig_obj
[1] ;
32268 if (!args
) SWIG_fail
;
32269 swig_obj
[0] = args
;
32270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32271 if (!SWIG_IsOK(res1
)) {
32272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
32274 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32277 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
32278 wxPyEndAllowThreads(__tstate
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32290 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
= 0;
32292 wxWindow
*arg1
= (wxWindow
*) 0 ;
32298 PyObject
* obj0
= 0 ;
32299 PyObject
* obj1
= 0 ;
32300 char * kwnames
[] = {
32301 (char *) "self",(char *) "exStyle", NULL
32304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32306 if (!SWIG_IsOK(res1
)) {
32307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
32309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32310 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32311 if (!SWIG_IsOK(ecode2
)) {
32312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
32314 arg2
= static_cast< long >(val2
);
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 (arg1
)->SetExtraStyle(arg2
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 resultobj
= SWIG_Py_Void();
32328 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32329 PyObject
*resultobj
= 0;
32330 wxWindow
*arg1
= (wxWindow
*) 0 ;
32334 PyObject
*swig_obj
[1] ;
32336 if (!args
) SWIG_fail
;
32337 swig_obj
[0] = args
;
32338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32339 if (!SWIG_IsOK(res1
)) {
32340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
32342 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= SWIG_From_long(static_cast< long >(result
));
32356 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
= 0;
32358 wxWindow
*arg1
= (wxWindow
*) 0 ;
32359 bool arg2
= (bool) true ;
32364 PyObject
* obj0
= 0 ;
32365 PyObject
* obj1
= 0 ;
32366 char * kwnames
[] = {
32367 (char *) "self",(char *) "modal", NULL
32370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32372 if (!SWIG_IsOK(res1
)) {
32373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
32375 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32377 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32378 if (!SWIG_IsOK(ecode2
)) {
32379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
32381 arg2
= static_cast< bool >(val2
);
32384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32385 (arg1
)->MakeModal(arg2
);
32386 wxPyEndAllowThreads(__tstate
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32389 resultobj
= SWIG_Py_Void();
32396 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
= 0;
32398 wxWindow
*arg1
= (wxWindow
*) 0 ;
32404 PyObject
* obj0
= 0 ;
32405 PyObject
* obj1
= 0 ;
32406 char * kwnames
[] = {
32407 (char *) "self",(char *) "enableTheme", NULL
32410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32412 if (!SWIG_IsOK(res1
)) {
32413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
32415 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32416 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32417 if (!SWIG_IsOK(ecode2
)) {
32418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
32420 arg2
= static_cast< bool >(val2
);
32422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32423 (arg1
)->SetThemeEnabled(arg2
);
32424 wxPyEndAllowThreads(__tstate
);
32425 if (PyErr_Occurred()) SWIG_fail
;
32427 resultobj
= SWIG_Py_Void();
32434 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32435 PyObject
*resultobj
= 0;
32436 wxWindow
*arg1
= (wxWindow
*) 0 ;
32440 PyObject
*swig_obj
[1] ;
32442 if (!args
) SWIG_fail
;
32443 swig_obj
[0] = args
;
32444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32445 if (!SWIG_IsOK(res1
)) {
32446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32448 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32464 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32465 PyObject
*resultobj
= 0;
32466 wxWindow
*arg1
= (wxWindow
*) 0 ;
32469 PyObject
*swig_obj
[1] ;
32471 if (!args
) SWIG_fail
;
32472 swig_obj
[0] = args
;
32473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32474 if (!SWIG_IsOK(res1
)) {
32475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
32477 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 (arg1
)->SetFocus();
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= SWIG_Py_Void();
32491 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32492 PyObject
*resultobj
= 0;
32493 wxWindow
*arg1
= (wxWindow
*) 0 ;
32496 PyObject
*swig_obj
[1] ;
32498 if (!args
) SWIG_fail
;
32499 swig_obj
[0] = args
;
32500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32501 if (!SWIG_IsOK(res1
)) {
32502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
32504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->SetFocusFromKbd();
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32511 resultobj
= SWIG_Py_Void();
32518 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32519 PyObject
*resultobj
= 0;
32520 wxWindow
*result
= 0 ;
32522 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
32524 if (!wxPyCheckForApp()) SWIG_fail
;
32525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32526 result
= (wxWindow
*)wxWindow::FindFocus();
32527 wxPyEndAllowThreads(__tstate
);
32528 if (PyErr_Occurred()) SWIG_fail
;
32531 resultobj
= wxPyMake_wxObject(result
, 0);
32539 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32540 PyObject
*resultobj
= 0;
32541 wxWindow
*arg1
= (wxWindow
*) 0 ;
32545 PyObject
*swig_obj
[1] ;
32547 if (!args
) SWIG_fail
;
32548 swig_obj
[0] = args
;
32549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32550 if (!SWIG_IsOK(res1
)) {
32551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
32553 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32569 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32570 PyObject
*resultobj
= 0;
32571 wxWindow
*arg1
= (wxWindow
*) 0 ;
32575 PyObject
*swig_obj
[1] ;
32577 if (!args
) SWIG_fail
;
32578 swig_obj
[0] = args
;
32579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32580 if (!SWIG_IsOK(res1
)) {
32581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
32583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32586 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32599 SWIGINTERN PyObject
*_wrap_Window_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32600 PyObject
*resultobj
= 0;
32601 wxWindow
*arg1
= (wxWindow
*) 0 ;
32602 wxWindow
*result
= 0 ;
32605 PyObject
*swig_obj
[1] ;
32607 if (!args
) SWIG_fail
;
32608 swig_obj
[0] = args
;
32609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32610 if (!SWIG_IsOK(res1
)) {
32611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultItem" "', expected argument " "1"" of type '" "wxWindow const *""'");
32613 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32616 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
32617 wxPyEndAllowThreads(__tstate
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32621 resultobj
= wxPyMake_wxObject(result
, 0);
32629 SWIGINTERN PyObject
*_wrap_Window_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32630 PyObject
*resultobj
= 0;
32631 wxWindow
*arg1
= (wxWindow
*) 0 ;
32632 wxWindow
*arg2
= (wxWindow
*) 0 ;
32633 wxWindow
*result
= 0 ;
32638 PyObject
* obj0
= 0 ;
32639 PyObject
* obj1
= 0 ;
32640 char * kwnames
[] = {
32641 (char *) "self",(char *) "child", NULL
32644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32646 if (!SWIG_IsOK(res1
)) {
32647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32649 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32651 if (!SWIG_IsOK(res2
)) {
32652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32657 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
32658 wxPyEndAllowThreads(__tstate
);
32659 if (PyErr_Occurred()) SWIG_fail
;
32662 resultobj
= wxPyMake_wxObject(result
, 0);
32670 SWIGINTERN PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32671 PyObject
*resultobj
= 0;
32672 wxWindow
*arg1
= (wxWindow
*) 0 ;
32673 wxWindow
*arg2
= (wxWindow
*) 0 ;
32678 PyObject
* obj0
= 0 ;
32679 PyObject
* obj1
= 0 ;
32680 char * kwnames
[] = {
32681 (char *) "self",(char *) "win", NULL
32684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32686 if (!SWIG_IsOK(res1
)) {
32687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32691 if (!SWIG_IsOK(res2
)) {
32692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32694 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 (arg1
)->SetTmpDefaultItem(arg2
);
32698 wxPyEndAllowThreads(__tstate
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= SWIG_Py_Void();
32708 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
= 0;
32710 wxWindow
*arg1
= (wxWindow
*) 0 ;
32711 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
32717 PyObject
* obj0
= 0 ;
32718 PyObject
* obj1
= 0 ;
32719 char * kwnames
[] = {
32720 (char *) "self",(char *) "flags", NULL
32723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
32728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32731 if (!SWIG_IsOK(ecode2
)) {
32732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
32734 arg2
= static_cast< int >(val2
);
32737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32738 result
= (bool)(arg1
)->Navigate(arg2
);
32739 wxPyEndAllowThreads(__tstate
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32751 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
= 0;
32753 wxWindow
*arg1
= (wxWindow
*) 0 ;
32754 wxWindow
*arg2
= (wxWindow
*) 0 ;
32759 PyObject
* obj0
= 0 ;
32760 PyObject
* obj1
= 0 ;
32761 char * kwnames
[] = {
32762 (char *) "self",(char *) "win", NULL
32765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32767 if (!SWIG_IsOK(res1
)) {
32768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32772 if (!SWIG_IsOK(res2
)) {
32773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32775 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 (arg1
)->MoveAfterInTabOrder(arg2
);
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32782 resultobj
= SWIG_Py_Void();
32789 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32790 PyObject
*resultobj
= 0;
32791 wxWindow
*arg1
= (wxWindow
*) 0 ;
32792 wxWindow
*arg2
= (wxWindow
*) 0 ;
32797 PyObject
* obj0
= 0 ;
32798 PyObject
* obj1
= 0 ;
32799 char * kwnames
[] = {
32800 (char *) "self",(char *) "win", NULL
32803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32805 if (!SWIG_IsOK(res1
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32810 if (!SWIG_IsOK(res2
)) {
32811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32813 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32816 (arg1
)->MoveBeforeInTabOrder(arg2
);
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32820 resultobj
= SWIG_Py_Void();
32827 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32828 PyObject
*resultobj
= 0;
32829 wxWindow
*arg1
= (wxWindow
*) 0 ;
32830 PyObject
*result
= 0 ;
32833 PyObject
*swig_obj
[1] ;
32835 if (!args
) SWIG_fail
;
32836 swig_obj
[0] = args
;
32837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32838 if (!SWIG_IsOK(res1
)) {
32839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
32841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32844 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
32845 wxPyEndAllowThreads(__tstate
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32848 resultobj
= result
;
32855 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32856 PyObject
*resultobj
= 0;
32857 wxWindow
*arg1
= (wxWindow
*) 0 ;
32858 wxWindow
*result
= 0 ;
32861 PyObject
*swig_obj
[1] ;
32863 if (!args
) SWIG_fail
;
32864 swig_obj
[0] = args
;
32865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32869 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= wxPyMake_wxObject(result
, 0);
32885 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32886 PyObject
*resultobj
= 0;
32887 wxWindow
*arg1
= (wxWindow
*) 0 ;
32888 wxWindow
*result
= 0 ;
32891 PyObject
*swig_obj
[1] ;
32893 if (!args
) SWIG_fail
;
32894 swig_obj
[0] = args
;
32895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32896 if (!SWIG_IsOK(res1
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32899 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32907 resultobj
= wxPyMake_wxObject(result
, 0);
32915 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32916 PyObject
*resultobj
= 0;
32917 wxWindow
*arg1
= (wxWindow
*) 0 ;
32921 PyObject
*swig_obj
[1] ;
32923 if (!args
) SWIG_fail
;
32924 swig_obj
[0] = args
;
32925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32926 if (!SWIG_IsOK(res1
)) {
32927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
32929 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32932 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32945 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
= 0;
32947 wxWindow
*arg1
= (wxWindow
*) 0 ;
32948 wxWindow
*arg2
= (wxWindow
*) 0 ;
32954 PyObject
* obj0
= 0 ;
32955 PyObject
* obj1
= 0 ;
32956 char * kwnames
[] = {
32957 (char *) "self",(char *) "newParent", NULL
32960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) 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_Reparent" "', 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_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
32970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 result
= (bool)(arg1
)->Reparent(arg2
);
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32986 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32987 PyObject
*resultobj
= 0;
32988 wxWindow
*arg1
= (wxWindow
*) 0 ;
32989 wxWindow
*arg2
= (wxWindow
*) 0 ;
32994 PyObject
* obj0
= 0 ;
32995 PyObject
* obj1
= 0 ;
32996 char * kwnames
[] = {
32997 (char *) "self",(char *) "child", NULL
33000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33002 if (!SWIG_IsOK(res1
)) {
33003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33005 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33007 if (!SWIG_IsOK(res2
)) {
33008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33010 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33013 (arg1
)->AddChild(arg2
);
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33017 resultobj
= SWIG_Py_Void();
33024 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
= 0;
33026 wxWindow
*arg1
= (wxWindow
*) 0 ;
33027 wxWindow
*arg2
= (wxWindow
*) 0 ;
33032 PyObject
* obj0
= 0 ;
33033 PyObject
* obj1
= 0 ;
33034 char * kwnames
[] = {
33035 (char *) "self",(char *) "child", NULL
33038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33040 if (!SWIG_IsOK(res1
)) {
33041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33043 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33044 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33045 if (!SWIG_IsOK(res2
)) {
33046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33048 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33051 (arg1
)->RemoveChild(arg2
);
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 resultobj
= SWIG_Py_Void();
33062 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
= 0;
33064 wxWindow
*arg1
= (wxWindow
*) 0 ;
33066 wxWindow
*result
= 0 ;
33071 PyObject
* obj0
= 0 ;
33072 PyObject
* obj1
= 0 ;
33073 char * kwnames
[] = {
33074 (char *) "self",(char *) "winid", NULL
33077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33079 if (!SWIG_IsOK(res1
)) {
33080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
33082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33083 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33084 if (!SWIG_IsOK(ecode2
)) {
33085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
33087 arg2
= static_cast< long >(val2
);
33089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33090 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= wxPyMake_wxObject(result
, 0);
33103 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
= 0;
33105 wxWindow
*arg1
= (wxWindow
*) 0 ;
33106 wxString
*arg2
= 0 ;
33107 wxWindow
*result
= 0 ;
33110 bool temp2
= false ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 char * kwnames
[] = {
33114 (char *) "self",(char *) "name", NULL
33117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33119 if (!SWIG_IsOK(res1
)) {
33120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
33122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33124 arg2
= wxString_in_helper(obj1
);
33125 if (arg2
== NULL
) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33135 resultobj
= wxPyMake_wxObject(result
, 0);
33151 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33152 PyObject
*resultobj
= 0;
33153 wxWindow
*arg1
= (wxWindow
*) 0 ;
33154 wxEvtHandler
*result
= 0 ;
33157 PyObject
*swig_obj
[1] ;
33159 if (!args
) SWIG_fail
;
33160 swig_obj
[0] = args
;
33161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33162 if (!SWIG_IsOK(res1
)) {
33163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
33165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33168 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
33169 wxPyEndAllowThreads(__tstate
);
33170 if (PyErr_Occurred()) SWIG_fail
;
33173 resultobj
= wxPyMake_wxObject(result
, 0);
33181 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33182 PyObject
*resultobj
= 0;
33183 wxWindow
*arg1
= (wxWindow
*) 0 ;
33184 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33189 PyObject
* obj0
= 0 ;
33190 PyObject
* obj1
= 0 ;
33191 char * kwnames
[] = {
33192 (char *) "self",(char *) "handler", NULL
33195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33197 if (!SWIG_IsOK(res1
)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33200 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33202 if (!SWIG_IsOK(res2
)) {
33203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33205 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33208 (arg1
)->SetEventHandler(arg2
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33212 resultobj
= SWIG_Py_Void();
33219 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33220 PyObject
*resultobj
= 0;
33221 wxWindow
*arg1
= (wxWindow
*) 0 ;
33222 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33227 PyObject
* obj0
= 0 ;
33228 PyObject
* obj1
= 0 ;
33229 char * kwnames
[] = {
33230 (char *) "self",(char *) "handler", NULL
33233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33235 if (!SWIG_IsOK(res1
)) {
33236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33240 if (!SWIG_IsOK(res2
)) {
33241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33243 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 (arg1
)->PushEventHandler(arg2
);
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33250 resultobj
= SWIG_Py_Void();
33257 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33258 PyObject
*resultobj
= 0;
33259 wxWindow
*arg1
= (wxWindow
*) 0 ;
33260 bool arg2
= (bool) false ;
33261 wxEvtHandler
*result
= 0 ;
33266 PyObject
* obj0
= 0 ;
33267 PyObject
* obj1
= 0 ;
33268 char * kwnames
[] = {
33269 (char *) "self",(char *) "deleteHandler", NULL
33272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33274 if (!SWIG_IsOK(res1
)) {
33275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33277 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33279 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33280 if (!SWIG_IsOK(ecode2
)) {
33281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
33283 arg2
= static_cast< bool >(val2
);
33286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33287 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
33288 wxPyEndAllowThreads(__tstate
);
33289 if (PyErr_Occurred()) SWIG_fail
;
33292 resultobj
= wxPyMake_wxObject(result
, 0);
33300 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33301 PyObject
*resultobj
= 0;
33302 wxWindow
*arg1
= (wxWindow
*) 0 ;
33303 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33309 PyObject
* obj0
= 0 ;
33310 PyObject
* obj1
= 0 ;
33311 char * kwnames
[] = {
33312 (char *) "self",(char *) "handler", NULL
33315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33317 if (!SWIG_IsOK(res1
)) {
33318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33320 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33322 if (!SWIG_IsOK(res2
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33325 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
33329 wxPyEndAllowThreads(__tstate
);
33330 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33341 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33342 PyObject
*resultobj
= 0;
33343 wxWindow
*arg1
= (wxWindow
*) 0 ;
33344 wxValidator
*arg2
= 0 ;
33349 PyObject
* obj0
= 0 ;
33350 PyObject
* obj1
= 0 ;
33351 char * kwnames
[] = {
33352 (char *) "self",(char *) "validator", NULL
33355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33357 if (!SWIG_IsOK(res1
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33360 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
33362 if (!SWIG_IsOK(res2
)) {
33363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33368 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_Py_Void();
33382 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33383 PyObject
*resultobj
= 0;
33384 wxWindow
*arg1
= (wxWindow
*) 0 ;
33385 wxValidator
*result
= 0 ;
33388 PyObject
*swig_obj
[1] ;
33390 if (!args
) SWIG_fail
;
33391 swig_obj
[0] = args
;
33392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33393 if (!SWIG_IsOK(res1
)) {
33394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33396 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33399 result
= (wxValidator
*)(arg1
)->GetValidator();
33400 wxPyEndAllowThreads(__tstate
);
33401 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33412 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33413 PyObject
*resultobj
= 0;
33414 wxWindow
*arg1
= (wxWindow
*) 0 ;
33418 PyObject
*swig_obj
[1] ;
33420 if (!args
) SWIG_fail
;
33421 swig_obj
[0] = args
;
33422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33423 if (!SWIG_IsOK(res1
)) {
33424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
33426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 result
= (bool)(arg1
)->Validate();
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33442 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33443 PyObject
*resultobj
= 0;
33444 wxWindow
*arg1
= (wxWindow
*) 0 ;
33448 PyObject
*swig_obj
[1] ;
33450 if (!args
) SWIG_fail
;
33451 swig_obj
[0] = args
;
33452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33453 if (!SWIG_IsOK(res1
)) {
33454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 result
= (bool)(arg1
)->TransferDataToWindow();
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33472 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33473 PyObject
*resultobj
= 0;
33474 wxWindow
*arg1
= (wxWindow
*) 0 ;
33478 PyObject
*swig_obj
[1] ;
33480 if (!args
) SWIG_fail
;
33481 swig_obj
[0] = args
;
33482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33483 if (!SWIG_IsOK(res1
)) {
33484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 result
= (bool)(arg1
)->TransferDataFromWindow();
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33502 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33503 PyObject
*resultobj
= 0;
33504 wxWindow
*arg1
= (wxWindow
*) 0 ;
33507 PyObject
*swig_obj
[1] ;
33509 if (!args
) SWIG_fail
;
33510 swig_obj
[0] = args
;
33511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33512 if (!SWIG_IsOK(res1
)) {
33513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33515 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33518 (arg1
)->InitDialog();
33519 wxPyEndAllowThreads(__tstate
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33522 resultobj
= SWIG_Py_Void();
33529 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33530 PyObject
*resultobj
= 0;
33531 wxWindow
*arg1
= (wxWindow
*) 0 ;
33532 wxAcceleratorTable
*arg2
= 0 ;
33537 PyObject
* obj0
= 0 ;
33538 PyObject
* obj1
= 0 ;
33539 char * kwnames
[] = {
33540 (char *) "self",(char *) "accel", NULL
33543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33545 if (!SWIG_IsOK(res1
)) {
33546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
33550 if (!SWIG_IsOK(res2
)) {
33551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33556 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
33558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33559 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
33560 wxPyEndAllowThreads(__tstate
);
33561 if (PyErr_Occurred()) SWIG_fail
;
33563 resultobj
= SWIG_Py_Void();
33570 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33571 PyObject
*resultobj
= 0;
33572 wxWindow
*arg1
= (wxWindow
*) 0 ;
33573 wxAcceleratorTable
*result
= 0 ;
33576 PyObject
*swig_obj
[1] ;
33578 if (!args
) SWIG_fail
;
33579 swig_obj
[0] = args
;
33580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33581 if (!SWIG_IsOK(res1
)) {
33582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33584 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
33588 wxPyEndAllowThreads(__tstate
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
33598 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33599 PyObject
*resultobj
= 0;
33600 wxWindow
*arg1
= (wxWindow
*) 0 ;
33613 PyObject
* obj0
= 0 ;
33614 PyObject
* obj1
= 0 ;
33615 PyObject
* obj2
= 0 ;
33616 PyObject
* obj3
= 0 ;
33617 char * kwnames
[] = {
33618 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
33621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33623 if (!SWIG_IsOK(res1
)) {
33624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33626 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33628 if (!SWIG_IsOK(ecode2
)) {
33629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
33631 arg2
= static_cast< int >(val2
);
33632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33633 if (!SWIG_IsOK(ecode3
)) {
33634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
33636 arg3
= static_cast< int >(val3
);
33637 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33638 if (!SWIG_IsOK(ecode4
)) {
33639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
33641 arg4
= static_cast< int >(val4
);
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
33645 wxPyEndAllowThreads(__tstate
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33657 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33658 PyObject
*resultobj
= 0;
33659 wxWindow
*arg1
= (wxWindow
*) 0 ;
33666 PyObject
* obj0
= 0 ;
33667 PyObject
* obj1
= 0 ;
33668 char * kwnames
[] = {
33669 (char *) "self",(char *) "hotkeyId", NULL
33672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33674 if (!SWIG_IsOK(res1
)) {
33675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33677 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33679 if (!SWIG_IsOK(ecode2
)) {
33680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
33682 arg2
= static_cast< int >(val2
);
33684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33685 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33698 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
= 0;
33700 wxWindow
*arg1
= (wxWindow
*) 0 ;
33701 wxPoint
*arg2
= 0 ;
33706 PyObject
* obj0
= 0 ;
33707 PyObject
* obj1
= 0 ;
33708 char * kwnames
[] = {
33709 (char *) "self",(char *) "pt", NULL
33712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33714 if (!SWIG_IsOK(res1
)) {
33715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33728 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33735 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33736 PyObject
*resultobj
= 0;
33737 wxWindow
*arg1
= (wxWindow
*) 0 ;
33743 PyObject
* obj0
= 0 ;
33744 PyObject
* obj1
= 0 ;
33745 char * kwnames
[] = {
33746 (char *) "self",(char *) "sz", NULL
33749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33751 if (!SWIG_IsOK(res1
)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33754 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33757 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33761 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33762 wxPyEndAllowThreads(__tstate
);
33763 if (PyErr_Occurred()) SWIG_fail
;
33765 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33772 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
= 0;
33774 wxWindow
*arg1
= (wxWindow
*) 0 ;
33775 wxPoint
*arg2
= 0 ;
33780 PyObject
* obj0
= 0 ;
33781 PyObject
* obj1
= 0 ;
33782 char * kwnames
[] = {
33783 (char *) "self",(char *) "pt", NULL
33786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33788 if (!SWIG_IsOK(res1
)) {
33789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
33791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33794 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33798 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33799 wxPyEndAllowThreads(__tstate
);
33800 if (PyErr_Occurred()) SWIG_fail
;
33802 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33809 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33810 PyObject
*resultobj
= 0;
33811 wxWindow
*arg1
= (wxWindow
*) 0 ;
33817 PyObject
* obj0
= 0 ;
33818 PyObject
* obj1
= 0 ;
33819 char * kwnames
[] = {
33820 (char *) "self",(char *) "sz", NULL
33823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33825 if (!SWIG_IsOK(res1
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
33828 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33831 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33835 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33836 wxPyEndAllowThreads(__tstate
);
33837 if (PyErr_Occurred()) SWIG_fail
;
33839 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33846 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33847 PyObject
*resultobj
= 0;
33848 wxWindow
*arg1
= (wxWindow
*) 0 ;
33849 wxPoint
*arg2
= 0 ;
33854 PyObject
* obj0
= 0 ;
33855 PyObject
* obj1
= 0 ;
33856 char * kwnames
[] = {
33857 (char *) "self",(char *) "pt", NULL
33860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33862 if (!SWIG_IsOK(res1
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33868 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33876 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33883 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33884 PyObject
*resultobj
= 0;
33885 wxWindow
*arg1
= (wxWindow
*) 0 ;
33891 PyObject
* obj0
= 0 ;
33892 PyObject
* obj1
= 0 ;
33893 char * kwnames
[] = {
33894 (char *) "self",(char *) "sz", NULL
33897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33899 if (!SWIG_IsOK(res1
)) {
33900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33902 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33905 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33913 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33920 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33921 PyObject
*resultobj
= 0;
33922 wxWindow
*arg1
= (wxWindow
*) 0 ;
33931 PyObject
* obj0
= 0 ;
33932 PyObject
* obj1
= 0 ;
33933 PyObject
* obj2
= 0 ;
33934 char * kwnames
[] = {
33935 (char *) "self",(char *) "x",(char *) "y", NULL
33938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
33943 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33945 if (!SWIG_IsOK(ecode2
)) {
33946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
33948 arg2
= static_cast< int >(val2
);
33949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33950 if (!SWIG_IsOK(ecode3
)) {
33951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
33953 arg3
= static_cast< int >(val3
);
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33956 (arg1
)->WarpPointer(arg2
,arg3
);
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33960 resultobj
= SWIG_Py_Void();
33967 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33968 PyObject
*resultobj
= 0;
33969 wxWindow
*arg1
= (wxWindow
*) 0 ;
33972 PyObject
*swig_obj
[1] ;
33974 if (!args
) SWIG_fail
;
33975 swig_obj
[0] = args
;
33976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33977 if (!SWIG_IsOK(res1
)) {
33978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
33980 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 (arg1
)->CaptureMouse();
33984 wxPyEndAllowThreads(__tstate
);
33985 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= SWIG_Py_Void();
33994 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33995 PyObject
*resultobj
= 0;
33996 wxWindow
*arg1
= (wxWindow
*) 0 ;
33999 PyObject
*swig_obj
[1] ;
34001 if (!args
) SWIG_fail
;
34002 swig_obj
[0] = args
;
34003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34004 if (!SWIG_IsOK(res1
)) {
34005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34007 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34010 (arg1
)->ReleaseMouse();
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34014 resultobj
= SWIG_Py_Void();
34021 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34022 PyObject
*resultobj
= 0;
34023 wxWindow
*result
= 0 ;
34025 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
34027 if (!wxPyCheckForApp()) SWIG_fail
;
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 result
= (wxWindow
*)wxWindow::GetCapture();
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34034 resultobj
= wxPyMake_wxObject(result
, 0);
34042 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34043 PyObject
*resultobj
= 0;
34044 wxWindow
*arg1
= (wxWindow
*) 0 ;
34048 PyObject
*swig_obj
[1] ;
34050 if (!args
) SWIG_fail
;
34051 swig_obj
[0] = args
;
34052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34053 if (!SWIG_IsOK(res1
)) {
34054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
34056 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34072 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34073 PyObject
*resultobj
= 0;
34074 wxWindow
*arg1
= (wxWindow
*) 0 ;
34075 bool arg2
= (bool) true ;
34076 wxRect
*arg3
= (wxRect
*) NULL
;
34083 PyObject
* obj0
= 0 ;
34084 PyObject
* obj1
= 0 ;
34085 PyObject
* obj2
= 0 ;
34086 char * kwnames
[] = {
34087 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
34090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34092 if (!SWIG_IsOK(res1
)) {
34093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
34095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34097 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34098 if (!SWIG_IsOK(ecode2
)) {
34099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
34101 arg2
= static_cast< bool >(val2
);
34104 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
34105 if (!SWIG_IsOK(res3
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
34108 arg3
= reinterpret_cast< wxRect
* >(argp3
);
34111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34112 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
34113 wxPyEndAllowThreads(__tstate
);
34114 if (PyErr_Occurred()) SWIG_fail
;
34116 resultobj
= SWIG_Py_Void();
34123 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34124 PyObject
*resultobj
= 0;
34125 wxWindow
*arg1
= (wxWindow
*) 0 ;
34127 bool arg3
= (bool) true ;
34133 PyObject
* obj0
= 0 ;
34134 PyObject
* obj1
= 0 ;
34135 PyObject
* obj2
= 0 ;
34136 char * kwnames
[] = {
34137 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
34140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34142 if (!SWIG_IsOK(res1
)) {
34143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34151 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34152 if (!SWIG_IsOK(ecode3
)) {
34153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
34155 arg3
= static_cast< bool >(val3
);
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= SWIG_Py_Void();
34170 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34171 PyObject
*resultobj
= 0;
34172 wxWindow
*arg1
= (wxWindow
*) 0 ;
34175 PyObject
*swig_obj
[1] ;
34177 if (!args
) SWIG_fail
;
34178 swig_obj
[0] = args
;
34179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34180 if (!SWIG_IsOK(res1
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
34183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= SWIG_Py_Void();
34197 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34198 PyObject
*resultobj
= 0;
34199 wxWindow
*arg1
= (wxWindow
*) 0 ;
34202 PyObject
*swig_obj
[1] ;
34204 if (!args
) SWIG_fail
;
34205 swig_obj
[0] = args
;
34206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34207 if (!SWIG_IsOK(res1
)) {
34208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34210 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34213 (arg1
)->ClearBackground();
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= SWIG_Py_Void();
34224 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34225 PyObject
*resultobj
= 0;
34226 wxWindow
*arg1
= (wxWindow
*) 0 ;
34229 PyObject
*swig_obj
[1] ;
34231 if (!args
) SWIG_fail
;
34232 swig_obj
[0] = args
;
34233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34234 if (!SWIG_IsOK(res1
)) {
34235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
34237 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_Py_Void();
34251 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34252 PyObject
*resultobj
= 0;
34253 wxWindow
*arg1
= (wxWindow
*) 0 ;
34256 PyObject
*swig_obj
[1] ;
34258 if (!args
) SWIG_fail
;
34259 swig_obj
[0] = args
;
34260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34261 if (!SWIG_IsOK(res1
)) {
34262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
34264 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34268 wxPyEndAllowThreads(__tstate
);
34269 if (PyErr_Occurred()) SWIG_fail
;
34271 resultobj
= SWIG_Py_Void();
34278 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
= 0;
34280 wxWindow
*arg1
= (wxWindow
*) 0 ;
34286 PyObject
* obj0
= 0 ;
34287 PyObject
* obj1
= 0 ;
34288 char * kwnames
[] = {
34289 (char *) "self",(char *) "dc", NULL
34292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
34297 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34299 if (!SWIG_IsOK(res2
)) {
34300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34305 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 (arg1
)->PrepareDC(*arg2
);
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34312 resultobj
= SWIG_Py_Void();
34319 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34320 PyObject
*resultobj
= 0;
34321 wxWindow
*arg1
= (wxWindow
*) 0 ;
34322 wxRegion
*result
= 0 ;
34325 PyObject
*swig_obj
[1] ;
34327 if (!args
) SWIG_fail
;
34328 swig_obj
[0] = args
;
34329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34330 if (!SWIG_IsOK(res1
)) {
34331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
34333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
34338 result
= (wxRegion
*) &_result_ref
;
34340 wxPyEndAllowThreads(__tstate
);
34341 if (PyErr_Occurred()) SWIG_fail
;
34343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
34350 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34351 PyObject
*resultobj
= 0;
34352 wxWindow
*arg1
= (wxWindow
*) 0 ;
34356 PyObject
*swig_obj
[1] ;
34358 if (!args
) SWIG_fail
;
34359 swig_obj
[0] = args
;
34360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34361 if (!SWIG_IsOK(res1
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34367 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
34368 wxPyEndAllowThreads(__tstate
);
34369 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34378 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34379 PyObject
*resultobj
= 0;
34380 wxWindow
*arg1
= (wxWindow
*) 0 ;
34383 int arg4
= (int) 1 ;
34384 int arg5
= (int) 1 ;
34396 PyObject
* obj0
= 0 ;
34397 PyObject
* obj1
= 0 ;
34398 PyObject
* obj2
= 0 ;
34399 PyObject
* obj3
= 0 ;
34400 PyObject
* obj4
= 0 ;
34401 char * kwnames
[] = {
34402 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
34405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34407 if (!SWIG_IsOK(res1
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
34410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34412 if (!SWIG_IsOK(ecode2
)) {
34413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
34415 arg2
= static_cast< int >(val2
);
34416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34417 if (!SWIG_IsOK(ecode3
)) {
34418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
34420 arg3
= static_cast< int >(val3
);
34422 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34423 if (!SWIG_IsOK(ecode4
)) {
34424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
34426 arg4
= static_cast< int >(val4
);
34429 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34430 if (!SWIG_IsOK(ecode5
)) {
34431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
34433 arg5
= static_cast< int >(val5
);
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34437 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34450 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
= 0;
34452 wxWindow
*arg1
= (wxWindow
*) 0 ;
34453 wxPoint
*arg2
= 0 ;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 char * kwnames
[] = {
34461 (char *) "self",(char *) "pt", NULL
34464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34466 if (!SWIG_IsOK(res1
)) {
34467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
34469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34476 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
34477 wxPyEndAllowThreads(__tstate
);
34478 if (PyErr_Occurred()) SWIG_fail
;
34481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34489 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
= 0;
34491 wxWindow
*arg1
= (wxWindow
*) 0 ;
34497 PyObject
* obj0
= 0 ;
34498 PyObject
* obj1
= 0 ;
34499 char * kwnames
[] = {
34500 (char *) "self",(char *) "rect", NULL
34503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34505 if (!SWIG_IsOK(res1
)) {
34506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34511 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34515 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34528 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34529 PyObject
*resultobj
= 0;
34530 wxWindow
*arg1
= (wxWindow
*) 0 ;
34531 SwigValueWrapper
<wxVisualAttributes
> result
;
34534 PyObject
*swig_obj
[1] ;
34536 if (!args
) SWIG_fail
;
34537 swig_obj
[0] = args
;
34538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34539 if (!SWIG_IsOK(res1
)) {
34540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
34542 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34556 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34557 PyObject
*resultobj
= 0;
34558 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
34559 SwigValueWrapper
<wxVisualAttributes
> result
;
34562 PyObject
* obj0
= 0 ;
34563 char * kwnames
[] = {
34564 (char *) "variant", NULL
34567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
34569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34570 if (!SWIG_IsOK(ecode1
)) {
34571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
34573 arg1
= static_cast< wxWindowVariant
>(val1
);
34576 if (!wxPyCheckForApp()) SWIG_fail
;
34577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34578 result
= wxWindow::GetClassDefaultAttributes(arg1
);
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34582 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34589 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34590 PyObject
*resultobj
= 0;
34591 wxWindow
*arg1
= (wxWindow
*) 0 ;
34592 wxColour
*arg2
= 0 ;
34597 PyObject
* obj0
= 0 ;
34598 PyObject
* obj1
= 0 ;
34599 char * kwnames
[] = {
34600 (char *) "self",(char *) "colour", NULL
34603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34605 if (!SWIG_IsOK(res1
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34608 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34611 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34615 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34628 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34629 PyObject
*resultobj
= 0;
34630 wxWindow
*arg1
= (wxWindow
*) 0 ;
34631 wxColour
*arg2
= 0 ;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 char * kwnames
[] = {
34638 (char *) "self",(char *) "colour", NULL
34641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34643 if (!SWIG_IsOK(res1
)) {
34644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34649 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34653 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 resultobj
= SWIG_Py_Void();
34664 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
= 0;
34666 wxWindow
*arg1
= (wxWindow
*) 0 ;
34667 wxColour
*arg2
= 0 ;
34672 PyObject
* obj0
= 0 ;
34673 PyObject
* obj1
= 0 ;
34674 char * kwnames
[] = {
34675 (char *) "self",(char *) "colour", NULL
34678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34680 if (!SWIG_IsOK(res1
)) {
34681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34686 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34703 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34704 PyObject
*resultobj
= 0;
34705 wxWindow
*arg1
= (wxWindow
*) 0 ;
34706 wxColour
*arg2
= 0 ;
34710 PyObject
* obj0
= 0 ;
34711 PyObject
* obj1
= 0 ;
34712 char * kwnames
[] = {
34713 (char *) "self",(char *) "colour", NULL
34716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34718 if (!SWIG_IsOK(res1
)) {
34719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34724 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34728 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
34729 wxPyEndAllowThreads(__tstate
);
34730 if (PyErr_Occurred()) SWIG_fail
;
34732 resultobj
= SWIG_Py_Void();
34739 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34740 PyObject
*resultobj
= 0;
34741 wxWindow
*arg1
= (wxWindow
*) 0 ;
34745 PyObject
*swig_obj
[1] ;
34747 if (!args
) SWIG_fail
;
34748 swig_obj
[0] = args
;
34749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34750 if (!SWIG_IsOK(res1
)) {
34751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34753 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
34757 wxPyEndAllowThreads(__tstate
);
34758 if (PyErr_Occurred()) SWIG_fail
;
34760 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34767 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34768 PyObject
*resultobj
= 0;
34769 wxWindow
*arg1
= (wxWindow
*) 0 ;
34773 PyObject
*swig_obj
[1] ;
34775 if (!args
) SWIG_fail
;
34776 swig_obj
[0] = args
;
34777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34778 if (!SWIG_IsOK(res1
)) {
34779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34784 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34788 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34795 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34796 PyObject
*resultobj
= 0;
34797 wxWindow
*arg1
= (wxWindow
*) 0 ;
34801 PyObject
*swig_obj
[1] ;
34803 if (!args
) SWIG_fail
;
34804 swig_obj
[0] = args
;
34805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34806 if (!SWIG_IsOK(res1
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34812 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
34813 wxPyEndAllowThreads(__tstate
);
34814 if (PyErr_Occurred()) SWIG_fail
;
34817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34825 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34826 PyObject
*resultobj
= 0;
34827 wxWindow
*arg1
= (wxWindow
*) 0 ;
34831 PyObject
*swig_obj
[1] ;
34833 if (!args
) SWIG_fail
;
34834 swig_obj
[0] = args
;
34835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34836 if (!SWIG_IsOK(res1
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
34839 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34855 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34856 PyObject
*resultobj
= 0;
34857 wxWindow
*arg1
= (wxWindow
*) 0 ;
34858 wxBackgroundStyle arg2
;
34864 PyObject
* obj0
= 0 ;
34865 PyObject
* obj1
= 0 ;
34866 char * kwnames
[] = {
34867 (char *) "self",(char *) "style", NULL
34870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34872 if (!SWIG_IsOK(res1
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
34875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34877 if (!SWIG_IsOK(ecode2
)) {
34878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
34880 arg2
= static_cast< wxBackgroundStyle
>(val2
);
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34896 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34897 PyObject
*resultobj
= 0;
34898 wxWindow
*arg1
= (wxWindow
*) 0 ;
34899 wxBackgroundStyle result
;
34902 PyObject
*swig_obj
[1] ;
34904 if (!args
) SWIG_fail
;
34905 swig_obj
[0] = args
;
34906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
34910 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34913 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
34914 wxPyEndAllowThreads(__tstate
);
34915 if (PyErr_Occurred()) SWIG_fail
;
34917 resultobj
= SWIG_From_int(static_cast< int >(result
));
34924 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34925 PyObject
*resultobj
= 0;
34926 wxWindow
*arg1
= (wxWindow
*) 0 ;
34930 PyObject
*swig_obj
[1] ;
34932 if (!args
) SWIG_fail
;
34933 swig_obj
[0] = args
;
34934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34935 if (!SWIG_IsOK(res1
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34938 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34941 result
= (bool)(arg1
)->HasTransparentBackground();
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34954 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34955 PyObject
*resultobj
= 0;
34956 wxWindow
*arg1
= (wxWindow
*) 0 ;
34957 wxCursor
*arg2
= 0 ;
34963 PyObject
* obj0
= 0 ;
34964 PyObject
* obj1
= 0 ;
34965 char * kwnames
[] = {
34966 (char *) "self",(char *) "cursor", NULL
34969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34971 if (!SWIG_IsOK(res1
)) {
34972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
34974 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
34976 if (!SWIG_IsOK(res2
)) {
34977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
34980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
34982 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
34984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34985 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34998 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34999 PyObject
*resultobj
= 0;
35000 wxWindow
*arg1
= (wxWindow
*) 0 ;
35004 PyObject
*swig_obj
[1] ;
35006 if (!args
) SWIG_fail
;
35007 swig_obj
[0] = args
;
35008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35009 if (!SWIG_IsOK(res1
)) {
35010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 result
= (arg1
)->GetCursor();
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
35026 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35027 PyObject
*resultobj
= 0;
35028 wxWindow
*arg1
= (wxWindow
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 char * kwnames
[] = {
35038 (char *) "self",(char *) "font", NULL
35041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35043 if (!SWIG_IsOK(res1
)) {
35044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35046 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35048 if (!SWIG_IsOK(res2
)) {
35049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35054 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35057 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
35058 wxPyEndAllowThreads(__tstate
);
35059 if (PyErr_Occurred()) SWIG_fail
;
35062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35070 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
= 0;
35072 wxWindow
*arg1
= (wxWindow
*) 0 ;
35078 PyObject
* obj0
= 0 ;
35079 PyObject
* obj1
= 0 ;
35080 char * kwnames
[] = {
35081 (char *) "self",(char *) "font", NULL
35084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35086 if (!SWIG_IsOK(res1
)) {
35087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35089 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35091 if (!SWIG_IsOK(res2
)) {
35092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35097 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35100 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35104 resultobj
= SWIG_Py_Void();
35111 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35112 PyObject
*resultobj
= 0;
35113 wxWindow
*arg1
= (wxWindow
*) 0 ;
35117 PyObject
*swig_obj
[1] ;
35119 if (!args
) SWIG_fail
;
35120 swig_obj
[0] = args
;
35121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35122 if (!SWIG_IsOK(res1
)) {
35123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35125 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35128 result
= (arg1
)->GetFont();
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35139 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35140 PyObject
*resultobj
= 0;
35141 wxWindow
*arg1
= (wxWindow
*) 0 ;
35142 wxCaret
*arg2
= (wxCaret
*) 0 ;
35146 PyObject
* obj0
= 0 ;
35147 PyObject
* obj1
= 0 ;
35148 char * kwnames
[] = {
35149 (char *) "self",(char *) "caret", NULL
35152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35154 if (!SWIG_IsOK(res1
)) {
35155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
35157 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35158 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
35159 if (!SWIG_IsOK(res2
)) {
35160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35164 (arg1
)->SetCaret(arg2
);
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35168 resultobj
= SWIG_Py_Void();
35175 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35176 PyObject
*resultobj
= 0;
35177 wxWindow
*arg1
= (wxWindow
*) 0 ;
35178 wxCaret
*result
= 0 ;
35181 PyObject
*swig_obj
[1] ;
35183 if (!args
) SWIG_fail
;
35184 swig_obj
[0] = args
;
35185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35186 if (!SWIG_IsOK(res1
)) {
35187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
35189 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35192 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
35193 wxPyEndAllowThreads(__tstate
);
35194 if (PyErr_Occurred()) SWIG_fail
;
35196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
35203 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35204 PyObject
*resultobj
= 0;
35205 wxWindow
*arg1
= (wxWindow
*) 0 ;
35209 PyObject
*swig_obj
[1] ;
35211 if (!args
) SWIG_fail
;
35212 swig_obj
[0] = args
;
35213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35214 if (!SWIG_IsOK(res1
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35220 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
35221 wxPyEndAllowThreads(__tstate
);
35222 if (PyErr_Occurred()) SWIG_fail
;
35224 resultobj
= SWIG_From_int(static_cast< int >(result
));
35231 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35232 PyObject
*resultobj
= 0;
35233 wxWindow
*arg1
= (wxWindow
*) 0 ;
35237 PyObject
*swig_obj
[1] ;
35239 if (!args
) SWIG_fail
;
35240 swig_obj
[0] = args
;
35241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35242 if (!SWIG_IsOK(res1
)) {
35243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35245 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
35249 wxPyEndAllowThreads(__tstate
);
35250 if (PyErr_Occurred()) SWIG_fail
;
35252 resultobj
= SWIG_From_int(static_cast< int >(result
));
35259 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35260 PyObject
*resultobj
= 0;
35261 wxWindow
*arg1
= (wxWindow
*) 0 ;
35262 wxString
*arg2
= 0 ;
35263 int *arg3
= (int *) 0 ;
35264 int *arg4
= (int *) 0 ;
35267 bool temp2
= false ;
35269 int res3
= SWIG_TMPOBJ
;
35271 int res4
= SWIG_TMPOBJ
;
35272 PyObject
* obj0
= 0 ;
35273 PyObject
* obj1
= 0 ;
35274 char * kwnames
[] = {
35275 (char *) "self",(char *) "string", NULL
35280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35282 if (!SWIG_IsOK(res1
)) {
35283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35287 arg2
= wxString_in_helper(obj1
);
35288 if (arg2
== NULL
) SWIG_fail
;
35292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35293 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35297 resultobj
= SWIG_Py_Void();
35298 if (SWIG_IsTmpObj(res3
)) {
35299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35304 if (SWIG_IsTmpObj(res4
)) {
35305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35307 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35324 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
= 0;
35326 wxWindow
*arg1
= (wxWindow
*) 0 ;
35327 wxString
*arg2
= 0 ;
35328 int *arg3
= (int *) 0 ;
35329 int *arg4
= (int *) 0 ;
35330 int *arg5
= (int *) 0 ;
35331 int *arg6
= (int *) 0 ;
35332 wxFont
*arg7
= (wxFont
*) NULL
;
35335 bool temp2
= false ;
35337 int res3
= SWIG_TMPOBJ
;
35339 int res4
= SWIG_TMPOBJ
;
35341 int res5
= SWIG_TMPOBJ
;
35343 int res6
= SWIG_TMPOBJ
;
35346 PyObject
* obj0
= 0 ;
35347 PyObject
* obj1
= 0 ;
35348 PyObject
* obj2
= 0 ;
35349 char * kwnames
[] = {
35350 (char *) "self",(char *) "string",(char *) "font", NULL
35357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35359 if (!SWIG_IsOK(res1
)) {
35360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35362 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35364 arg2
= wxString_in_helper(obj1
);
35365 if (arg2
== NULL
) SWIG_fail
;
35369 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
35370 if (!SWIG_IsOK(res7
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
35373 arg7
= reinterpret_cast< wxFont
* >(argp7
);
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= SWIG_Py_Void();
35382 if (SWIG_IsTmpObj(res3
)) {
35383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35385 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35388 if (SWIG_IsTmpObj(res4
)) {
35389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35391 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35394 if (SWIG_IsTmpObj(res5
)) {
35395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
35397 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
35400 if (SWIG_IsTmpObj(res6
)) {
35401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
35403 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
35420 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35421 PyObject
*resultobj
= 0;
35422 wxWindow
*arg1
= (wxWindow
*) 0 ;
35423 int *arg2
= (int *) 0 ;
35424 int *arg3
= (int *) 0 ;
35431 PyObject
* obj0
= 0 ;
35432 PyObject
* obj1
= 0 ;
35433 PyObject
* obj2
= 0 ;
35434 char * kwnames
[] = {
35435 (char *) "self",(char *) "x",(char *) "y", NULL
35438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35440 if (!SWIG_IsOK(res1
)) {
35441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35444 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35446 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35447 if (!SWIG_IsOK(ecode
)) {
35448 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
35450 temp2
= static_cast< int >(val
);
35452 res2
= SWIG_AddTmpMask(ecode
);
35454 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35456 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35457 if (!SWIG_IsOK(ecode
)) {
35458 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
35460 temp3
= static_cast< int >(val
);
35462 res3
= SWIG_AddTmpMask(ecode
);
35465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35466 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
35467 wxPyEndAllowThreads(__tstate
);
35468 if (PyErr_Occurred()) SWIG_fail
;
35470 resultobj
= SWIG_Py_Void();
35471 if (SWIG_IsTmpObj(res2
)) {
35472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35474 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35477 if (SWIG_IsTmpObj(res3
)) {
35478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35480 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35489 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35490 PyObject
*resultobj
= 0;
35491 wxWindow
*arg1
= (wxWindow
*) 0 ;
35492 int *arg2
= (int *) 0 ;
35493 int *arg3
= (int *) 0 ;
35500 PyObject
* obj0
= 0 ;
35501 PyObject
* obj1
= 0 ;
35502 PyObject
* obj2
= 0 ;
35503 char * kwnames
[] = {
35504 (char *) "self",(char *) "x",(char *) "y", NULL
35507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35509 if (!SWIG_IsOK(res1
)) {
35510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35512 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35513 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35515 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35516 if (!SWIG_IsOK(ecode
)) {
35517 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
35519 temp2
= static_cast< int >(val
);
35521 res2
= SWIG_AddTmpMask(ecode
);
35523 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35525 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35526 if (!SWIG_IsOK(ecode
)) {
35527 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
35529 temp3
= static_cast< int >(val
);
35531 res3
= SWIG_AddTmpMask(ecode
);
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35539 resultobj
= SWIG_Py_Void();
35540 if (SWIG_IsTmpObj(res2
)) {
35541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35543 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35546 if (SWIG_IsTmpObj(res3
)) {
35547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35549 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35558 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
= 0;
35560 wxWindow
*arg1
= (wxWindow
*) 0 ;
35561 wxPoint
*arg2
= 0 ;
35566 PyObject
* obj0
= 0 ;
35567 PyObject
* obj1
= 0 ;
35568 char * kwnames
[] = {
35569 (char *) "self",(char *) "pt", NULL
35572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35574 if (!SWIG_IsOK(res1
)) {
35575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35584 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
35585 wxPyEndAllowThreads(__tstate
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35588 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35595 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= 0;
35597 wxWindow
*arg1
= (wxWindow
*) 0 ;
35598 wxPoint
*arg2
= 0 ;
35603 PyObject
* obj0
= 0 ;
35604 PyObject
* obj1
= 0 ;
35605 char * kwnames
[] = {
35606 (char *) "self",(char *) "pt", NULL
35609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35611 if (!SWIG_IsOK(res1
)) {
35612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
35614 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35621 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
35622 wxPyEndAllowThreads(__tstate
);
35623 if (PyErr_Occurred()) SWIG_fail
;
35625 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35632 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35633 PyObject
*resultobj
= 0;
35634 wxWindow
*arg1
= (wxWindow
*) 0 ;
35644 PyObject
* obj0
= 0 ;
35645 PyObject
* obj1
= 0 ;
35646 PyObject
* obj2
= 0 ;
35647 char * kwnames
[] = {
35648 (char *) "self",(char *) "x",(char *) "y", NULL
35651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35653 if (!SWIG_IsOK(res1
)) {
35654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35658 if (!SWIG_IsOK(ecode2
)) {
35659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
35661 arg2
= static_cast< int >(val2
);
35662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35663 if (!SWIG_IsOK(ecode3
)) {
35664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
35666 arg3
= static_cast< int >(val3
);
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= SWIG_From_int(static_cast< int >(result
));
35680 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35681 PyObject
*resultobj
= 0;
35682 wxWindow
*arg1
= (wxWindow
*) 0 ;
35683 wxPoint
*arg2
= 0 ;
35688 PyObject
* obj0
= 0 ;
35689 PyObject
* obj1
= 0 ;
35690 char * kwnames
[] = {
35691 (char *) "self",(char *) "pt", NULL
35694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35696 if (!SWIG_IsOK(res1
)) {
35697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
35699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35702 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35706 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35710 resultobj
= SWIG_From_int(static_cast< int >(result
));
35717 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35718 PyObject
*resultobj
= 0;
35719 wxWindow
*arg1
= (wxWindow
*) 0 ;
35727 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
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_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35733 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
35734 if (!SWIG_IsOK(ecode2
)) {
35735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
35737 arg2
= static_cast< long >(val2
);
35739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35740 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= SWIG_From_int(static_cast< int >(result
));
35751 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35752 PyObject
*resultobj
= 0;
35753 wxWindow
*arg1
= (wxWindow
*) 0 ;
35758 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
35759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35760 if (!SWIG_IsOK(res1
)) {
35761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35763 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35766 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
35767 wxPyEndAllowThreads(__tstate
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35770 resultobj
= SWIG_From_int(static_cast< int >(result
));
35777 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
35781 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
35784 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
35787 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
35791 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
35796 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35797 PyObject
*resultobj
= 0;
35798 wxWindow
*arg1
= (wxWindow
*) 0 ;
35799 long arg2
= (long) wxUPDATE_UI_NONE
;
35804 PyObject
* obj0
= 0 ;
35805 PyObject
* obj1
= 0 ;
35806 char * kwnames
[] = {
35807 (char *) "self",(char *) "flags", NULL
35810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35812 if (!SWIG_IsOK(res1
)) {
35813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
35815 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35818 if (!SWIG_IsOK(ecode2
)) {
35819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
35821 arg2
= static_cast< long >(val2
);
35824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35825 (arg1
)->UpdateWindowUI(arg2
);
35826 wxPyEndAllowThreads(__tstate
);
35827 if (PyErr_Occurred()) SWIG_fail
;
35829 resultobj
= SWIG_Py_Void();
35836 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35837 PyObject
*resultobj
= 0;
35838 wxWindow
*arg1
= (wxWindow
*) 0 ;
35839 wxMenu
*arg2
= (wxMenu
*) 0 ;
35840 int arg3
= (int) -1 ;
35841 int arg4
= (int) -1 ;
35851 PyObject
* obj0
= 0 ;
35852 PyObject
* obj1
= 0 ;
35853 PyObject
* obj2
= 0 ;
35854 PyObject
* obj3
= 0 ;
35855 char * kwnames
[] = {
35856 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
35859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35861 if (!SWIG_IsOK(res1
)) {
35862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
35864 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35866 if (!SWIG_IsOK(res2
)) {
35867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
35869 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35872 if (!SWIG_IsOK(ecode3
)) {
35873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
35875 arg3
= static_cast< int >(val3
);
35878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35879 if (!SWIG_IsOK(ecode4
)) {
35880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
35882 arg4
= static_cast< int >(val4
);
35885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35886 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35899 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35900 PyObject
*resultobj
= 0;
35901 wxWindow
*arg1
= (wxWindow
*) 0 ;
35902 wxMenu
*arg2
= (wxMenu
*) 0 ;
35903 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
35904 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 PyObject
* obj2
= 0 ;
35914 char * kwnames
[] = {
35915 (char *) "self",(char *) "menu",(char *) "pos", NULL
35918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35920 if (!SWIG_IsOK(res1
)) {
35921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
35923 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35925 if (!SWIG_IsOK(res2
)) {
35926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
35928 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35932 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35937 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
35938 wxPyEndAllowThreads(__tstate
);
35939 if (PyErr_Occurred()) SWIG_fail
;
35942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35950 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35951 PyObject
*resultobj
= 0;
35952 wxWindow
*arg1
= (wxWindow
*) 0 ;
35956 PyObject
*swig_obj
[1] ;
35958 if (!args
) SWIG_fail
;
35959 swig_obj
[0] = args
;
35960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35961 if (!SWIG_IsOK(res1
)) {
35962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
35964 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35967 result
= (long)wxWindow_GetHandle(arg1
);
35968 wxPyEndAllowThreads(__tstate
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= SWIG_From_long(static_cast< long >(result
));
35978 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35979 PyObject
*resultobj
= 0;
35980 wxWindow
*arg1
= (wxWindow
*) 0 ;
35986 PyObject
* obj0
= 0 ;
35987 PyObject
* obj1
= 0 ;
35988 char * kwnames
[] = {
35989 (char *) "self",(char *) "handle", NULL
35992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35994 if (!SWIG_IsOK(res1
)) {
35995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
35997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35999 if (!SWIG_IsOK(ecode2
)) {
36000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
36002 arg2
= static_cast< long >(val2
);
36004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36005 wxWindow_AssociateHandle(arg1
,arg2
);
36006 wxPyEndAllowThreads(__tstate
);
36007 if (PyErr_Occurred()) SWIG_fail
;
36009 resultobj
= SWIG_Py_Void();
36016 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36017 PyObject
*resultobj
= 0;
36018 wxWindow
*arg1
= (wxWindow
*) 0 ;
36021 PyObject
*swig_obj
[1] ;
36023 if (!args
) SWIG_fail
;
36024 swig_obj
[0] = args
;
36025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36026 if (!SWIG_IsOK(res1
)) {
36027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->DissociateHandle();
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_Py_Void();
36043 SWIGINTERN PyObject
*_wrap_Window_OnPaint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
= 0;
36045 wxWindow
*arg1
= (wxWindow
*) 0 ;
36046 wxPaintEvent
*arg2
= 0 ;
36051 PyObject
* obj0
= 0 ;
36052 PyObject
* obj1
= 0 ;
36053 char * kwnames
[] = {
36054 (char *) "self",(char *) "event", NULL
36057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36059 if (!SWIG_IsOK(res1
)) {
36060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_OnPaint" "', expected argument " "1"" of type '" "wxWindow *""'");
36062 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPaintEvent
, 0 );
36064 if (!SWIG_IsOK(res2
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
36068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_OnPaint" "', expected argument " "2"" of type '" "wxPaintEvent &""'");
36070 arg2
= reinterpret_cast< wxPaintEvent
* >(argp2
);
36072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36073 (arg1
)->OnPaint(*arg2
);
36074 wxPyEndAllowThreads(__tstate
);
36075 if (PyErr_Occurred()) SWIG_fail
;
36077 resultobj
= SWIG_Py_Void();
36084 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36085 PyObject
*resultobj
= 0;
36086 wxWindow
*arg1
= (wxWindow
*) 0 ;
36093 PyObject
* obj0
= 0 ;
36094 PyObject
* obj1
= 0 ;
36095 char * kwnames
[] = {
36096 (char *) "self",(char *) "orient", NULL
36099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36101 if (!SWIG_IsOK(res1
)) {
36102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
36104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36106 if (!SWIG_IsOK(ecode2
)) {
36107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
36109 arg2
= static_cast< int >(val2
);
36111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36112 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
36113 wxPyEndAllowThreads(__tstate
);
36114 if (PyErr_Occurred()) SWIG_fail
;
36117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36125 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36126 PyObject
*resultobj
= 0;
36127 wxWindow
*arg1
= (wxWindow
*) 0 ;
36132 bool arg6
= (bool) true ;
36145 PyObject
* obj0
= 0 ;
36146 PyObject
* obj1
= 0 ;
36147 PyObject
* obj2
= 0 ;
36148 PyObject
* obj3
= 0 ;
36149 PyObject
* obj4
= 0 ;
36150 PyObject
* obj5
= 0 ;
36151 char * kwnames
[] = {
36152 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
36155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36157 if (!SWIG_IsOK(res1
)) {
36158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
36160 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36162 if (!SWIG_IsOK(ecode2
)) {
36163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
36165 arg2
= static_cast< int >(val2
);
36166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36167 if (!SWIG_IsOK(ecode3
)) {
36168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
36170 arg3
= static_cast< int >(val3
);
36171 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36172 if (!SWIG_IsOK(ecode4
)) {
36173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
36175 arg4
= static_cast< int >(val4
);
36176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36177 if (!SWIG_IsOK(ecode5
)) {
36178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
36180 arg5
= static_cast< int >(val5
);
36182 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
36183 if (!SWIG_IsOK(ecode6
)) {
36184 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
36186 arg6
= static_cast< bool >(val6
);
36189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36190 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
36191 wxPyEndAllowThreads(__tstate
);
36192 if (PyErr_Occurred()) SWIG_fail
;
36194 resultobj
= SWIG_Py_Void();
36201 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36202 PyObject
*resultobj
= 0;
36203 wxWindow
*arg1
= (wxWindow
*) 0 ;
36206 bool arg4
= (bool) true ;
36215 PyObject
* obj0
= 0 ;
36216 PyObject
* obj1
= 0 ;
36217 PyObject
* obj2
= 0 ;
36218 PyObject
* obj3
= 0 ;
36219 char * kwnames
[] = {
36220 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
36223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36225 if (!SWIG_IsOK(res1
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
36228 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36230 if (!SWIG_IsOK(ecode2
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
36233 arg2
= static_cast< int >(val2
);
36234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36235 if (!SWIG_IsOK(ecode3
)) {
36236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
36238 arg3
= static_cast< int >(val3
);
36240 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
36241 if (!SWIG_IsOK(ecode4
)) {
36242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
36244 arg4
= static_cast< bool >(val4
);
36247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36248 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
36249 wxPyEndAllowThreads(__tstate
);
36250 if (PyErr_Occurred()) SWIG_fail
;
36252 resultobj
= SWIG_Py_Void();
36259 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36260 PyObject
*resultobj
= 0;
36261 wxWindow
*arg1
= (wxWindow
*) 0 ;
36268 PyObject
* obj0
= 0 ;
36269 PyObject
* obj1
= 0 ;
36270 char * kwnames
[] = {
36271 (char *) "self",(char *) "orientation", NULL
36274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36276 if (!SWIG_IsOK(res1
)) {
36277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
36279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36281 if (!SWIG_IsOK(ecode2
)) {
36282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
36284 arg2
= static_cast< int >(val2
);
36286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36287 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
36288 wxPyEndAllowThreads(__tstate
);
36289 if (PyErr_Occurred()) SWIG_fail
;
36291 resultobj
= SWIG_From_int(static_cast< int >(result
));
36298 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36299 PyObject
*resultobj
= 0;
36300 wxWindow
*arg1
= (wxWindow
*) 0 ;
36307 PyObject
* obj0
= 0 ;
36308 PyObject
* obj1
= 0 ;
36309 char * kwnames
[] = {
36310 (char *) "self",(char *) "orientation", NULL
36313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36315 if (!SWIG_IsOK(res1
)) {
36316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
36318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36320 if (!SWIG_IsOK(ecode2
)) {
36321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
36323 arg2
= static_cast< int >(val2
);
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
36327 wxPyEndAllowThreads(__tstate
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36330 resultobj
= SWIG_From_int(static_cast< int >(result
));
36337 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36338 PyObject
*resultobj
= 0;
36339 wxWindow
*arg1
= (wxWindow
*) 0 ;
36346 PyObject
* obj0
= 0 ;
36347 PyObject
* obj1
= 0 ;
36348 char * kwnames
[] = {
36349 (char *) "self",(char *) "orientation", NULL
36352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36354 if (!SWIG_IsOK(res1
)) {
36355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
36357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36359 if (!SWIG_IsOK(ecode2
)) {
36360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
36362 arg2
= static_cast< int >(val2
);
36364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36365 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
36366 wxPyEndAllowThreads(__tstate
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36369 resultobj
= SWIG_From_int(static_cast< int >(result
));
36376 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36377 PyObject
*resultobj
= 0;
36378 wxWindow
*arg1
= (wxWindow
*) 0 ;
36381 wxRect
*arg4
= (wxRect
*) NULL
;
36390 PyObject
* obj0
= 0 ;
36391 PyObject
* obj1
= 0 ;
36392 PyObject
* obj2
= 0 ;
36393 PyObject
* obj3
= 0 ;
36394 char * kwnames
[] = {
36395 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
36398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36400 if (!SWIG_IsOK(res1
)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36405 if (!SWIG_IsOK(ecode2
)) {
36406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
36408 arg2
= static_cast< int >(val2
);
36409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36410 if (!SWIG_IsOK(ecode3
)) {
36411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
36413 arg3
= static_cast< int >(val3
);
36415 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
36416 if (!SWIG_IsOK(res4
)) {
36417 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
36419 arg4
= reinterpret_cast< wxRect
* >(argp4
);
36422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36423 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
36424 wxPyEndAllowThreads(__tstate
);
36425 if (PyErr_Occurred()) SWIG_fail
;
36427 resultobj
= SWIG_Py_Void();
36434 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36435 PyObject
*resultobj
= 0;
36436 wxWindow
*arg1
= (wxWindow
*) 0 ;
36443 PyObject
* obj0
= 0 ;
36444 PyObject
* obj1
= 0 ;
36445 char * kwnames
[] = {
36446 (char *) "self",(char *) "lines", NULL
36449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36451 if (!SWIG_IsOK(res1
)) {
36452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
36454 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36456 if (!SWIG_IsOK(ecode2
)) {
36457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
36459 arg2
= static_cast< int >(val2
);
36461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36462 result
= (bool)(arg1
)->ScrollLines(arg2
);
36463 wxPyEndAllowThreads(__tstate
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36475 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36476 PyObject
*resultobj
= 0;
36477 wxWindow
*arg1
= (wxWindow
*) 0 ;
36484 PyObject
* obj0
= 0 ;
36485 PyObject
* obj1
= 0 ;
36486 char * kwnames
[] = {
36487 (char *) "self",(char *) "pages", NULL
36490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36492 if (!SWIG_IsOK(res1
)) {
36493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
36495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36497 if (!SWIG_IsOK(ecode2
)) {
36498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
36500 arg2
= static_cast< int >(val2
);
36502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36503 result
= (bool)(arg1
)->ScrollPages(arg2
);
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36516 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36517 PyObject
*resultobj
= 0;
36518 wxWindow
*arg1
= (wxWindow
*) 0 ;
36522 PyObject
*swig_obj
[1] ;
36524 if (!args
) SWIG_fail
;
36525 swig_obj
[0] = args
;
36526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36527 if (!SWIG_IsOK(res1
)) {
36528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 result
= (bool)(arg1
)->LineUp();
36534 wxPyEndAllowThreads(__tstate
);
36535 if (PyErr_Occurred()) SWIG_fail
;
36538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36546 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36547 PyObject
*resultobj
= 0;
36548 wxWindow
*arg1
= (wxWindow
*) 0 ;
36552 PyObject
*swig_obj
[1] ;
36554 if (!args
) SWIG_fail
;
36555 swig_obj
[0] = args
;
36556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36557 if (!SWIG_IsOK(res1
)) {
36558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36560 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 result
= (bool)(arg1
)->LineDown();
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36576 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36577 PyObject
*resultobj
= 0;
36578 wxWindow
*arg1
= (wxWindow
*) 0 ;
36582 PyObject
*swig_obj
[1] ;
36584 if (!args
) SWIG_fail
;
36585 swig_obj
[0] = args
;
36586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36587 if (!SWIG_IsOK(res1
)) {
36588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36593 result
= (bool)(arg1
)->PageUp();
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36606 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36607 PyObject
*resultobj
= 0;
36608 wxWindow
*arg1
= (wxWindow
*) 0 ;
36612 PyObject
*swig_obj
[1] ;
36614 if (!args
) SWIG_fail
;
36615 swig_obj
[0] = args
;
36616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36617 if (!SWIG_IsOK(res1
)) {
36618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 result
= (bool)(arg1
)->PageDown();
36624 wxPyEndAllowThreads(__tstate
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36636 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36637 PyObject
*resultobj
= 0;
36638 wxWindow
*arg1
= (wxWindow
*) 0 ;
36639 wxString
*arg2
= 0 ;
36642 bool temp2
= false ;
36643 PyObject
* obj0
= 0 ;
36644 PyObject
* obj1
= 0 ;
36645 char * kwnames
[] = {
36646 (char *) "self",(char *) "text", NULL
36649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36651 if (!SWIG_IsOK(res1
)) {
36652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
36654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36656 arg2
= wxString_in_helper(obj1
);
36657 if (arg2
== NULL
) SWIG_fail
;
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->SetHelpText((wxString
const &)*arg2
);
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 resultobj
= SWIG_Py_Void();
36681 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36682 PyObject
*resultobj
= 0;
36683 wxWindow
*arg1
= (wxWindow
*) 0 ;
36684 wxString
*arg2
= 0 ;
36687 bool temp2
= false ;
36688 PyObject
* obj0
= 0 ;
36689 PyObject
* obj1
= 0 ;
36690 char * kwnames
[] = {
36691 (char *) "self",(char *) "text", NULL
36694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36696 if (!SWIG_IsOK(res1
)) {
36697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
36699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36701 arg2
= wxString_in_helper(obj1
);
36702 if (arg2
== NULL
) SWIG_fail
;
36706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
36708 wxPyEndAllowThreads(__tstate
);
36709 if (PyErr_Occurred()) SWIG_fail
;
36711 resultobj
= SWIG_Py_Void();
36726 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36727 PyObject
*resultobj
= 0;
36728 wxWindow
*arg1
= (wxWindow
*) 0 ;
36732 PyObject
*swig_obj
[1] ;
36734 if (!args
) SWIG_fail
;
36735 swig_obj
[0] = args
;
36736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36737 if (!SWIG_IsOK(res1
)) {
36738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
36740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36743 result
= ((wxWindow
const *)arg1
)->GetHelpText();
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36760 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36761 PyObject
*resultobj
= 0;
36762 wxWindow
*arg1
= (wxWindow
*) 0 ;
36763 wxString
*arg2
= 0 ;
36766 bool temp2
= false ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 char * kwnames
[] = {
36770 (char *) "self",(char *) "tip", NULL
36773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36775 if (!SWIG_IsOK(res1
)) {
36776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
36778 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36780 arg2
= wxString_in_helper(obj1
);
36781 if (arg2
== NULL
) SWIG_fail
;
36785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36786 (arg1
)->SetToolTip((wxString
const &)*arg2
);
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36790 resultobj
= SWIG_Py_Void();
36805 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36806 PyObject
*resultobj
= 0;
36807 wxWindow
*arg1
= (wxWindow
*) 0 ;
36808 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
36812 PyObject
* obj0
= 0 ;
36813 PyObject
* obj1
= 0 ;
36814 char * kwnames
[] = {
36815 (char *) "self",(char *) "tip", NULL
36818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36820 if (!SWIG_IsOK(res1
)) {
36821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
36823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36824 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
36825 if (!SWIG_IsOK(res2
)) {
36826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
36829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36830 (arg1
)->SetToolTip(arg2
);
36831 wxPyEndAllowThreads(__tstate
);
36832 if (PyErr_Occurred()) SWIG_fail
;
36834 resultobj
= SWIG_Py_Void();
36841 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36842 PyObject
*resultobj
= 0;
36843 wxWindow
*arg1
= (wxWindow
*) 0 ;
36844 wxToolTip
*result
= 0 ;
36847 PyObject
*swig_obj
[1] ;
36849 if (!args
) SWIG_fail
;
36850 swig_obj
[0] = args
;
36851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36852 if (!SWIG_IsOK(res1
)) {
36853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
36855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36858 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
36859 wxPyEndAllowThreads(__tstate
);
36860 if (PyErr_Occurred()) SWIG_fail
;
36863 resultobj
= wxPyMake_wxObject(result
, (bool)0);
36871 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36872 PyObject
*resultobj
= 0;
36873 wxWindow
*arg1
= (wxWindow
*) 0 ;
36874 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
36878 PyObject
* obj0
= 0 ;
36879 PyObject
* obj1
= 0 ;
36880 char * kwnames
[] = {
36881 (char *) "self",(char *) "dropTarget", NULL
36884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36886 if (!SWIG_IsOK(res1
)) {
36887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
36889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36890 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
36891 if (!SWIG_IsOK(res2
)) {
36892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 (arg1
)->SetDropTarget(arg2
);
36897 wxPyEndAllowThreads(__tstate
);
36898 if (PyErr_Occurred()) SWIG_fail
;
36900 resultobj
= SWIG_Py_Void();
36907 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36908 PyObject
*resultobj
= 0;
36909 wxWindow
*arg1
= (wxWindow
*) 0 ;
36910 wxPyDropTarget
*result
= 0 ;
36913 PyObject
*swig_obj
[1] ;
36915 if (!args
) SWIG_fail
;
36916 swig_obj
[0] = args
;
36917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36918 if (!SWIG_IsOK(res1
)) {
36919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
36921 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36924 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
36925 wxPyEndAllowThreads(__tstate
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
36935 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36936 PyObject
*resultobj
= 0;
36937 wxWindow
*arg1
= (wxWindow
*) 0 ;
36943 PyObject
* obj0
= 0 ;
36944 PyObject
* obj1
= 0 ;
36945 char * kwnames
[] = {
36946 (char *) "self",(char *) "accept", NULL
36949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36951 if (!SWIG_IsOK(res1
)) {
36952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
36954 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36955 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36956 if (!SWIG_IsOK(ecode2
)) {
36957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
36959 arg2
= static_cast< bool >(val2
);
36961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36962 (arg1
)->DragAcceptFiles(arg2
);
36963 wxPyEndAllowThreads(__tstate
);
36964 if (PyErr_Occurred()) SWIG_fail
;
36966 resultobj
= SWIG_Py_Void();
36973 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36974 PyObject
*resultobj
= 0;
36975 wxWindow
*arg1
= (wxWindow
*) 0 ;
36976 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
36980 PyObject
* obj0
= 0 ;
36981 PyObject
* obj1
= 0 ;
36982 char * kwnames
[] = {
36983 (char *) "self",(char *) "constraints", NULL
36986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36988 if (!SWIG_IsOK(res1
)) {
36989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
36991 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36992 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
36993 if (!SWIG_IsOK(res2
)) {
36994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 (arg1
)->SetConstraints(arg2
);
36999 wxPyEndAllowThreads(__tstate
);
37000 if (PyErr_Occurred()) SWIG_fail
;
37002 resultobj
= SWIG_Py_Void();
37009 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37010 PyObject
*resultobj
= 0;
37011 wxWindow
*arg1
= (wxWindow
*) 0 ;
37012 wxLayoutConstraints
*result
= 0 ;
37015 PyObject
*swig_obj
[1] ;
37017 if (!args
) SWIG_fail
;
37018 swig_obj
[0] = args
;
37019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37020 if (!SWIG_IsOK(res1
)) {
37021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
37023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
37027 wxPyEndAllowThreads(__tstate
);
37028 if (PyErr_Occurred()) SWIG_fail
;
37030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
37037 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37038 PyObject
*resultobj
= 0;
37039 wxWindow
*arg1
= (wxWindow
*) 0 ;
37045 PyObject
* obj0
= 0 ;
37046 PyObject
* obj1
= 0 ;
37047 char * kwnames
[] = {
37048 (char *) "self",(char *) "autoLayout", NULL
37051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37053 if (!SWIG_IsOK(res1
)) {
37054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
37056 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37057 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37058 if (!SWIG_IsOK(ecode2
)) {
37059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
37061 arg2
= static_cast< bool >(val2
);
37063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37064 (arg1
)->SetAutoLayout(arg2
);
37065 wxPyEndAllowThreads(__tstate
);
37066 if (PyErr_Occurred()) SWIG_fail
;
37068 resultobj
= SWIG_Py_Void();
37075 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37076 PyObject
*resultobj
= 0;
37077 wxWindow
*arg1
= (wxWindow
*) 0 ;
37081 PyObject
*swig_obj
[1] ;
37083 if (!args
) SWIG_fail
;
37084 swig_obj
[0] = args
;
37085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37086 if (!SWIG_IsOK(res1
)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
37089 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37105 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37106 PyObject
*resultobj
= 0;
37107 wxWindow
*arg1
= (wxWindow
*) 0 ;
37111 PyObject
*swig_obj
[1] ;
37113 if (!args
) SWIG_fail
;
37114 swig_obj
[0] = args
;
37115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37116 if (!SWIG_IsOK(res1
)) {
37117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
37119 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37122 result
= (bool)(arg1
)->Layout();
37123 wxPyEndAllowThreads(__tstate
);
37124 if (PyErr_Occurred()) SWIG_fail
;
37127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37135 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
= 0;
37137 wxWindow
*arg1
= (wxWindow
*) 0 ;
37138 wxSizer
*arg2
= (wxSizer
*) 0 ;
37139 bool arg3
= (bool) true ;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 PyObject
* obj2
= 0 ;
37148 char * kwnames
[] = {
37149 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37154 if (!SWIG_IsOK(res1
)) {
37155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37157 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37158 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37159 if (!SWIG_IsOK(res2
)) {
37160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37163 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37164 if (!SWIG_IsOK(ecode3
)) {
37165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
37167 arg3
= static_cast< bool >(val3
);
37170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37171 (arg1
)->SetSizer(arg2
,arg3
);
37172 wxPyEndAllowThreads(__tstate
);
37173 if (PyErr_Occurred()) SWIG_fail
;
37175 resultobj
= SWIG_Py_Void();
37182 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37183 PyObject
*resultobj
= 0;
37184 wxWindow
*arg1
= (wxWindow
*) 0 ;
37185 wxSizer
*arg2
= (wxSizer
*) 0 ;
37186 bool arg3
= (bool) true ;
37192 PyObject
* obj0
= 0 ;
37193 PyObject
* obj1
= 0 ;
37194 PyObject
* obj2
= 0 ;
37195 char * kwnames
[] = {
37196 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37201 if (!SWIG_IsOK(res1
)) {
37202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
37204 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37205 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37206 if (!SWIG_IsOK(res2
)) {
37207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
37210 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37211 if (!SWIG_IsOK(ecode3
)) {
37212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
37214 arg3
= static_cast< bool >(val3
);
37217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37218 (arg1
)->SetSizerAndFit(arg2
,arg3
);
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 resultobj
= SWIG_Py_Void();
37229 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37230 PyObject
*resultobj
= 0;
37231 wxWindow
*arg1
= (wxWindow
*) 0 ;
37232 wxSizer
*result
= 0 ;
37235 PyObject
*swig_obj
[1] ;
37237 if (!args
) SWIG_fail
;
37238 swig_obj
[0] = args
;
37239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37240 if (!SWIG_IsOK(res1
)) {
37241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37243 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37246 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
37247 wxPyEndAllowThreads(__tstate
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37251 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37259 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37260 PyObject
*resultobj
= 0;
37261 wxWindow
*arg1
= (wxWindow
*) 0 ;
37262 wxSizer
*arg2
= (wxSizer
*) 0 ;
37267 PyObject
* obj0
= 0 ;
37268 PyObject
* obj1
= 0 ;
37269 char * kwnames
[] = {
37270 (char *) "self",(char *) "sizer", NULL
37273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37275 if (!SWIG_IsOK(res1
)) {
37276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37278 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
37280 if (!SWIG_IsOK(res2
)) {
37281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37283 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37286 (arg1
)->SetContainingSizer(arg2
);
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37290 resultobj
= SWIG_Py_Void();
37297 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37298 PyObject
*resultobj
= 0;
37299 wxWindow
*arg1
= (wxWindow
*) 0 ;
37300 wxSizer
*result
= 0 ;
37303 PyObject
*swig_obj
[1] ;
37305 if (!args
) SWIG_fail
;
37306 swig_obj
[0] = args
;
37307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37308 if (!SWIG_IsOK(res1
)) {
37309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37311 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
37315 wxPyEndAllowThreads(__tstate
);
37316 if (PyErr_Occurred()) SWIG_fail
;
37319 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37327 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37328 PyObject
*resultobj
= 0;
37329 wxWindow
*arg1
= (wxWindow
*) 0 ;
37332 PyObject
*swig_obj
[1] ;
37334 if (!args
) SWIG_fail
;
37335 swig_obj
[0] = args
;
37336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37337 if (!SWIG_IsOK(res1
)) {
37338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
37340 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37343 (arg1
)->InheritAttributes();
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37347 resultobj
= SWIG_Py_Void();
37354 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37355 PyObject
*resultobj
= 0;
37356 wxWindow
*arg1
= (wxWindow
*) 0 ;
37360 PyObject
*swig_obj
[1] ;
37362 if (!args
) SWIG_fail
;
37363 swig_obj
[0] = args
;
37364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37365 if (!SWIG_IsOK(res1
)) {
37366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
37368 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37371 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37384 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37387 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
37388 return SWIG_Py_Void();
37391 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37392 return SWIG_Python_InitShadowInstance(args
);
37395 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37396 PyObject
*resultobj
= 0;
37398 wxWindow
*arg2
= (wxWindow
*) NULL
;
37399 wxWindow
*result
= 0 ;
37404 PyObject
* obj0
= 0 ;
37405 PyObject
* obj1
= 0 ;
37406 char * kwnames
[] = {
37407 (char *) "id",(char *) "parent", NULL
37410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37411 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
37412 if (!SWIG_IsOK(ecode1
)) {
37413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
37415 arg1
= static_cast< long >(val1
);
37417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37418 if (!SWIG_IsOK(res2
)) {
37419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
37421 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37424 if (!wxPyCheckForApp()) SWIG_fail
;
37425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37426 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37431 resultobj
= wxPyMake_wxObject(result
, 0);
37439 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37440 PyObject
*resultobj
= 0;
37441 wxString
*arg1
= 0 ;
37442 wxWindow
*arg2
= (wxWindow
*) NULL
;
37443 wxWindow
*result
= 0 ;
37444 bool temp1
= false ;
37447 PyObject
* obj0
= 0 ;
37448 PyObject
* obj1
= 0 ;
37449 char * kwnames
[] = {
37450 (char *) "name",(char *) "parent", NULL
37453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37455 arg1
= wxString_in_helper(obj0
);
37456 if (arg1
== NULL
) SWIG_fail
;
37460 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37461 if (!SWIG_IsOK(res2
)) {
37462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
37464 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37467 if (!wxPyCheckForApp()) SWIG_fail
;
37468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37469 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37474 resultobj
= wxPyMake_wxObject(result
, 0);
37490 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37491 PyObject
*resultobj
= 0;
37492 wxString
*arg1
= 0 ;
37493 wxWindow
*arg2
= (wxWindow
*) NULL
;
37494 wxWindow
*result
= 0 ;
37495 bool temp1
= false ;
37498 PyObject
* obj0
= 0 ;
37499 PyObject
* obj1
= 0 ;
37500 char * kwnames
[] = {
37501 (char *) "label",(char *) "parent", NULL
37504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37506 arg1
= wxString_in_helper(obj0
);
37507 if (arg1
== NULL
) SWIG_fail
;
37511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37512 if (!SWIG_IsOK(res2
)) {
37513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
37515 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37518 if (!wxPyCheckForApp()) SWIG_fail
;
37519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37520 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37521 wxPyEndAllowThreads(__tstate
);
37522 if (PyErr_Occurred()) SWIG_fail
;
37525 resultobj
= wxPyMake_wxObject(result
, 0);
37541 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37542 PyObject
*resultobj
= 0;
37543 wxWindow
*arg1
= (wxWindow
*) 0 ;
37544 unsigned long arg2
;
37545 wxWindow
*result
= 0 ;
37548 unsigned long val2
;
37550 PyObject
* obj0
= 0 ;
37551 PyObject
* obj1
= 0 ;
37552 char * kwnames
[] = {
37553 (char *) "parent",(char *) "_hWnd", NULL
37556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37558 if (!SWIG_IsOK(res1
)) {
37559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
37561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37562 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
37563 if (!SWIG_IsOK(ecode2
)) {
37564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
37566 arg2
= static_cast< unsigned long >(val2
);
37568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37569 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37574 resultobj
= wxPyMake_wxObject(result
, 0);
37582 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37583 PyObject
*resultobj
= 0;
37584 PyObject
*result
= 0 ;
37586 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
37588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37589 result
= (PyObject
*)GetTopLevelWindows();
37590 wxPyEndAllowThreads(__tstate
);
37591 if (PyErr_Occurred()) SWIG_fail
;
37593 resultobj
= result
;
37600 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37601 PyObject
*resultobj
= 0;
37602 wxValidator
*result
= 0 ;
37604 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 result
= (wxValidator
*)new wxValidator();
37608 wxPyEndAllowThreads(__tstate
);
37609 if (PyErr_Occurred()) SWIG_fail
;
37611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
37618 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37619 PyObject
*resultobj
= 0;
37620 wxValidator
*arg1
= (wxValidator
*) 0 ;
37621 wxValidator
*result
= 0 ;
37624 PyObject
*swig_obj
[1] ;
37626 if (!args
) SWIG_fail
;
37627 swig_obj
[0] = args
;
37628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37629 if (!SWIG_IsOK(res1
)) {
37630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
37632 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 result
= (wxValidator
*)(arg1
)->Clone();
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37640 resultobj
= wxPyMake_wxObject(result
, 0);
37648 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37649 PyObject
*resultobj
= 0;
37650 wxValidator
*arg1
= (wxValidator
*) 0 ;
37651 wxWindow
*arg2
= (wxWindow
*) 0 ;
37657 PyObject
* obj0
= 0 ;
37658 PyObject
* obj1
= 0 ;
37659 char * kwnames
[] = {
37660 (char *) "self",(char *) "parent", NULL
37663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37665 if (!SWIG_IsOK(res1
)) {
37666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
37668 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37670 if (!SWIG_IsOK(res2
)) {
37671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
37673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37676 result
= (bool)(arg1
)->Validate(arg2
);
37677 wxPyEndAllowThreads(__tstate
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37689 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37690 PyObject
*resultobj
= 0;
37691 wxValidator
*arg1
= (wxValidator
*) 0 ;
37695 PyObject
*swig_obj
[1] ;
37697 if (!args
) SWIG_fail
;
37698 swig_obj
[0] = args
;
37699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37700 if (!SWIG_IsOK(res1
)) {
37701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37703 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37706 result
= (bool)(arg1
)->TransferToWindow();
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37719 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37720 PyObject
*resultobj
= 0;
37721 wxValidator
*arg1
= (wxValidator
*) 0 ;
37725 PyObject
*swig_obj
[1] ;
37727 if (!args
) SWIG_fail
;
37728 swig_obj
[0] = args
;
37729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37730 if (!SWIG_IsOK(res1
)) {
37731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37733 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37736 result
= (bool)(arg1
)->TransferFromWindow();
37737 wxPyEndAllowThreads(__tstate
);
37738 if (PyErr_Occurred()) SWIG_fail
;
37741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37749 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37750 PyObject
*resultobj
= 0;
37751 wxValidator
*arg1
= (wxValidator
*) 0 ;
37752 wxWindow
*result
= 0 ;
37755 PyObject
*swig_obj
[1] ;
37757 if (!args
) SWIG_fail
;
37758 swig_obj
[0] = args
;
37759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37760 if (!SWIG_IsOK(res1
)) {
37761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37763 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37766 result
= (wxWindow
*)(arg1
)->GetWindow();
37767 wxPyEndAllowThreads(__tstate
);
37768 if (PyErr_Occurred()) SWIG_fail
;
37771 resultobj
= wxPyMake_wxObject(result
, 0);
37779 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37780 PyObject
*resultobj
= 0;
37781 wxValidator
*arg1
= (wxValidator
*) 0 ;
37782 wxWindow
*arg2
= (wxWindow
*) 0 ;
37787 PyObject
* obj0
= 0 ;
37788 PyObject
* obj1
= 0 ;
37789 char * kwnames
[] = {
37790 (char *) "self",(char *) "window", NULL
37793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37795 if (!SWIG_IsOK(res1
)) {
37796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37798 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37800 if (!SWIG_IsOK(res2
)) {
37801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
37803 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37806 (arg1
)->SetWindow(arg2
);
37807 wxPyEndAllowThreads(__tstate
);
37808 if (PyErr_Occurred()) SWIG_fail
;
37810 resultobj
= SWIG_Py_Void();
37817 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37818 PyObject
*resultobj
= 0;
37821 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
37823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37824 result
= (bool)wxValidator::IsSilent();
37825 wxPyEndAllowThreads(__tstate
);
37826 if (PyErr_Occurred()) SWIG_fail
;
37829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37837 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37838 PyObject
*resultobj
= 0;
37839 int arg1
= (int) true ;
37842 PyObject
* obj0
= 0 ;
37843 char * kwnames
[] = {
37844 (char *) "doIt", NULL
37847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
37849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37850 if (!SWIG_IsOK(ecode1
)) {
37851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
37853 arg1
= static_cast< int >(val1
);
37856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37857 wxValidator::SetBellOnError(arg1
);
37858 wxPyEndAllowThreads(__tstate
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37861 resultobj
= SWIG_Py_Void();
37868 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37871 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
37872 return SWIG_Py_Void();
37875 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37876 return SWIG_Python_InitShadowInstance(args
);
37879 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37880 PyObject
*resultobj
= 0;
37881 wxPyValidator
*result
= 0 ;
37883 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
37885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37886 result
= (wxPyValidator
*)new wxPyValidator();
37887 wxPyEndAllowThreads(__tstate
);
37888 if (PyErr_Occurred()) SWIG_fail
;
37890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
37897 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37898 PyObject
*resultobj
= 0;
37899 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
37900 PyObject
*arg2
= (PyObject
*) 0 ;
37901 PyObject
*arg3
= (PyObject
*) 0 ;
37902 int arg4
= (int) true ;
37907 PyObject
* obj0
= 0 ;
37908 PyObject
* obj1
= 0 ;
37909 PyObject
* obj2
= 0 ;
37910 PyObject
* obj3
= 0 ;
37911 char * kwnames
[] = {
37912 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
37915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
37917 if (!SWIG_IsOK(res1
)) {
37918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
37920 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
37924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37925 if (!SWIG_IsOK(ecode4
)) {
37926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
37928 arg4
= static_cast< int >(val4
);
37931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37932 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
37933 wxPyEndAllowThreads(__tstate
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37936 resultobj
= SWIG_Py_Void();
37943 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37946 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
37947 return SWIG_Py_Void();
37950 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37951 return SWIG_Python_InitShadowInstance(args
);
37954 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
37955 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
37960 SWIGINTERN PyObject
*DefaultValidator_get(void) {
37961 PyObject
*pyobj
= 0;
37963 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
37968 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37969 PyObject
*resultobj
= 0;
37970 wxString
const &arg1_defvalue
= wxPyEmptyString
;
37971 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
37972 long arg2
= (long) 0 ;
37973 wxMenu
*result
= 0 ;
37974 bool temp1
= false ;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37979 char * kwnames
[] = {
37980 (char *) "title",(char *) "style", NULL
37983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37986 arg1
= wxString_in_helper(obj0
);
37987 if (arg1
== NULL
) SWIG_fail
;
37992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
37993 if (!SWIG_IsOK(ecode2
)) {
37994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
37996 arg2
= static_cast< long >(val2
);
37999 if (!wxPyCheckForApp()) SWIG_fail
;
38000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38001 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
38002 wxPyEndAllowThreads(__tstate
);
38003 if (PyErr_Occurred()) SWIG_fail
;
38005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
38020 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38021 PyObject
*resultobj
= 0;
38022 wxMenu
*arg1
= (wxMenu
*) 0 ;
38024 wxString
*arg3
= 0 ;
38025 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38027 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38028 wxMenuItem
*result
= 0 ;
38033 bool temp3
= false ;
38034 bool temp4
= false ;
38037 PyObject
* obj0
= 0 ;
38038 PyObject
* obj1
= 0 ;
38039 PyObject
* obj2
= 0 ;
38040 PyObject
* obj3
= 0 ;
38041 PyObject
* obj4
= 0 ;
38042 char * kwnames
[] = {
38043 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38048 if (!SWIG_IsOK(res1
)) {
38049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
38051 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38053 if (!SWIG_IsOK(ecode2
)) {
38054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
38056 arg2
= static_cast< int >(val2
);
38058 arg3
= wxString_in_helper(obj2
);
38059 if (arg3
== NULL
) SWIG_fail
;
38064 arg4
= wxString_in_helper(obj3
);
38065 if (arg4
== NULL
) SWIG_fail
;
38070 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38071 if (!SWIG_IsOK(ecode5
)) {
38072 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
38074 arg5
= static_cast< wxItemKind
>(val5
);
38077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38078 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38079 wxPyEndAllowThreads(__tstate
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38083 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38107 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38108 PyObject
*resultobj
= 0;
38109 wxMenu
*arg1
= (wxMenu
*) 0 ;
38110 wxMenuItem
*result
= 0 ;
38113 PyObject
*swig_obj
[1] ;
38115 if (!args
) SWIG_fail
;
38116 swig_obj
[0] = args
;
38117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38118 if (!SWIG_IsOK(res1
)) {
38119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38121 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38124 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
38125 wxPyEndAllowThreads(__tstate
);
38126 if (PyErr_Occurred()) SWIG_fail
;
38129 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38137 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38138 PyObject
*resultobj
= 0;
38139 wxMenu
*arg1
= (wxMenu
*) 0 ;
38141 wxString
*arg3
= 0 ;
38142 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38143 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38144 wxMenuItem
*result
= 0 ;
38149 bool temp3
= false ;
38150 bool temp4
= false ;
38151 PyObject
* obj0
= 0 ;
38152 PyObject
* obj1
= 0 ;
38153 PyObject
* obj2
= 0 ;
38154 PyObject
* obj3
= 0 ;
38155 char * kwnames
[] = {
38156 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38161 if (!SWIG_IsOK(res1
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38164 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38166 if (!SWIG_IsOK(ecode2
)) {
38167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
38169 arg2
= static_cast< int >(val2
);
38171 arg3
= wxString_in_helper(obj2
);
38172 if (arg3
== NULL
) SWIG_fail
;
38177 arg4
= wxString_in_helper(obj3
);
38178 if (arg4
== NULL
) SWIG_fail
;
38183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38184 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38185 wxPyEndAllowThreads(__tstate
);
38186 if (PyErr_Occurred()) SWIG_fail
;
38189 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38213 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38214 PyObject
*resultobj
= 0;
38215 wxMenu
*arg1
= (wxMenu
*) 0 ;
38217 wxString
*arg3
= 0 ;
38218 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38219 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38220 wxMenuItem
*result
= 0 ;
38225 bool temp3
= false ;
38226 bool temp4
= false ;
38227 PyObject
* obj0
= 0 ;
38228 PyObject
* obj1
= 0 ;
38229 PyObject
* obj2
= 0 ;
38230 PyObject
* obj3
= 0 ;
38231 char * kwnames
[] = {
38232 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38237 if (!SWIG_IsOK(res1
)) {
38238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38240 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38242 if (!SWIG_IsOK(ecode2
)) {
38243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
38245 arg2
= static_cast< int >(val2
);
38247 arg3
= wxString_in_helper(obj2
);
38248 if (arg3
== NULL
) SWIG_fail
;
38253 arg4
= wxString_in_helper(obj3
);
38254 if (arg4
== NULL
) SWIG_fail
;
38259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38260 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38265 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38289 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38290 PyObject
*resultobj
= 0;
38291 wxMenu
*arg1
= (wxMenu
*) 0 ;
38293 wxString
*arg3
= 0 ;
38294 wxMenu
*arg4
= (wxMenu
*) 0 ;
38295 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38296 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38297 wxMenuItem
*result
= 0 ;
38302 bool temp3
= false ;
38305 bool temp5
= false ;
38306 PyObject
* obj0
= 0 ;
38307 PyObject
* obj1
= 0 ;
38308 PyObject
* obj2
= 0 ;
38309 PyObject
* obj3
= 0 ;
38310 PyObject
* obj4
= 0 ;
38311 char * kwnames
[] = {
38312 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38317 if (!SWIG_IsOK(res1
)) {
38318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38320 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38322 if (!SWIG_IsOK(ecode2
)) {
38323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
38325 arg2
= static_cast< int >(val2
);
38327 arg3
= wxString_in_helper(obj2
);
38328 if (arg3
== NULL
) SWIG_fail
;
38331 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38332 if (!SWIG_IsOK(res4
)) {
38333 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
38335 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
38338 arg5
= wxString_in_helper(obj4
);
38339 if (arg5
== NULL
) SWIG_fail
;
38344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38345 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
38346 wxPyEndAllowThreads(__tstate
);
38347 if (PyErr_Occurred()) SWIG_fail
;
38350 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38374 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38375 PyObject
*resultobj
= 0;
38376 wxMenu
*arg1
= (wxMenu
*) 0 ;
38377 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38378 wxMenuItem
*result
= 0 ;
38382 PyObject
* obj0
= 0 ;
38383 PyObject
* obj1
= 0 ;
38384 char * kwnames
[] = {
38385 (char *) "self",(char *) "item", NULL
38388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38390 if (!SWIG_IsOK(res1
)) {
38391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38393 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38394 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38395 if (!SWIG_IsOK(res2
)) {
38396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38400 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
38401 wxPyEndAllowThreads(__tstate
);
38402 if (PyErr_Occurred()) SWIG_fail
;
38405 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38413 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38414 PyObject
*resultobj
= 0;
38415 wxMenu
*arg1
= (wxMenu
*) 0 ;
38417 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
38418 wxMenuItem
*result
= 0 ;
38424 PyObject
* obj0
= 0 ;
38425 PyObject
* obj1
= 0 ;
38426 PyObject
* obj2
= 0 ;
38427 char * kwnames
[] = {
38428 (char *) "self",(char *) "pos",(char *) "item", NULL
38431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38433 if (!SWIG_IsOK(res1
)) {
38434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38436 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38437 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38438 if (!SWIG_IsOK(ecode2
)) {
38439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
38441 arg2
= static_cast< size_t >(val2
);
38442 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38443 if (!SWIG_IsOK(res3
)) {
38444 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
38447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38448 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38453 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38461 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38462 PyObject
*resultobj
= 0;
38463 wxMenu
*arg1
= (wxMenu
*) 0 ;
38464 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38465 wxMenuItem
*result
= 0 ;
38469 PyObject
* obj0
= 0 ;
38470 PyObject
* obj1
= 0 ;
38471 char * kwnames
[] = {
38472 (char *) "self",(char *) "item", NULL
38475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38477 if (!SWIG_IsOK(res1
)) {
38478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38480 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38481 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38482 if (!SWIG_IsOK(res2
)) {
38483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38487 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
38488 wxPyEndAllowThreads(__tstate
);
38489 if (PyErr_Occurred()) SWIG_fail
;
38492 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38500 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38501 PyObject
*resultobj
= 0;
38502 wxMenu
*arg1
= (wxMenu
*) 0 ;
38505 PyObject
*swig_obj
[1] ;
38507 if (!args
) SWIG_fail
;
38508 swig_obj
[0] = args
;
38509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38510 if (!SWIG_IsOK(res1
)) {
38511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
38513 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38517 wxPyEndAllowThreads(__tstate
);
38518 if (PyErr_Occurred()) SWIG_fail
;
38520 resultobj
= SWIG_Py_Void();
38527 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38528 PyObject
*resultobj
= 0;
38529 wxMenu
*arg1
= (wxMenu
*) 0 ;
38532 wxString
*arg4
= 0 ;
38533 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38534 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38535 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
38536 wxMenuItem
*result
= 0 ;
38543 bool temp4
= false ;
38544 bool temp5
= false ;
38547 PyObject
* obj0
= 0 ;
38548 PyObject
* obj1
= 0 ;
38549 PyObject
* obj2
= 0 ;
38550 PyObject
* obj3
= 0 ;
38551 PyObject
* obj4
= 0 ;
38552 PyObject
* obj5
= 0 ;
38553 char * kwnames
[] = {
38554 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38559 if (!SWIG_IsOK(res1
)) {
38560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
38562 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38563 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38564 if (!SWIG_IsOK(ecode2
)) {
38565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
38567 arg2
= static_cast< size_t >(val2
);
38568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38569 if (!SWIG_IsOK(ecode3
)) {
38570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
38572 arg3
= static_cast< int >(val3
);
38574 arg4
= wxString_in_helper(obj3
);
38575 if (arg4
== NULL
) SWIG_fail
;
38580 arg5
= wxString_in_helper(obj4
);
38581 if (arg5
== NULL
) SWIG_fail
;
38586 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38587 if (!SWIG_IsOK(ecode6
)) {
38588 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
38590 arg6
= static_cast< wxItemKind
>(val6
);
38593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38594 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
38595 wxPyEndAllowThreads(__tstate
);
38596 if (PyErr_Occurred()) SWIG_fail
;
38599 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38623 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38624 PyObject
*resultobj
= 0;
38625 wxMenu
*arg1
= (wxMenu
*) 0 ;
38627 wxMenuItem
*result
= 0 ;
38632 PyObject
* obj0
= 0 ;
38633 PyObject
* obj1
= 0 ;
38634 char * kwnames
[] = {
38635 (char *) "self",(char *) "pos", NULL
38638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38640 if (!SWIG_IsOK(res1
)) {
38641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38643 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38644 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38645 if (!SWIG_IsOK(ecode2
)) {
38646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
38648 arg2
= static_cast< size_t >(val2
);
38650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38651 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
38652 wxPyEndAllowThreads(__tstate
);
38653 if (PyErr_Occurred()) SWIG_fail
;
38656 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38664 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38665 PyObject
*resultobj
= 0;
38666 wxMenu
*arg1
= (wxMenu
*) 0 ;
38669 wxString
*arg4
= 0 ;
38670 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38671 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38672 wxMenuItem
*result
= 0 ;
38679 bool temp4
= false ;
38680 bool temp5
= false ;
38681 PyObject
* obj0
= 0 ;
38682 PyObject
* obj1
= 0 ;
38683 PyObject
* obj2
= 0 ;
38684 PyObject
* obj3
= 0 ;
38685 PyObject
* obj4
= 0 ;
38686 char * kwnames
[] = {
38687 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38692 if (!SWIG_IsOK(res1
)) {
38693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38695 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38696 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38697 if (!SWIG_IsOK(ecode2
)) {
38698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
38700 arg2
= static_cast< size_t >(val2
);
38701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38702 if (!SWIG_IsOK(ecode3
)) {
38703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
38705 arg3
= static_cast< int >(val3
);
38707 arg4
= wxString_in_helper(obj3
);
38708 if (arg4
== NULL
) SWIG_fail
;
38713 arg5
= wxString_in_helper(obj4
);
38714 if (arg5
== NULL
) SWIG_fail
;
38719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38720 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38721 wxPyEndAllowThreads(__tstate
);
38722 if (PyErr_Occurred()) SWIG_fail
;
38725 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38749 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38750 PyObject
*resultobj
= 0;
38751 wxMenu
*arg1
= (wxMenu
*) 0 ;
38754 wxString
*arg4
= 0 ;
38755 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38756 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38757 wxMenuItem
*result
= 0 ;
38764 bool temp4
= false ;
38765 bool temp5
= false ;
38766 PyObject
* obj0
= 0 ;
38767 PyObject
* obj1
= 0 ;
38768 PyObject
* obj2
= 0 ;
38769 PyObject
* obj3
= 0 ;
38770 PyObject
* obj4
= 0 ;
38771 char * kwnames
[] = {
38772 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38777 if (!SWIG_IsOK(res1
)) {
38778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38780 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38781 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38782 if (!SWIG_IsOK(ecode2
)) {
38783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
38785 arg2
= static_cast< size_t >(val2
);
38786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38787 if (!SWIG_IsOK(ecode3
)) {
38788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
38790 arg3
= static_cast< int >(val3
);
38792 arg4
= wxString_in_helper(obj3
);
38793 if (arg4
== NULL
) SWIG_fail
;
38798 arg5
= wxString_in_helper(obj4
);
38799 if (arg5
== NULL
) SWIG_fail
;
38804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38805 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38806 wxPyEndAllowThreads(__tstate
);
38807 if (PyErr_Occurred()) SWIG_fail
;
38810 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38834 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38835 PyObject
*resultobj
= 0;
38836 wxMenu
*arg1
= (wxMenu
*) 0 ;
38839 wxString
*arg4
= 0 ;
38840 wxMenu
*arg5
= (wxMenu
*) 0 ;
38841 wxString
const &arg6_defvalue
= wxPyEmptyString
;
38842 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
38843 wxMenuItem
*result
= 0 ;
38850 bool temp4
= false ;
38853 bool temp6
= false ;
38854 PyObject
* obj0
= 0 ;
38855 PyObject
* obj1
= 0 ;
38856 PyObject
* obj2
= 0 ;
38857 PyObject
* obj3
= 0 ;
38858 PyObject
* obj4
= 0 ;
38859 PyObject
* obj5
= 0 ;
38860 char * kwnames
[] = {
38861 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38866 if (!SWIG_IsOK(res1
)) {
38867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38869 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38870 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38871 if (!SWIG_IsOK(ecode2
)) {
38872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
38874 arg2
= static_cast< size_t >(val2
);
38875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38876 if (!SWIG_IsOK(ecode3
)) {
38877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
38879 arg3
= static_cast< int >(val3
);
38881 arg4
= wxString_in_helper(obj3
);
38882 if (arg4
== NULL
) SWIG_fail
;
38885 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38886 if (!SWIG_IsOK(res5
)) {
38887 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
38889 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
38892 arg6
= wxString_in_helper(obj5
);
38893 if (arg6
== NULL
) SWIG_fail
;
38898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38899 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
38900 wxPyEndAllowThreads(__tstate
);
38901 if (PyErr_Occurred()) SWIG_fail
;
38904 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38928 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38929 PyObject
*resultobj
= 0;
38930 wxMenu
*arg1
= (wxMenu
*) 0 ;
38932 wxString
*arg3
= 0 ;
38933 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38934 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38935 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38936 wxMenuItem
*result
= 0 ;
38941 bool temp3
= false ;
38942 bool temp4
= false ;
38945 PyObject
* obj0
= 0 ;
38946 PyObject
* obj1
= 0 ;
38947 PyObject
* obj2
= 0 ;
38948 PyObject
* obj3
= 0 ;
38949 PyObject
* obj4
= 0 ;
38950 char * kwnames
[] = {
38951 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38956 if (!SWIG_IsOK(res1
)) {
38957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
38959 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38961 if (!SWIG_IsOK(ecode2
)) {
38962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
38964 arg2
= static_cast< int >(val2
);
38966 arg3
= wxString_in_helper(obj2
);
38967 if (arg3
== NULL
) SWIG_fail
;
38972 arg4
= wxString_in_helper(obj3
);
38973 if (arg4
== NULL
) SWIG_fail
;
38978 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38979 if (!SWIG_IsOK(ecode5
)) {
38980 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
38982 arg5
= static_cast< wxItemKind
>(val5
);
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38987 wxPyEndAllowThreads(__tstate
);
38988 if (PyErr_Occurred()) SWIG_fail
;
38991 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39015 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39016 PyObject
*resultobj
= 0;
39017 wxMenu
*arg1
= (wxMenu
*) 0 ;
39018 wxMenuItem
*result
= 0 ;
39021 PyObject
*swig_obj
[1] ;
39023 if (!args
) SWIG_fail
;
39024 swig_obj
[0] = args
;
39025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39026 if (!SWIG_IsOK(res1
)) {
39027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39029 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39032 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
39033 wxPyEndAllowThreads(__tstate
);
39034 if (PyErr_Occurred()) SWIG_fail
;
39037 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39045 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39046 PyObject
*resultobj
= 0;
39047 wxMenu
*arg1
= (wxMenu
*) 0 ;
39049 wxString
*arg3
= 0 ;
39050 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39051 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39052 wxMenuItem
*result
= 0 ;
39057 bool temp3
= false ;
39058 bool temp4
= false ;
39059 PyObject
* obj0
= 0 ;
39060 PyObject
* obj1
= 0 ;
39061 PyObject
* obj2
= 0 ;
39062 PyObject
* obj3
= 0 ;
39063 char * kwnames
[] = {
39064 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39069 if (!SWIG_IsOK(res1
)) {
39070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39072 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39074 if (!SWIG_IsOK(ecode2
)) {
39075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
39077 arg2
= static_cast< int >(val2
);
39079 arg3
= wxString_in_helper(obj2
);
39080 if (arg3
== NULL
) SWIG_fail
;
39085 arg4
= wxString_in_helper(obj3
);
39086 if (arg4
== NULL
) SWIG_fail
;
39091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39092 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39093 wxPyEndAllowThreads(__tstate
);
39094 if (PyErr_Occurred()) SWIG_fail
;
39097 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39121 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39122 PyObject
*resultobj
= 0;
39123 wxMenu
*arg1
= (wxMenu
*) 0 ;
39125 wxString
*arg3
= 0 ;
39126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39128 wxMenuItem
*result
= 0 ;
39133 bool temp3
= false ;
39134 bool temp4
= false ;
39135 PyObject
* obj0
= 0 ;
39136 PyObject
* obj1
= 0 ;
39137 PyObject
* obj2
= 0 ;
39138 PyObject
* obj3
= 0 ;
39139 char * kwnames
[] = {
39140 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39145 if (!SWIG_IsOK(res1
)) {
39146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39148 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39150 if (!SWIG_IsOK(ecode2
)) {
39151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
39153 arg2
= static_cast< int >(val2
);
39155 arg3
= wxString_in_helper(obj2
);
39156 if (arg3
== NULL
) SWIG_fail
;
39161 arg4
= wxString_in_helper(obj3
);
39162 if (arg4
== NULL
) SWIG_fail
;
39167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39168 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39169 wxPyEndAllowThreads(__tstate
);
39170 if (PyErr_Occurred()) SWIG_fail
;
39173 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39197 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
= 0;
39199 wxMenu
*arg1
= (wxMenu
*) 0 ;
39201 wxString
*arg3
= 0 ;
39202 wxMenu
*arg4
= (wxMenu
*) 0 ;
39203 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39204 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39205 wxMenuItem
*result
= 0 ;
39210 bool temp3
= false ;
39213 bool temp5
= false ;
39214 PyObject
* obj0
= 0 ;
39215 PyObject
* obj1
= 0 ;
39216 PyObject
* obj2
= 0 ;
39217 PyObject
* obj3
= 0 ;
39218 PyObject
* obj4
= 0 ;
39219 char * kwnames
[] = {
39220 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39225 if (!SWIG_IsOK(res1
)) {
39226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39228 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39230 if (!SWIG_IsOK(ecode2
)) {
39231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
39233 arg2
= static_cast< int >(val2
);
39235 arg3
= wxString_in_helper(obj2
);
39236 if (arg3
== NULL
) SWIG_fail
;
39239 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39240 if (!SWIG_IsOK(res4
)) {
39241 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
39243 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
39246 arg5
= wxString_in_helper(obj4
);
39247 if (arg5
== NULL
) SWIG_fail
;
39252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39253 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
39254 wxPyEndAllowThreads(__tstate
);
39255 if (PyErr_Occurred()) SWIG_fail
;
39258 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39282 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39283 PyObject
*resultobj
= 0;
39284 wxMenu
*arg1
= (wxMenu
*) 0 ;
39286 wxMenuItem
*result
= 0 ;
39291 PyObject
* obj0
= 0 ;
39292 PyObject
* obj1
= 0 ;
39293 char * kwnames
[] = {
39294 (char *) "self",(char *) "id", NULL
39297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39299 if (!SWIG_IsOK(res1
)) {
39300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
39302 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39304 if (!SWIG_IsOK(ecode2
)) {
39305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
39307 arg2
= static_cast< int >(val2
);
39309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39310 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39311 wxPyEndAllowThreads(__tstate
);
39312 if (PyErr_Occurred()) SWIG_fail
;
39315 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39323 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39324 PyObject
*resultobj
= 0;
39325 wxMenu
*arg1
= (wxMenu
*) 0 ;
39326 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39327 wxMenuItem
*result
= 0 ;
39332 PyObject
* obj0
= 0 ;
39333 PyObject
* obj1
= 0 ;
39334 char * kwnames
[] = {
39335 (char *) "self",(char *) "item", NULL
39338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39340 if (!SWIG_IsOK(res1
)) {
39341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39343 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39345 if (!SWIG_IsOK(res2
)) {
39346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39348 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39351 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39352 wxPyEndAllowThreads(__tstate
);
39353 if (PyErr_Occurred()) SWIG_fail
;
39356 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39364 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39365 PyObject
*resultobj
= 0;
39366 wxMenu
*arg1
= (wxMenu
*) 0 ;
39373 PyObject
* obj0
= 0 ;
39374 PyObject
* obj1
= 0 ;
39375 char * kwnames
[] = {
39376 (char *) "self",(char *) "id", NULL
39379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39381 if (!SWIG_IsOK(res1
)) {
39382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
39384 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39386 if (!SWIG_IsOK(ecode2
)) {
39387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
39389 arg2
= static_cast< int >(val2
);
39391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39392 result
= (bool)(arg1
)->Delete(arg2
);
39393 wxPyEndAllowThreads(__tstate
);
39394 if (PyErr_Occurred()) SWIG_fail
;
39397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39405 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
= 0;
39407 wxMenu
*arg1
= (wxMenu
*) 0 ;
39408 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39414 PyObject
* obj0
= 0 ;
39415 PyObject
* obj1
= 0 ;
39416 char * kwnames
[] = {
39417 (char *) "self",(char *) "item", NULL
39420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39422 if (!SWIG_IsOK(res1
)) {
39423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39425 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39427 if (!SWIG_IsOK(res2
)) {
39428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39430 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39433 result
= (bool)(arg1
)->Delete(arg2
);
39434 wxPyEndAllowThreads(__tstate
);
39435 if (PyErr_Occurred()) SWIG_fail
;
39438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39446 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39447 PyObject
*resultobj
= 0;
39448 wxMenu
*arg1
= (wxMenu
*) 0 ;
39451 PyObject
*swig_obj
[1] ;
39453 if (!args
) SWIG_fail
;
39454 swig_obj
[0] = args
;
39455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39456 if (!SWIG_IsOK(res1
)) {
39457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
39459 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 wxMenu_Destroy(arg1
);
39463 wxPyEndAllowThreads(__tstate
);
39464 if (PyErr_Occurred()) SWIG_fail
;
39466 resultobj
= SWIG_Py_Void();
39473 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39474 PyObject
*resultobj
= 0;
39475 wxMenu
*arg1
= (wxMenu
*) 0 ;
39482 PyObject
* obj0
= 0 ;
39483 PyObject
* obj1
= 0 ;
39484 char * kwnames
[] = {
39485 (char *) "self",(char *) "id", NULL
39488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39490 if (!SWIG_IsOK(res1
)) {
39491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
39493 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39495 if (!SWIG_IsOK(ecode2
)) {
39496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
39498 arg2
= static_cast< int >(val2
);
39500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39501 result
= (bool)(arg1
)->Destroy(arg2
);
39502 wxPyEndAllowThreads(__tstate
);
39503 if (PyErr_Occurred()) SWIG_fail
;
39506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39514 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39515 PyObject
*resultobj
= 0;
39516 wxMenu
*arg1
= (wxMenu
*) 0 ;
39517 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39523 PyObject
* obj0
= 0 ;
39524 PyObject
* obj1
= 0 ;
39525 char * kwnames
[] = {
39526 (char *) "self",(char *) "item", NULL
39529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39531 if (!SWIG_IsOK(res1
)) {
39532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39534 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39536 if (!SWIG_IsOK(res2
)) {
39537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39539 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39542 result
= (bool)(arg1
)->Destroy(arg2
);
39543 wxPyEndAllowThreads(__tstate
);
39544 if (PyErr_Occurred()) SWIG_fail
;
39547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39555 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39556 PyObject
*resultobj
= 0;
39557 wxMenu
*arg1
= (wxMenu
*) 0 ;
39561 PyObject
*swig_obj
[1] ;
39563 if (!args
) SWIG_fail
;
39564 swig_obj
[0] = args
;
39565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39566 if (!SWIG_IsOK(res1
)) {
39567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
39569 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39572 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
39573 wxPyEndAllowThreads(__tstate
);
39574 if (PyErr_Occurred()) SWIG_fail
;
39576 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
39583 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39584 PyObject
*resultobj
= 0;
39585 wxMenu
*arg1
= (wxMenu
*) 0 ;
39586 PyObject
*result
= 0 ;
39589 PyObject
*swig_obj
[1] ;
39591 if (!args
) SWIG_fail
;
39592 swig_obj
[0] = args
;
39593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39594 if (!SWIG_IsOK(res1
)) {
39595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
39597 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39600 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
39601 wxPyEndAllowThreads(__tstate
);
39602 if (PyErr_Occurred()) SWIG_fail
;
39604 resultobj
= result
;
39611 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39612 PyObject
*resultobj
= 0;
39613 wxMenu
*arg1
= (wxMenu
*) 0 ;
39614 wxString
*arg2
= 0 ;
39618 bool temp2
= false ;
39619 PyObject
* obj0
= 0 ;
39620 PyObject
* obj1
= 0 ;
39621 char * kwnames
[] = {
39622 (char *) "self",(char *) "item", NULL
39625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39627 if (!SWIG_IsOK(res1
)) {
39628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
39630 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39632 arg2
= wxString_in_helper(obj1
);
39633 if (arg2
== NULL
) SWIG_fail
;
39637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39638 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
39639 wxPyEndAllowThreads(__tstate
);
39640 if (PyErr_Occurred()) SWIG_fail
;
39642 resultobj
= SWIG_From_int(static_cast< int >(result
));
39657 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39658 PyObject
*resultobj
= 0;
39659 wxMenu
*arg1
= (wxMenu
*) 0 ;
39661 wxMenuItem
*result
= 0 ;
39666 PyObject
* obj0
= 0 ;
39667 PyObject
* obj1
= 0 ;
39668 char * kwnames
[] = {
39669 (char *) "self",(char *) "id", NULL
39672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39674 if (!SWIG_IsOK(res1
)) {
39675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
39677 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39679 if (!SWIG_IsOK(ecode2
)) {
39680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
39682 arg2
= static_cast< int >(val2
);
39684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39685 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
39686 wxPyEndAllowThreads(__tstate
);
39687 if (PyErr_Occurred()) SWIG_fail
;
39690 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39698 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39699 PyObject
*resultobj
= 0;
39700 wxMenu
*arg1
= (wxMenu
*) 0 ;
39702 wxMenuItem
*result
= 0 ;
39707 PyObject
* obj0
= 0 ;
39708 PyObject
* obj1
= 0 ;
39709 char * kwnames
[] = {
39710 (char *) "self",(char *) "position", NULL
39713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39715 if (!SWIG_IsOK(res1
)) {
39716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
39718 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39719 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39720 if (!SWIG_IsOK(ecode2
)) {
39721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
39723 arg2
= static_cast< size_t >(val2
);
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
39727 wxPyEndAllowThreads(__tstate
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39731 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39739 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39740 PyObject
*resultobj
= 0;
39741 wxMenu
*arg1
= (wxMenu
*) 0 ;
39750 PyObject
* obj0
= 0 ;
39751 PyObject
* obj1
= 0 ;
39752 PyObject
* obj2
= 0 ;
39753 char * kwnames
[] = {
39754 (char *) "self",(char *) "id",(char *) "enable", NULL
39757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39759 if (!SWIG_IsOK(res1
)) {
39760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
39762 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39764 if (!SWIG_IsOK(ecode2
)) {
39765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
39767 arg2
= static_cast< int >(val2
);
39768 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39769 if (!SWIG_IsOK(ecode3
)) {
39770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
39772 arg3
= static_cast< bool >(val3
);
39774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39775 (arg1
)->Enable(arg2
,arg3
);
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 resultobj
= SWIG_Py_Void();
39786 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
= 0;
39788 wxMenu
*arg1
= (wxMenu
*) 0 ;
39795 PyObject
* obj0
= 0 ;
39796 PyObject
* obj1
= 0 ;
39797 char * kwnames
[] = {
39798 (char *) "self",(char *) "id", NULL
39801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39803 if (!SWIG_IsOK(res1
)) {
39804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
39806 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39808 if (!SWIG_IsOK(ecode2
)) {
39809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
39811 arg2
= static_cast< int >(val2
);
39813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39814 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
39815 wxPyEndAllowThreads(__tstate
);
39816 if (PyErr_Occurred()) SWIG_fail
;
39819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39827 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39828 PyObject
*resultobj
= 0;
39829 wxMenu
*arg1
= (wxMenu
*) 0 ;
39838 PyObject
* obj0
= 0 ;
39839 PyObject
* obj1
= 0 ;
39840 PyObject
* obj2
= 0 ;
39841 char * kwnames
[] = {
39842 (char *) "self",(char *) "id",(char *) "check", NULL
39845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39847 if (!SWIG_IsOK(res1
)) {
39848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
39850 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39852 if (!SWIG_IsOK(ecode2
)) {
39853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
39855 arg2
= static_cast< int >(val2
);
39856 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39857 if (!SWIG_IsOK(ecode3
)) {
39858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
39860 arg3
= static_cast< bool >(val3
);
39862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39863 (arg1
)->Check(arg2
,arg3
);
39864 wxPyEndAllowThreads(__tstate
);
39865 if (PyErr_Occurred()) SWIG_fail
;
39867 resultobj
= SWIG_Py_Void();
39874 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39875 PyObject
*resultobj
= 0;
39876 wxMenu
*arg1
= (wxMenu
*) 0 ;
39883 PyObject
* obj0
= 0 ;
39884 PyObject
* obj1
= 0 ;
39885 char * kwnames
[] = {
39886 (char *) "self",(char *) "id", NULL
39889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39891 if (!SWIG_IsOK(res1
)) {
39892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
39894 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39896 if (!SWIG_IsOK(ecode2
)) {
39897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
39899 arg2
= static_cast< int >(val2
);
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39915 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39916 PyObject
*resultobj
= 0;
39917 wxMenu
*arg1
= (wxMenu
*) 0 ;
39919 wxString
*arg3
= 0 ;
39924 bool temp3
= false ;
39925 PyObject
* obj0
= 0 ;
39926 PyObject
* obj1
= 0 ;
39927 PyObject
* obj2
= 0 ;
39928 char * kwnames
[] = {
39929 (char *) "self",(char *) "id",(char *) "label", NULL
39932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39934 if (!SWIG_IsOK(res1
)) {
39935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
39937 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39939 if (!SWIG_IsOK(ecode2
)) {
39940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
39942 arg2
= static_cast< int >(val2
);
39944 arg3
= wxString_in_helper(obj2
);
39945 if (arg3
== NULL
) SWIG_fail
;
39949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39950 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
39951 wxPyEndAllowThreads(__tstate
);
39952 if (PyErr_Occurred()) SWIG_fail
;
39954 resultobj
= SWIG_Py_Void();
39969 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39970 PyObject
*resultobj
= 0;
39971 wxMenu
*arg1
= (wxMenu
*) 0 ;
39978 PyObject
* obj0
= 0 ;
39979 PyObject
* obj1
= 0 ;
39980 char * kwnames
[] = {
39981 (char *) "self",(char *) "id", NULL
39984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39986 if (!SWIG_IsOK(res1
)) {
39987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
39989 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39991 if (!SWIG_IsOK(ecode2
)) {
39992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
39994 arg2
= static_cast< int >(val2
);
39996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39997 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
39998 wxPyEndAllowThreads(__tstate
);
39999 if (PyErr_Occurred()) SWIG_fail
;
40003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40014 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40015 PyObject
*resultobj
= 0;
40016 wxMenu
*arg1
= (wxMenu
*) 0 ;
40018 wxString
*arg3
= 0 ;
40023 bool temp3
= false ;
40024 PyObject
* obj0
= 0 ;
40025 PyObject
* obj1
= 0 ;
40026 PyObject
* obj2
= 0 ;
40027 char * kwnames
[] = {
40028 (char *) "self",(char *) "id",(char *) "helpString", NULL
40031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40033 if (!SWIG_IsOK(res1
)) {
40034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
40036 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40038 if (!SWIG_IsOK(ecode2
)) {
40039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
40041 arg2
= static_cast< int >(val2
);
40043 arg3
= wxString_in_helper(obj2
);
40044 if (arg3
== NULL
) SWIG_fail
;
40048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40049 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
40050 wxPyEndAllowThreads(__tstate
);
40051 if (PyErr_Occurred()) SWIG_fail
;
40053 resultobj
= SWIG_Py_Void();
40068 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40069 PyObject
*resultobj
= 0;
40070 wxMenu
*arg1
= (wxMenu
*) 0 ;
40077 PyObject
* obj0
= 0 ;
40078 PyObject
* obj1
= 0 ;
40079 char * kwnames
[] = {
40080 (char *) "self",(char *) "id", NULL
40083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40085 if (!SWIG_IsOK(res1
)) {
40086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
40088 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40090 if (!SWIG_IsOK(ecode2
)) {
40091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
40093 arg2
= static_cast< int >(val2
);
40095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40096 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
40097 wxPyEndAllowThreads(__tstate
);
40098 if (PyErr_Occurred()) SWIG_fail
;
40102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40113 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40114 PyObject
*resultobj
= 0;
40115 wxMenu
*arg1
= (wxMenu
*) 0 ;
40116 wxString
*arg2
= 0 ;
40119 bool temp2
= false ;
40120 PyObject
* obj0
= 0 ;
40121 PyObject
* obj1
= 0 ;
40122 char * kwnames
[] = {
40123 (char *) "self",(char *) "title", NULL
40126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40128 if (!SWIG_IsOK(res1
)) {
40129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
40131 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40133 arg2
= wxString_in_helper(obj1
);
40134 if (arg2
== NULL
) SWIG_fail
;
40138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40139 (arg1
)->SetTitle((wxString
const &)*arg2
);
40140 wxPyEndAllowThreads(__tstate
);
40141 if (PyErr_Occurred()) SWIG_fail
;
40143 resultobj
= SWIG_Py_Void();
40158 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40159 PyObject
*resultobj
= 0;
40160 wxMenu
*arg1
= (wxMenu
*) 0 ;
40164 PyObject
*swig_obj
[1] ;
40166 if (!args
) SWIG_fail
;
40167 swig_obj
[0] = args
;
40168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40169 if (!SWIG_IsOK(res1
)) {
40170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40172 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40175 result
= ((wxMenu
const *)arg1
)->GetTitle();
40176 wxPyEndAllowThreads(__tstate
);
40177 if (PyErr_Occurred()) SWIG_fail
;
40181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40192 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40193 PyObject
*resultobj
= 0;
40194 wxMenu
*arg1
= (wxMenu
*) 0 ;
40195 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
40200 PyObject
* obj0
= 0 ;
40201 PyObject
* obj1
= 0 ;
40202 char * kwnames
[] = {
40203 (char *) "self",(char *) "handler", NULL
40206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40208 if (!SWIG_IsOK(res1
)) {
40209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
40211 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40213 if (!SWIG_IsOK(res2
)) {
40214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40216 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40219 (arg1
)->SetEventHandler(arg2
);
40220 wxPyEndAllowThreads(__tstate
);
40221 if (PyErr_Occurred()) SWIG_fail
;
40223 resultobj
= SWIG_Py_Void();
40230 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40231 PyObject
*resultobj
= 0;
40232 wxMenu
*arg1
= (wxMenu
*) 0 ;
40233 wxEvtHandler
*result
= 0 ;
40236 PyObject
*swig_obj
[1] ;
40238 if (!args
) SWIG_fail
;
40239 swig_obj
[0] = args
;
40240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40241 if (!SWIG_IsOK(res1
)) {
40242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
40244 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40247 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
40248 wxPyEndAllowThreads(__tstate
);
40249 if (PyErr_Occurred()) SWIG_fail
;
40252 resultobj
= wxPyMake_wxObject(result
, 0);
40260 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40261 PyObject
*resultobj
= 0;
40262 wxMenu
*arg1
= (wxMenu
*) 0 ;
40263 wxWindow
*arg2
= (wxWindow
*) 0 ;
40268 PyObject
* obj0
= 0 ;
40269 PyObject
* obj1
= 0 ;
40270 char * kwnames
[] = {
40271 (char *) "self",(char *) "win", NULL
40274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40276 if (!SWIG_IsOK(res1
)) {
40277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
40279 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40281 if (!SWIG_IsOK(res2
)) {
40282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
40284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40287 (arg1
)->SetInvokingWindow(arg2
);
40288 wxPyEndAllowThreads(__tstate
);
40289 if (PyErr_Occurred()) SWIG_fail
;
40291 resultobj
= SWIG_Py_Void();
40298 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40299 PyObject
*resultobj
= 0;
40300 wxMenu
*arg1
= (wxMenu
*) 0 ;
40301 wxWindow
*result
= 0 ;
40304 PyObject
*swig_obj
[1] ;
40306 if (!args
) SWIG_fail
;
40307 swig_obj
[0] = args
;
40308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40309 if (!SWIG_IsOK(res1
)) {
40310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
40312 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40315 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
40316 wxPyEndAllowThreads(__tstate
);
40317 if (PyErr_Occurred()) SWIG_fail
;
40320 resultobj
= wxPyMake_wxObject(result
, 0);
40328 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40329 PyObject
*resultobj
= 0;
40330 wxMenu
*arg1
= (wxMenu
*) 0 ;
40334 PyObject
*swig_obj
[1] ;
40336 if (!args
) SWIG_fail
;
40337 swig_obj
[0] = args
;
40338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40339 if (!SWIG_IsOK(res1
)) {
40340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40342 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40345 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
40346 wxPyEndAllowThreads(__tstate
);
40347 if (PyErr_Occurred()) SWIG_fail
;
40349 resultobj
= SWIG_From_long(static_cast< long >(result
));
40356 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40357 PyObject
*resultobj
= 0;
40358 wxMenu
*arg1
= (wxMenu
*) 0 ;
40359 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
40364 PyObject
* obj0
= 0 ;
40365 PyObject
* obj1
= 0 ;
40366 char * kwnames
[] = {
40367 (char *) "self",(char *) "source", NULL
40370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40372 if (!SWIG_IsOK(res1
)) {
40373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
40375 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40378 if (!SWIG_IsOK(res2
)) {
40379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40381 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40385 (arg1
)->UpdateUI(arg2
);
40386 wxPyEndAllowThreads(__tstate
);
40387 if (PyErr_Occurred()) SWIG_fail
;
40389 resultobj
= SWIG_Py_Void();
40396 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40397 PyObject
*resultobj
= 0;
40398 wxMenu
*arg1
= (wxMenu
*) 0 ;
40399 wxMenuBar
*result
= 0 ;
40402 PyObject
*swig_obj
[1] ;
40404 if (!args
) SWIG_fail
;
40405 swig_obj
[0] = args
;
40406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40407 if (!SWIG_IsOK(res1
)) {
40408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
40410 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40413 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
40414 wxPyEndAllowThreads(__tstate
);
40415 if (PyErr_Occurred()) SWIG_fail
;
40418 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40426 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40427 PyObject
*resultobj
= 0;
40428 wxMenu
*arg1
= (wxMenu
*) 0 ;
40429 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
40434 PyObject
* obj0
= 0 ;
40435 PyObject
* obj1
= 0 ;
40436 char * kwnames
[] = {
40437 (char *) "self",(char *) "menubar", NULL
40440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40442 if (!SWIG_IsOK(res1
)) {
40443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
40445 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
40447 if (!SWIG_IsOK(res2
)) {
40448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
40450 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
40452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40453 (arg1
)->Attach(arg2
);
40454 wxPyEndAllowThreads(__tstate
);
40455 if (PyErr_Occurred()) SWIG_fail
;
40457 resultobj
= SWIG_Py_Void();
40464 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40465 PyObject
*resultobj
= 0;
40466 wxMenu
*arg1
= (wxMenu
*) 0 ;
40469 PyObject
*swig_obj
[1] ;
40471 if (!args
) SWIG_fail
;
40472 swig_obj
[0] = args
;
40473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40474 if (!SWIG_IsOK(res1
)) {
40475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
40477 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40481 wxPyEndAllowThreads(__tstate
);
40482 if (PyErr_Occurred()) SWIG_fail
;
40484 resultobj
= SWIG_Py_Void();
40491 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40492 PyObject
*resultobj
= 0;
40493 wxMenu
*arg1
= (wxMenu
*) 0 ;
40497 PyObject
*swig_obj
[1] ;
40499 if (!args
) SWIG_fail
;
40500 swig_obj
[0] = args
;
40501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40502 if (!SWIG_IsOK(res1
)) {
40503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
40505 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40508 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
40509 wxPyEndAllowThreads(__tstate
);
40510 if (PyErr_Occurred()) SWIG_fail
;
40513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40521 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40522 PyObject
*resultobj
= 0;
40523 wxMenu
*arg1
= (wxMenu
*) 0 ;
40524 wxMenu
*arg2
= (wxMenu
*) 0 ;
40529 PyObject
* obj0
= 0 ;
40530 PyObject
* obj1
= 0 ;
40531 char * kwnames
[] = {
40532 (char *) "self",(char *) "parent", NULL
40535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40537 if (!SWIG_IsOK(res1
)) {
40538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
40540 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40542 if (!SWIG_IsOK(res2
)) {
40543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
40545 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40548 (arg1
)->SetParent(arg2
);
40549 wxPyEndAllowThreads(__tstate
);
40550 if (PyErr_Occurred()) SWIG_fail
;
40552 resultobj
= SWIG_Py_Void();
40559 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40560 PyObject
*resultobj
= 0;
40561 wxMenu
*arg1
= (wxMenu
*) 0 ;
40562 wxMenu
*result
= 0 ;
40565 PyObject
*swig_obj
[1] ;
40567 if (!args
) SWIG_fail
;
40568 swig_obj
[0] = args
;
40569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40570 if (!SWIG_IsOK(res1
)) {
40571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
40573 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40576 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
40577 wxPyEndAllowThreads(__tstate
);
40578 if (PyErr_Occurred()) SWIG_fail
;
40581 resultobj
= wxPyMake_wxObject(result
, 0);
40589 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40592 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
40593 return SWIG_Py_Void();
40596 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40597 return SWIG_Python_InitShadowInstance(args
);
40600 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40601 PyObject
*resultobj
= 0;
40602 long arg1
= (long) 0 ;
40603 wxMenuBar
*result
= 0 ;
40606 PyObject
* obj0
= 0 ;
40607 char * kwnames
[] = {
40608 (char *) "style", NULL
40611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
40613 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
40614 if (!SWIG_IsOK(ecode1
)) {
40615 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
40617 arg1
= static_cast< long >(val1
);
40620 if (!wxPyCheckForApp()) SWIG_fail
;
40621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40622 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
40623 wxPyEndAllowThreads(__tstate
);
40624 if (PyErr_Occurred()) SWIG_fail
;
40626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
40633 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40634 PyObject
*resultobj
= 0;
40635 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40636 wxMenu
*arg2
= (wxMenu
*) 0 ;
40637 wxString
*arg3
= 0 ;
40643 bool temp3
= false ;
40644 PyObject
* obj0
= 0 ;
40645 PyObject
* obj1
= 0 ;
40646 PyObject
* obj2
= 0 ;
40647 char * kwnames
[] = {
40648 (char *) "self",(char *) "menu",(char *) "title", NULL
40651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40653 if (!SWIG_IsOK(res1
)) {
40654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40656 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40658 if (!SWIG_IsOK(res2
)) {
40659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
40661 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40663 arg3
= wxString_in_helper(obj2
);
40664 if (arg3
== NULL
) SWIG_fail
;
40668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40669 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
40670 wxPyEndAllowThreads(__tstate
);
40671 if (PyErr_Occurred()) SWIG_fail
;
40674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40690 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40691 PyObject
*resultobj
= 0;
40692 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40694 wxMenu
*arg3
= (wxMenu
*) 0 ;
40695 wxString
*arg4
= 0 ;
40703 bool temp4
= false ;
40704 PyObject
* obj0
= 0 ;
40705 PyObject
* obj1
= 0 ;
40706 PyObject
* obj2
= 0 ;
40707 PyObject
* obj3
= 0 ;
40708 char * kwnames
[] = {
40709 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40714 if (!SWIG_IsOK(res1
)) {
40715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40717 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40718 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40719 if (!SWIG_IsOK(ecode2
)) {
40720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
40722 arg2
= static_cast< size_t >(val2
);
40723 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40724 if (!SWIG_IsOK(res3
)) {
40725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
40727 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40729 arg4
= wxString_in_helper(obj3
);
40730 if (arg4
== NULL
) SWIG_fail
;
40734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40735 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
40736 wxPyEndAllowThreads(__tstate
);
40737 if (PyErr_Occurred()) SWIG_fail
;
40740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40756 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40757 PyObject
*resultobj
= 0;
40758 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40762 PyObject
*swig_obj
[1] ;
40764 if (!args
) SWIG_fail
;
40765 swig_obj
[0] = args
;
40766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40767 if (!SWIG_IsOK(res1
)) {
40768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40770 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40773 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
40774 wxPyEndAllowThreads(__tstate
);
40775 if (PyErr_Occurred()) SWIG_fail
;
40777 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
40784 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40785 PyObject
*resultobj
= 0;
40786 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40788 wxMenu
*result
= 0 ;
40793 PyObject
* obj0
= 0 ;
40794 PyObject
* obj1
= 0 ;
40795 char * kwnames
[] = {
40796 (char *) "self",(char *) "pos", NULL
40799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40801 if (!SWIG_IsOK(res1
)) {
40802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40804 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40805 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40806 if (!SWIG_IsOK(ecode2
)) {
40807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
40809 arg2
= static_cast< size_t >(val2
);
40811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40812 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
40813 wxPyEndAllowThreads(__tstate
);
40814 if (PyErr_Occurred()) SWIG_fail
;
40817 resultobj
= wxPyMake_wxObject(result
, 0);
40825 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40826 PyObject
*resultobj
= 0;
40827 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40829 wxMenu
*arg3
= (wxMenu
*) 0 ;
40830 wxString
*arg4
= 0 ;
40831 wxMenu
*result
= 0 ;
40838 bool temp4
= false ;
40839 PyObject
* obj0
= 0 ;
40840 PyObject
* obj1
= 0 ;
40841 PyObject
* obj2
= 0 ;
40842 PyObject
* obj3
= 0 ;
40843 char * kwnames
[] = {
40844 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40849 if (!SWIG_IsOK(res1
)) {
40850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40852 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40853 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40854 if (!SWIG_IsOK(ecode2
)) {
40855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
40857 arg2
= static_cast< size_t >(val2
);
40858 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40859 if (!SWIG_IsOK(res3
)) {
40860 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
40862 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40864 arg4
= wxString_in_helper(obj3
);
40865 if (arg4
== NULL
) SWIG_fail
;
40869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40870 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
40871 wxPyEndAllowThreads(__tstate
);
40872 if (PyErr_Occurred()) SWIG_fail
;
40875 resultobj
= wxPyMake_wxObject(result
, 0);
40891 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40892 PyObject
*resultobj
= 0;
40893 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40895 wxMenu
*result
= 0 ;
40900 PyObject
* obj0
= 0 ;
40901 PyObject
* obj1
= 0 ;
40902 char * kwnames
[] = {
40903 (char *) "self",(char *) "pos", NULL
40906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40908 if (!SWIG_IsOK(res1
)) {
40909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40911 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40912 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40913 if (!SWIG_IsOK(ecode2
)) {
40914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
40916 arg2
= static_cast< size_t >(val2
);
40918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40919 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
40920 wxPyEndAllowThreads(__tstate
);
40921 if (PyErr_Occurred()) SWIG_fail
;
40924 resultobj
= wxPyMake_wxObject(result
, 0);
40932 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40933 PyObject
*resultobj
= 0;
40934 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40943 PyObject
* obj0
= 0 ;
40944 PyObject
* obj1
= 0 ;
40945 PyObject
* obj2
= 0 ;
40946 char * kwnames
[] = {
40947 (char *) "self",(char *) "pos",(char *) "enable", NULL
40950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40952 if (!SWIG_IsOK(res1
)) {
40953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40955 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40956 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40957 if (!SWIG_IsOK(ecode2
)) {
40958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
40960 arg2
= static_cast< size_t >(val2
);
40961 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
40962 if (!SWIG_IsOK(ecode3
)) {
40963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
40965 arg3
= static_cast< bool >(val3
);
40967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40968 (arg1
)->EnableTop(arg2
,arg3
);
40969 wxPyEndAllowThreads(__tstate
);
40970 if (PyErr_Occurred()) SWIG_fail
;
40972 resultobj
= SWIG_Py_Void();
40979 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40980 PyObject
*resultobj
= 0;
40981 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40988 PyObject
* obj0
= 0 ;
40989 PyObject
* obj1
= 0 ;
40990 char * kwnames
[] = {
40991 (char *) "self",(char *) "pos", NULL
40994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40996 if (!SWIG_IsOK(res1
)) {
40997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40999 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41000 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41001 if (!SWIG_IsOK(ecode2
)) {
41002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
41004 arg2
= static_cast< size_t >(val2
);
41006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41007 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
41008 wxPyEndAllowThreads(__tstate
);
41009 if (PyErr_Occurred()) SWIG_fail
;
41012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41020 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41021 PyObject
*resultobj
= 0;
41022 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41024 wxString
*arg3
= 0 ;
41029 bool temp3
= false ;
41030 PyObject
* obj0
= 0 ;
41031 PyObject
* obj1
= 0 ;
41032 PyObject
* obj2
= 0 ;
41033 char * kwnames
[] = {
41034 (char *) "self",(char *) "pos",(char *) "label", NULL
41037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41039 if (!SWIG_IsOK(res1
)) {
41040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41042 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41043 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41044 if (!SWIG_IsOK(ecode2
)) {
41045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41047 arg2
= static_cast< size_t >(val2
);
41049 arg3
= wxString_in_helper(obj2
);
41050 if (arg3
== NULL
) SWIG_fail
;
41054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41055 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
41056 wxPyEndAllowThreads(__tstate
);
41057 if (PyErr_Occurred()) SWIG_fail
;
41059 resultobj
= SWIG_Py_Void();
41074 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41075 PyObject
*resultobj
= 0;
41076 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41083 PyObject
* obj0
= 0 ;
41084 PyObject
* obj1
= 0 ;
41085 char * kwnames
[] = {
41086 (char *) "self",(char *) "pos", NULL
41089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41091 if (!SWIG_IsOK(res1
)) {
41092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41094 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41095 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41096 if (!SWIG_IsOK(ecode2
)) {
41097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41099 arg2
= static_cast< size_t >(val2
);
41101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41102 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
41103 wxPyEndAllowThreads(__tstate
);
41104 if (PyErr_Occurred()) SWIG_fail
;
41108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41119 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41120 PyObject
*resultobj
= 0;
41121 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41122 wxString
*arg2
= 0 ;
41123 wxString
*arg3
= 0 ;
41127 bool temp2
= false ;
41128 bool temp3
= false ;
41129 PyObject
* obj0
= 0 ;
41130 PyObject
* obj1
= 0 ;
41131 PyObject
* obj2
= 0 ;
41132 char * kwnames
[] = {
41133 (char *) "self",(char *) "menu",(char *) "item", NULL
41136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41138 if (!SWIG_IsOK(res1
)) {
41139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41141 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41143 arg2
= wxString_in_helper(obj1
);
41144 if (arg2
== NULL
) SWIG_fail
;
41148 arg3
= wxString_in_helper(obj2
);
41149 if (arg3
== NULL
) SWIG_fail
;
41153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41154 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
41155 wxPyEndAllowThreads(__tstate
);
41156 if (PyErr_Occurred()) SWIG_fail
;
41158 resultobj
= SWIG_From_int(static_cast< int >(result
));
41181 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41182 PyObject
*resultobj
= 0;
41183 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41185 wxMenuItem
*result
= 0 ;
41190 PyObject
* obj0
= 0 ;
41191 PyObject
* obj1
= 0 ;
41192 char * kwnames
[] = {
41193 (char *) "self",(char *) "id", NULL
41196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41198 if (!SWIG_IsOK(res1
)) {
41199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41201 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41203 if (!SWIG_IsOK(ecode2
)) {
41204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
41206 arg2
= static_cast< int >(val2
);
41208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41209 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
41210 wxPyEndAllowThreads(__tstate
);
41211 if (PyErr_Occurred()) SWIG_fail
;
41214 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41222 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41223 PyObject
*resultobj
= 0;
41224 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41225 wxString
*arg2
= 0 ;
41229 bool temp2
= false ;
41230 PyObject
* obj0
= 0 ;
41231 PyObject
* obj1
= 0 ;
41232 char * kwnames
[] = {
41233 (char *) "self",(char *) "title", NULL
41236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41238 if (!SWIG_IsOK(res1
)) {
41239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41241 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41243 arg2
= wxString_in_helper(obj1
);
41244 if (arg2
== NULL
) SWIG_fail
;
41248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41249 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
41250 wxPyEndAllowThreads(__tstate
);
41251 if (PyErr_Occurred()) SWIG_fail
;
41253 resultobj
= SWIG_From_int(static_cast< int >(result
));
41268 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41269 PyObject
*resultobj
= 0;
41270 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41279 PyObject
* obj0
= 0 ;
41280 PyObject
* obj1
= 0 ;
41281 PyObject
* obj2
= 0 ;
41282 char * kwnames
[] = {
41283 (char *) "self",(char *) "id",(char *) "enable", NULL
41286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41288 if (!SWIG_IsOK(res1
)) {
41289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41291 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41293 if (!SWIG_IsOK(ecode2
)) {
41294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
41296 arg2
= static_cast< int >(val2
);
41297 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41298 if (!SWIG_IsOK(ecode3
)) {
41299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
41301 arg3
= static_cast< bool >(val3
);
41303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41304 (arg1
)->Enable(arg2
,arg3
);
41305 wxPyEndAllowThreads(__tstate
);
41306 if (PyErr_Occurred()) SWIG_fail
;
41308 resultobj
= SWIG_Py_Void();
41315 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41316 PyObject
*resultobj
= 0;
41317 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41326 PyObject
* obj0
= 0 ;
41327 PyObject
* obj1
= 0 ;
41328 PyObject
* obj2
= 0 ;
41329 char * kwnames
[] = {
41330 (char *) "self",(char *) "id",(char *) "check", NULL
41333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41335 if (!SWIG_IsOK(res1
)) {
41336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41338 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41340 if (!SWIG_IsOK(ecode2
)) {
41341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
41343 arg2
= static_cast< int >(val2
);
41344 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41345 if (!SWIG_IsOK(ecode3
)) {
41346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
41348 arg3
= static_cast< bool >(val3
);
41350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41351 (arg1
)->Check(arg2
,arg3
);
41352 wxPyEndAllowThreads(__tstate
);
41353 if (PyErr_Occurred()) SWIG_fail
;
41355 resultobj
= SWIG_Py_Void();
41362 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41363 PyObject
*resultobj
= 0;
41364 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41371 PyObject
* obj0
= 0 ;
41372 PyObject
* obj1
= 0 ;
41373 char * kwnames
[] = {
41374 (char *) "self",(char *) "id", NULL
41377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41379 if (!SWIG_IsOK(res1
)) {
41380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41382 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41384 if (!SWIG_IsOK(ecode2
)) {
41385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
41387 arg2
= static_cast< int >(val2
);
41389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41390 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
41391 wxPyEndAllowThreads(__tstate
);
41392 if (PyErr_Occurred()) SWIG_fail
;
41395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41403 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41404 PyObject
*resultobj
= 0;
41405 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41412 PyObject
* obj0
= 0 ;
41413 PyObject
* obj1
= 0 ;
41414 char * kwnames
[] = {
41415 (char *) "self",(char *) "id", NULL
41418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41420 if (!SWIG_IsOK(res1
)) {
41421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41423 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41425 if (!SWIG_IsOK(ecode2
)) {
41426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
41428 arg2
= static_cast< int >(val2
);
41430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41431 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
41432 wxPyEndAllowThreads(__tstate
);
41433 if (PyErr_Occurred()) SWIG_fail
;
41436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41444 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41445 PyObject
*resultobj
= 0;
41446 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41448 wxString
*arg3
= 0 ;
41453 bool temp3
= false ;
41454 PyObject
* obj0
= 0 ;
41455 PyObject
* obj1
= 0 ;
41456 PyObject
* obj2
= 0 ;
41457 char * kwnames
[] = {
41458 (char *) "self",(char *) "id",(char *) "label", NULL
41461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41463 if (!SWIG_IsOK(res1
)) {
41464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41466 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41468 if (!SWIG_IsOK(ecode2
)) {
41469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
41471 arg2
= static_cast< int >(val2
);
41473 arg3
= wxString_in_helper(obj2
);
41474 if (arg3
== NULL
) SWIG_fail
;
41478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41479 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
41480 wxPyEndAllowThreads(__tstate
);
41481 if (PyErr_Occurred()) SWIG_fail
;
41483 resultobj
= SWIG_Py_Void();
41498 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41499 PyObject
*resultobj
= 0;
41500 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41507 PyObject
* obj0
= 0 ;
41508 PyObject
* obj1
= 0 ;
41509 char * kwnames
[] = {
41510 (char *) "self",(char *) "id", NULL
41513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41515 if (!SWIG_IsOK(res1
)) {
41516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41518 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41520 if (!SWIG_IsOK(ecode2
)) {
41521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
41523 arg2
= static_cast< int >(val2
);
41525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41526 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
41527 wxPyEndAllowThreads(__tstate
);
41528 if (PyErr_Occurred()) SWIG_fail
;
41532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41543 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41544 PyObject
*resultobj
= 0;
41545 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41547 wxString
*arg3
= 0 ;
41552 bool temp3
= false ;
41553 PyObject
* obj0
= 0 ;
41554 PyObject
* obj1
= 0 ;
41555 PyObject
* obj2
= 0 ;
41556 char * kwnames
[] = {
41557 (char *) "self",(char *) "id",(char *) "helpString", NULL
41560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41562 if (!SWIG_IsOK(res1
)) {
41563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41565 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41567 if (!SWIG_IsOK(ecode2
)) {
41568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
41570 arg2
= static_cast< int >(val2
);
41572 arg3
= wxString_in_helper(obj2
);
41573 if (arg3
== NULL
) SWIG_fail
;
41577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41578 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
41579 wxPyEndAllowThreads(__tstate
);
41580 if (PyErr_Occurred()) SWIG_fail
;
41582 resultobj
= SWIG_Py_Void();
41597 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41598 PyObject
*resultobj
= 0;
41599 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41606 PyObject
* obj0
= 0 ;
41607 PyObject
* obj1
= 0 ;
41608 char * kwnames
[] = {
41609 (char *) "self",(char *) "id", NULL
41612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41614 if (!SWIG_IsOK(res1
)) {
41615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41617 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41619 if (!SWIG_IsOK(ecode2
)) {
41620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
41622 arg2
= static_cast< int >(val2
);
41624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41625 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
41626 wxPyEndAllowThreads(__tstate
);
41627 if (PyErr_Occurred()) SWIG_fail
;
41631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41642 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41643 PyObject
*resultobj
= 0;
41644 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41645 wxFrame
*result
= 0 ;
41648 PyObject
*swig_obj
[1] ;
41650 if (!args
) SWIG_fail
;
41651 swig_obj
[0] = args
;
41652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41653 if (!SWIG_IsOK(res1
)) {
41654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41656 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41659 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
41660 wxPyEndAllowThreads(__tstate
);
41661 if (PyErr_Occurred()) SWIG_fail
;
41664 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41672 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41673 PyObject
*resultobj
= 0;
41674 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41678 PyObject
*swig_obj
[1] ;
41680 if (!args
) SWIG_fail
;
41681 swig_obj
[0] = args
;
41682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41683 if (!SWIG_IsOK(res1
)) {
41684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41686 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41689 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
41690 wxPyEndAllowThreads(__tstate
);
41691 if (PyErr_Occurred()) SWIG_fail
;
41694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41702 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41703 PyObject
*resultobj
= 0;
41704 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41705 wxFrame
*arg2
= (wxFrame
*) 0 ;
41710 PyObject
* obj0
= 0 ;
41711 PyObject
* obj1
= 0 ;
41712 char * kwnames
[] = {
41713 (char *) "self",(char *) "frame", NULL
41716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41718 if (!SWIG_IsOK(res1
)) {
41719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41721 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
41723 if (!SWIG_IsOK(res2
)) {
41724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
41726 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
41728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41729 (arg1
)->Attach(arg2
);
41730 wxPyEndAllowThreads(__tstate
);
41731 if (PyErr_Occurred()) SWIG_fail
;
41733 resultobj
= SWIG_Py_Void();
41740 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41741 PyObject
*resultobj
= 0;
41742 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41745 PyObject
*swig_obj
[1] ;
41747 if (!args
) SWIG_fail
;
41748 swig_obj
[0] = args
;
41749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41750 if (!SWIG_IsOK(res1
)) {
41751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41753 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41757 wxPyEndAllowThreads(__tstate
);
41758 if (PyErr_Occurred()) SWIG_fail
;
41760 resultobj
= SWIG_Py_Void();
41767 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41768 PyObject
*resultobj
= 0;
41772 PyObject
* obj0
= 0 ;
41773 char * kwnames
[] = {
41774 (char *) "enable", NULL
41777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
41778 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
41779 if (!SWIG_IsOK(ecode1
)) {
41780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
41782 arg1
= static_cast< bool >(val1
);
41784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41785 wxMenuBar_SetAutoWindowMenu(arg1
);
41786 wxPyEndAllowThreads(__tstate
);
41787 if (PyErr_Occurred()) SWIG_fail
;
41789 resultobj
= SWIG_Py_Void();
41796 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41797 PyObject
*resultobj
= 0;
41800 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
41802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41803 result
= (bool)wxMenuBar_GetAutoWindowMenu();
41804 wxPyEndAllowThreads(__tstate
);
41805 if (PyErr_Occurred()) SWIG_fail
;
41808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41816 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41819 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
41820 return SWIG_Py_Void();
41823 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41824 return SWIG_Python_InitShadowInstance(args
);
41827 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41828 PyObject
*resultobj
= 0;
41829 wxMenu
*arg1
= (wxMenu
*) NULL
;
41830 int arg2
= (int) wxID_ANY
;
41831 wxString
const &arg3_defvalue
= wxPyEmptyString
;
41832 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
41833 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41834 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41835 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
41836 wxMenu
*arg6
= (wxMenu
*) NULL
;
41837 wxMenuItem
*result
= 0 ;
41842 bool temp3
= false ;
41843 bool temp4
= false ;
41848 PyObject
* obj0
= 0 ;
41849 PyObject
* obj1
= 0 ;
41850 PyObject
* obj2
= 0 ;
41851 PyObject
* obj3
= 0 ;
41852 PyObject
* obj4
= 0 ;
41853 PyObject
* obj5
= 0 ;
41854 char * kwnames
[] = {
41855 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
41858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
41860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41861 if (!SWIG_IsOK(res1
)) {
41862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41864 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41868 if (!SWIG_IsOK(ecode2
)) {
41869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
41871 arg2
= static_cast< int >(val2
);
41875 arg3
= wxString_in_helper(obj2
);
41876 if (arg3
== NULL
) SWIG_fail
;
41882 arg4
= wxString_in_helper(obj3
);
41883 if (arg4
== NULL
) SWIG_fail
;
41888 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
41889 if (!SWIG_IsOK(ecode5
)) {
41890 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
41892 arg5
= static_cast< wxItemKind
>(val5
);
41895 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41896 if (!SWIG_IsOK(res6
)) {
41897 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
41899 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
41902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41903 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
41904 wxPyEndAllowThreads(__tstate
);
41905 if (PyErr_Occurred()) SWIG_fail
;
41908 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
41932 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41933 PyObject
*resultobj
= 0;
41934 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41937 PyObject
*swig_obj
[1] ;
41939 if (!args
) SWIG_fail
;
41940 swig_obj
[0] = args
;
41941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
41942 if (!SWIG_IsOK(res1
)) {
41943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
41945 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
41947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41950 wxPyEndAllowThreads(__tstate
);
41951 if (PyErr_Occurred()) SWIG_fail
;
41953 resultobj
= SWIG_Py_Void();
41960 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41961 PyObject
*resultobj
= 0;
41962 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41963 wxMenu
*result
= 0 ;
41966 PyObject
*swig_obj
[1] ;
41968 if (!args
) SWIG_fail
;
41969 swig_obj
[0] = args
;
41970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41971 if (!SWIG_IsOK(res1
)) {
41972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
41974 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
41976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41977 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
41978 wxPyEndAllowThreads(__tstate
);
41979 if (PyErr_Occurred()) SWIG_fail
;
41982 resultobj
= wxPyMake_wxObject(result
, 0);
41990 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41991 PyObject
*resultobj
= 0;
41992 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41993 wxMenu
*arg2
= (wxMenu
*) 0 ;
41998 PyObject
* obj0
= 0 ;
41999 PyObject
* obj1
= 0 ;
42000 char * kwnames
[] = {
42001 (char *) "self",(char *) "menu", NULL
42004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42006 if (!SWIG_IsOK(res1
)) {
42007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42009 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42011 if (!SWIG_IsOK(res2
)) {
42012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42014 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42017 (arg1
)->SetMenu(arg2
);
42018 wxPyEndAllowThreads(__tstate
);
42019 if (PyErr_Occurred()) SWIG_fail
;
42021 resultobj
= SWIG_Py_Void();
42028 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42029 PyObject
*resultobj
= 0;
42030 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42036 PyObject
* obj0
= 0 ;
42037 PyObject
* obj1
= 0 ;
42038 char * kwnames
[] = {
42039 (char *) "self",(char *) "id", NULL
42042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42044 if (!SWIG_IsOK(res1
)) {
42045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42047 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42049 if (!SWIG_IsOK(ecode2
)) {
42050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
42052 arg2
= static_cast< int >(val2
);
42054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42055 (arg1
)->SetId(arg2
);
42056 wxPyEndAllowThreads(__tstate
);
42057 if (PyErr_Occurred()) SWIG_fail
;
42059 resultobj
= SWIG_Py_Void();
42066 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42067 PyObject
*resultobj
= 0;
42068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42072 PyObject
*swig_obj
[1] ;
42074 if (!args
) SWIG_fail
;
42075 swig_obj
[0] = args
;
42076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42077 if (!SWIG_IsOK(res1
)) {
42078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42080 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42083 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
42084 wxPyEndAllowThreads(__tstate
);
42085 if (PyErr_Occurred()) SWIG_fail
;
42087 resultobj
= SWIG_From_int(static_cast< int >(result
));
42094 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42095 PyObject
*resultobj
= 0;
42096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42100 PyObject
*swig_obj
[1] ;
42102 if (!args
) SWIG_fail
;
42103 swig_obj
[0] = args
;
42104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42105 if (!SWIG_IsOK(res1
)) {
42106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42108 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42111 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
42112 wxPyEndAllowThreads(__tstate
);
42113 if (PyErr_Occurred()) SWIG_fail
;
42116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42124 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42125 PyObject
*resultobj
= 0;
42126 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42127 wxString
*arg2
= 0 ;
42130 bool temp2
= false ;
42131 PyObject
* obj0
= 0 ;
42132 PyObject
* obj1
= 0 ;
42133 char * kwnames
[] = {
42134 (char *) "self",(char *) "str", NULL
42137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42139 if (!SWIG_IsOK(res1
)) {
42140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42142 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42144 arg2
= wxString_in_helper(obj1
);
42145 if (arg2
== NULL
) SWIG_fail
;
42149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42150 (arg1
)->SetText((wxString
const &)*arg2
);
42151 wxPyEndAllowThreads(__tstate
);
42152 if (PyErr_Occurred()) SWIG_fail
;
42154 resultobj
= SWIG_Py_Void();
42169 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42170 PyObject
*resultobj
= 0;
42171 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42175 PyObject
*swig_obj
[1] ;
42177 if (!args
) SWIG_fail
;
42178 swig_obj
[0] = args
;
42179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42180 if (!SWIG_IsOK(res1
)) {
42181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42183 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42186 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
42187 wxPyEndAllowThreads(__tstate
);
42188 if (PyErr_Occurred()) SWIG_fail
;
42192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42203 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42204 PyObject
*resultobj
= 0;
42205 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42206 wxString
*result
= 0 ;
42209 PyObject
*swig_obj
[1] ;
42211 if (!args
) SWIG_fail
;
42212 swig_obj
[0] = args
;
42213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42214 if (!SWIG_IsOK(res1
)) {
42215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42217 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42221 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
42222 result
= (wxString
*) &_result_ref
;
42224 wxPyEndAllowThreads(__tstate
);
42225 if (PyErr_Occurred()) SWIG_fail
;
42229 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42231 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42240 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42241 PyObject
*resultobj
= 0;
42242 wxString
*arg1
= 0 ;
42244 bool temp1
= false ;
42245 PyObject
* obj0
= 0 ;
42246 char * kwnames
[] = {
42247 (char *) "text", NULL
42250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
42252 arg1
= wxString_in_helper(obj0
);
42253 if (arg1
== NULL
) SWIG_fail
;
42257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42258 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
42259 wxPyEndAllowThreads(__tstate
);
42260 if (PyErr_Occurred()) SWIG_fail
;
42264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42283 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42284 PyObject
*resultobj
= 0;
42285 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42289 PyObject
*swig_obj
[1] ;
42291 if (!args
) SWIG_fail
;
42292 swig_obj
[0] = args
;
42293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42294 if (!SWIG_IsOK(res1
)) {
42295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42297 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42300 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
42301 wxPyEndAllowThreads(__tstate
);
42302 if (PyErr_Occurred()) SWIG_fail
;
42304 resultobj
= SWIG_From_int(static_cast< int >(result
));
42311 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42312 PyObject
*resultobj
= 0;
42313 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42319 PyObject
* obj0
= 0 ;
42320 PyObject
* obj1
= 0 ;
42321 char * kwnames
[] = {
42322 (char *) "self",(char *) "kind", NULL
42325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42327 if (!SWIG_IsOK(res1
)) {
42328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42330 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42332 if (!SWIG_IsOK(ecode2
)) {
42333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
42335 arg2
= static_cast< wxItemKind
>(val2
);
42337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42338 (arg1
)->SetKind(arg2
);
42339 wxPyEndAllowThreads(__tstate
);
42340 if (PyErr_Occurred()) SWIG_fail
;
42342 resultobj
= SWIG_Py_Void();
42349 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42350 PyObject
*resultobj
= 0;
42351 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42357 PyObject
* obj0
= 0 ;
42358 PyObject
* obj1
= 0 ;
42359 char * kwnames
[] = {
42360 (char *) "self",(char *) "checkable", NULL
42363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42365 if (!SWIG_IsOK(res1
)) {
42366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42368 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42369 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42370 if (!SWIG_IsOK(ecode2
)) {
42371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
42373 arg2
= static_cast< bool >(val2
);
42375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42376 (arg1
)->SetCheckable(arg2
);
42377 wxPyEndAllowThreads(__tstate
);
42378 if (PyErr_Occurred()) SWIG_fail
;
42380 resultobj
= SWIG_Py_Void();
42387 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42388 PyObject
*resultobj
= 0;
42389 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42393 PyObject
*swig_obj
[1] ;
42395 if (!args
) SWIG_fail
;
42396 swig_obj
[0] = args
;
42397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42398 if (!SWIG_IsOK(res1
)) {
42399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42401 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42404 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
42405 wxPyEndAllowThreads(__tstate
);
42406 if (PyErr_Occurred()) SWIG_fail
;
42409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42417 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42418 PyObject
*resultobj
= 0;
42419 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42423 PyObject
*swig_obj
[1] ;
42425 if (!args
) SWIG_fail
;
42426 swig_obj
[0] = args
;
42427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42428 if (!SWIG_IsOK(res1
)) {
42429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42431 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42434 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
42435 wxPyEndAllowThreads(__tstate
);
42436 if (PyErr_Occurred()) SWIG_fail
;
42439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42447 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42448 PyObject
*resultobj
= 0;
42449 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42450 wxMenu
*arg2
= (wxMenu
*) 0 ;
42455 PyObject
* obj0
= 0 ;
42456 PyObject
* obj1
= 0 ;
42457 char * kwnames
[] = {
42458 (char *) "self",(char *) "menu", NULL
42461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42463 if (!SWIG_IsOK(res1
)) {
42464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42466 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42468 if (!SWIG_IsOK(res2
)) {
42469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42471 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42474 (arg1
)->SetSubMenu(arg2
);
42475 wxPyEndAllowThreads(__tstate
);
42476 if (PyErr_Occurred()) SWIG_fail
;
42478 resultobj
= SWIG_Py_Void();
42485 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42486 PyObject
*resultobj
= 0;
42487 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42488 wxMenu
*result
= 0 ;
42491 PyObject
*swig_obj
[1] ;
42493 if (!args
) SWIG_fail
;
42494 swig_obj
[0] = args
;
42495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42496 if (!SWIG_IsOK(res1
)) {
42497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42499 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42502 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
42503 wxPyEndAllowThreads(__tstate
);
42504 if (PyErr_Occurred()) SWIG_fail
;
42507 resultobj
= wxPyMake_wxObject(result
, 0);
42515 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42516 PyObject
*resultobj
= 0;
42517 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42518 bool arg2
= (bool) true ;
42523 PyObject
* obj0
= 0 ;
42524 PyObject
* obj1
= 0 ;
42525 char * kwnames
[] = {
42526 (char *) "self",(char *) "enable", NULL
42529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42531 if (!SWIG_IsOK(res1
)) {
42532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42534 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42536 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42537 if (!SWIG_IsOK(ecode2
)) {
42538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
42540 arg2
= static_cast< bool >(val2
);
42543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42544 (arg1
)->Enable(arg2
);
42545 wxPyEndAllowThreads(__tstate
);
42546 if (PyErr_Occurred()) SWIG_fail
;
42548 resultobj
= SWIG_Py_Void();
42555 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42556 PyObject
*resultobj
= 0;
42557 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42561 PyObject
*swig_obj
[1] ;
42563 if (!args
) SWIG_fail
;
42564 swig_obj
[0] = args
;
42565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42566 if (!SWIG_IsOK(res1
)) {
42567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42569 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42572 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
42573 wxPyEndAllowThreads(__tstate
);
42574 if (PyErr_Occurred()) SWIG_fail
;
42577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42585 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42586 PyObject
*resultobj
= 0;
42587 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42588 bool arg2
= (bool) true ;
42593 PyObject
* obj0
= 0 ;
42594 PyObject
* obj1
= 0 ;
42595 char * kwnames
[] = {
42596 (char *) "self",(char *) "check", NULL
42599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42601 if (!SWIG_IsOK(res1
)) {
42602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42604 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42607 if (!SWIG_IsOK(ecode2
)) {
42608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
42610 arg2
= static_cast< bool >(val2
);
42613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42614 (arg1
)->Check(arg2
);
42615 wxPyEndAllowThreads(__tstate
);
42616 if (PyErr_Occurred()) SWIG_fail
;
42618 resultobj
= SWIG_Py_Void();
42625 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42626 PyObject
*resultobj
= 0;
42627 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42631 PyObject
*swig_obj
[1] ;
42633 if (!args
) SWIG_fail
;
42634 swig_obj
[0] = args
;
42635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42636 if (!SWIG_IsOK(res1
)) {
42637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42639 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42642 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
42643 wxPyEndAllowThreads(__tstate
);
42644 if (PyErr_Occurred()) SWIG_fail
;
42647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42655 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42656 PyObject
*resultobj
= 0;
42657 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42660 PyObject
*swig_obj
[1] ;
42662 if (!args
) SWIG_fail
;
42663 swig_obj
[0] = args
;
42664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42665 if (!SWIG_IsOK(res1
)) {
42666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42668 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42672 wxPyEndAllowThreads(__tstate
);
42673 if (PyErr_Occurred()) SWIG_fail
;
42675 resultobj
= SWIG_Py_Void();
42682 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42683 PyObject
*resultobj
= 0;
42684 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42685 wxString
*arg2
= 0 ;
42688 bool temp2
= false ;
42689 PyObject
* obj0
= 0 ;
42690 PyObject
* obj1
= 0 ;
42691 char * kwnames
[] = {
42692 (char *) "self",(char *) "str", NULL
42695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42697 if (!SWIG_IsOK(res1
)) {
42698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42700 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42702 arg2
= wxString_in_helper(obj1
);
42703 if (arg2
== NULL
) SWIG_fail
;
42707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42708 (arg1
)->SetHelp((wxString
const &)*arg2
);
42709 wxPyEndAllowThreads(__tstate
);
42710 if (PyErr_Occurred()) SWIG_fail
;
42712 resultobj
= SWIG_Py_Void();
42727 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42728 PyObject
*resultobj
= 0;
42729 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42730 wxString
*result
= 0 ;
42733 PyObject
*swig_obj
[1] ;
42735 if (!args
) SWIG_fail
;
42736 swig_obj
[0] = args
;
42737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42738 if (!SWIG_IsOK(res1
)) {
42739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42741 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42745 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
42746 result
= (wxString
*) &_result_ref
;
42748 wxPyEndAllowThreads(__tstate
);
42749 if (PyErr_Occurred()) SWIG_fail
;
42753 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42755 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42764 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42765 PyObject
*resultobj
= 0;
42766 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42767 wxAcceleratorEntry
*result
= 0 ;
42770 PyObject
*swig_obj
[1] ;
42772 if (!args
) SWIG_fail
;
42773 swig_obj
[0] = args
;
42774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42775 if (!SWIG_IsOK(res1
)) {
42776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42778 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42781 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
42782 wxPyEndAllowThreads(__tstate
);
42783 if (PyErr_Occurred()) SWIG_fail
;
42785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42792 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42793 PyObject
*resultobj
= 0;
42794 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42795 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
42800 PyObject
* obj0
= 0 ;
42801 PyObject
* obj1
= 0 ;
42802 char * kwnames
[] = {
42803 (char *) "self",(char *) "accel", NULL
42806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42808 if (!SWIG_IsOK(res1
)) {
42809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42811 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42813 if (!SWIG_IsOK(res2
)) {
42814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
42816 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
42818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42819 (arg1
)->SetAccel(arg2
);
42820 wxPyEndAllowThreads(__tstate
);
42821 if (PyErr_Occurred()) SWIG_fail
;
42823 resultobj
= SWIG_Py_Void();
42830 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42831 PyObject
*resultobj
= 0;
42832 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42833 wxBitmap
*arg2
= 0 ;
42838 PyObject
* obj0
= 0 ;
42839 PyObject
* obj1
= 0 ;
42840 char * kwnames
[] = {
42841 (char *) "self",(char *) "bitmap", NULL
42844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42846 if (!SWIG_IsOK(res1
)) {
42847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42849 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
42851 if (!SWIG_IsOK(res2
)) {
42852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42857 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
42859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42860 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
42861 wxPyEndAllowThreads(__tstate
);
42862 if (PyErr_Occurred()) SWIG_fail
;
42864 resultobj
= SWIG_Py_Void();
42871 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42872 PyObject
*resultobj
= 0;
42873 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42874 wxBitmap
*result
= 0 ;
42877 PyObject
*swig_obj
[1] ;
42879 if (!args
) SWIG_fail
;
42880 swig_obj
[0] = args
;
42881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42882 if (!SWIG_IsOK(res1
)) {
42883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42885 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42889 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
42890 result
= (wxBitmap
*) &_result_ref
;
42892 wxPyEndAllowThreads(__tstate
);
42893 if (PyErr_Occurred()) SWIG_fail
;
42896 wxBitmap
* resultptr
= new wxBitmap(*result
);
42897 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
42905 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42906 PyObject
*resultobj
= 0;
42907 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42913 PyObject
* obj0
= 0 ;
42914 PyObject
* obj1
= 0 ;
42915 char * kwnames
[] = {
42916 (char *) "self",(char *) "font", NULL
42919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42921 if (!SWIG_IsOK(res1
)) {
42922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42924 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
42926 if (!SWIG_IsOK(res2
)) {
42927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
42930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
42932 arg2
= reinterpret_cast< wxFont
* >(argp2
);
42934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42935 (arg1
)->SetFont((wxFont
const &)*arg2
);
42936 wxPyEndAllowThreads(__tstate
);
42937 if (PyErr_Occurred()) SWIG_fail
;
42939 resultobj
= SWIG_Py_Void();
42946 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42947 PyObject
*resultobj
= 0;
42948 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42952 PyObject
*swig_obj
[1] ;
42954 if (!args
) SWIG_fail
;
42955 swig_obj
[0] = args
;
42956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42957 if (!SWIG_IsOK(res1
)) {
42958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42960 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42963 result
= (arg1
)->GetFont();
42964 wxPyEndAllowThreads(__tstate
);
42965 if (PyErr_Occurred()) SWIG_fail
;
42967 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
42974 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42975 PyObject
*resultobj
= 0;
42976 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42977 wxColour
*arg2
= 0 ;
42981 PyObject
* obj0
= 0 ;
42982 PyObject
* obj1
= 0 ;
42983 char * kwnames
[] = {
42984 (char *) "self",(char *) "colText", NULL
42987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42989 if (!SWIG_IsOK(res1
)) {
42990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42992 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42999 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
43000 wxPyEndAllowThreads(__tstate
);
43001 if (PyErr_Occurred()) SWIG_fail
;
43003 resultobj
= SWIG_Py_Void();
43010 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43011 PyObject
*resultobj
= 0;
43012 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43016 PyObject
*swig_obj
[1] ;
43018 if (!args
) SWIG_fail
;
43019 swig_obj
[0] = args
;
43020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43021 if (!SWIG_IsOK(res1
)) {
43022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43024 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43027 result
= (arg1
)->GetTextColour();
43028 wxPyEndAllowThreads(__tstate
);
43029 if (PyErr_Occurred()) SWIG_fail
;
43031 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43038 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43039 PyObject
*resultobj
= 0;
43040 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43041 wxColour
*arg2
= 0 ;
43045 PyObject
* obj0
= 0 ;
43046 PyObject
* obj1
= 0 ;
43047 char * kwnames
[] = {
43048 (char *) "self",(char *) "colBack", NULL
43051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43053 if (!SWIG_IsOK(res1
)) {
43054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43056 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43063 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
43064 wxPyEndAllowThreads(__tstate
);
43065 if (PyErr_Occurred()) SWIG_fail
;
43067 resultobj
= SWIG_Py_Void();
43074 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43075 PyObject
*resultobj
= 0;
43076 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43080 PyObject
*swig_obj
[1] ;
43082 if (!args
) SWIG_fail
;
43083 swig_obj
[0] = args
;
43084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43085 if (!SWIG_IsOK(res1
)) {
43086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43088 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43091 result
= (arg1
)->GetBackgroundColour();
43092 wxPyEndAllowThreads(__tstate
);
43093 if (PyErr_Occurred()) SWIG_fail
;
43095 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43102 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43103 PyObject
*resultobj
= 0;
43104 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43105 wxBitmap
*arg2
= 0 ;
43106 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
43107 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
43114 PyObject
* obj0
= 0 ;
43115 PyObject
* obj1
= 0 ;
43116 PyObject
* obj2
= 0 ;
43117 char * kwnames
[] = {
43118 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
43121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43123 if (!SWIG_IsOK(res1
)) {
43124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43126 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43128 if (!SWIG_IsOK(res2
)) {
43129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43134 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43136 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43137 if (!SWIG_IsOK(res3
)) {
43138 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43143 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
43146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43147 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
43148 wxPyEndAllowThreads(__tstate
);
43149 if (PyErr_Occurred()) SWIG_fail
;
43151 resultobj
= SWIG_Py_Void();
43158 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43159 PyObject
*resultobj
= 0;
43160 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43161 wxBitmap
*arg2
= 0 ;
43166 PyObject
* obj0
= 0 ;
43167 PyObject
* obj1
= 0 ;
43168 char * kwnames
[] = {
43169 (char *) "self",(char *) "bmpDisabled", NULL
43172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43174 if (!SWIG_IsOK(res1
)) {
43175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43177 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43179 if (!SWIG_IsOK(res2
)) {
43180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43185 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43188 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
43189 wxPyEndAllowThreads(__tstate
);
43190 if (PyErr_Occurred()) SWIG_fail
;
43192 resultobj
= SWIG_Py_Void();
43199 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43200 PyObject
*resultobj
= 0;
43201 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43202 wxBitmap
*result
= 0 ;
43205 PyObject
*swig_obj
[1] ;
43207 if (!args
) SWIG_fail
;
43208 swig_obj
[0] = args
;
43209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43210 if (!SWIG_IsOK(res1
)) {
43211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43213 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43217 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
43218 result
= (wxBitmap
*) &_result_ref
;
43220 wxPyEndAllowThreads(__tstate
);
43221 if (PyErr_Occurred()) SWIG_fail
;
43224 wxBitmap
* resultptr
= new wxBitmap(*result
);
43225 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
43233 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43234 PyObject
*resultobj
= 0;
43235 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43241 PyObject
* obj0
= 0 ;
43242 PyObject
* obj1
= 0 ;
43243 char * kwnames
[] = {
43244 (char *) "self",(char *) "nWidth", NULL
43247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43249 if (!SWIG_IsOK(res1
)) {
43250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43252 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43254 if (!SWIG_IsOK(ecode2
)) {
43255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
43257 arg2
= static_cast< int >(val2
);
43259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43260 (arg1
)->SetMarginWidth(arg2
);
43261 wxPyEndAllowThreads(__tstate
);
43262 if (PyErr_Occurred()) SWIG_fail
;
43264 resultobj
= SWIG_Py_Void();
43271 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43272 PyObject
*resultobj
= 0;
43273 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43277 PyObject
*swig_obj
[1] ;
43279 if (!args
) SWIG_fail
;
43280 swig_obj
[0] = args
;
43281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43282 if (!SWIG_IsOK(res1
)) {
43283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43285 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43288 result
= (int)(arg1
)->GetMarginWidth();
43289 wxPyEndAllowThreads(__tstate
);
43290 if (PyErr_Occurred()) SWIG_fail
;
43292 resultobj
= SWIG_From_int(static_cast< int >(result
));
43299 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43300 PyObject
*resultobj
= 0;
43303 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
43305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43306 result
= (int)wxMenuItem::GetDefaultMarginWidth();
43307 wxPyEndAllowThreads(__tstate
);
43308 if (PyErr_Occurred()) SWIG_fail
;
43310 resultobj
= SWIG_From_int(static_cast< int >(result
));
43317 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43318 PyObject
*resultobj
= 0;
43319 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43323 PyObject
*swig_obj
[1] ;
43325 if (!args
) SWIG_fail
;
43326 swig_obj
[0] = args
;
43327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43328 if (!SWIG_IsOK(res1
)) {
43329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43331 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43334 result
= (bool)(arg1
)->IsOwnerDrawn();
43335 wxPyEndAllowThreads(__tstate
);
43336 if (PyErr_Occurred()) SWIG_fail
;
43339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43347 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43348 PyObject
*resultobj
= 0;
43349 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43350 bool arg2
= (bool) true ;
43355 PyObject
* obj0
= 0 ;
43356 PyObject
* obj1
= 0 ;
43357 char * kwnames
[] = {
43358 (char *) "self",(char *) "ownerDrawn", NULL
43361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43363 if (!SWIG_IsOK(res1
)) {
43364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43366 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43368 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43369 if (!SWIG_IsOK(ecode2
)) {
43370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
43372 arg2
= static_cast< bool >(val2
);
43375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43376 (arg1
)->SetOwnerDrawn(arg2
);
43377 wxPyEndAllowThreads(__tstate
);
43378 if (PyErr_Occurred()) SWIG_fail
;
43380 resultobj
= SWIG_Py_Void();
43387 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43388 PyObject
*resultobj
= 0;
43389 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43392 PyObject
*swig_obj
[1] ;
43394 if (!args
) SWIG_fail
;
43395 swig_obj
[0] = args
;
43396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43397 if (!SWIG_IsOK(res1
)) {
43398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43400 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43403 (arg1
)->ResetOwnerDrawn();
43404 wxPyEndAllowThreads(__tstate
);
43405 if (PyErr_Occurred()) SWIG_fail
;
43407 resultobj
= SWIG_Py_Void();
43414 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43417 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
43418 return SWIG_Py_Void();
43421 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43422 return SWIG_Python_InitShadowInstance(args
);
43425 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
43426 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
43431 SWIGINTERN PyObject
*ControlNameStr_get(void) {
43432 PyObject
*pyobj
= 0;
43436 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43438 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43445 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43446 PyObject
*resultobj
= 0;
43447 wxWindow
*arg1
= (wxWindow
*) 0 ;
43448 int arg2
= (int) -1 ;
43449 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
43450 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
43451 wxSize
const &arg4_defvalue
= wxDefaultSize
;
43452 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
43453 long arg5
= (long) 0 ;
43454 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
43455 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
43456 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
43457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
43458 wxControl
*result
= 0 ;
43469 bool temp7
= false ;
43470 PyObject
* obj0
= 0 ;
43471 PyObject
* obj1
= 0 ;
43472 PyObject
* obj2
= 0 ;
43473 PyObject
* obj3
= 0 ;
43474 PyObject
* obj4
= 0 ;
43475 PyObject
* obj5
= 0 ;
43476 PyObject
* obj6
= 0 ;
43477 char * kwnames
[] = {
43478 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
43482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43483 if (!SWIG_IsOK(res1
)) {
43484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
43486 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43489 if (!SWIG_IsOK(ecode2
)) {
43490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
43492 arg2
= static_cast< int >(val2
);
43497 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
43503 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
43507 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
43508 if (!SWIG_IsOK(ecode5
)) {
43509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
43511 arg5
= static_cast< long >(val5
);
43514 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
43515 if (!SWIG_IsOK(res6
)) {
43516 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43521 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
43525 arg7
= wxString_in_helper(obj6
);
43526 if (arg7
== NULL
) SWIG_fail
;
43531 if (!wxPyCheckForApp()) SWIG_fail
;
43532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43533 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
43534 wxPyEndAllowThreads(__tstate
);
43535 if (PyErr_Occurred()) SWIG_fail
;
43537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
43552 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43553 PyObject
*resultobj
= 0;
43554 wxControl
*result
= 0 ;
43556 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
43558 if (!wxPyCheckForApp()) SWIG_fail
;
43559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43560 result
= (wxControl
*)new wxControl();
43561 wxPyEndAllowThreads(__tstate
);
43562 if (PyErr_Occurred()) SWIG_fail
;
43564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
43571 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43572 PyObject
*resultobj
= 0;
43573 wxControl
*arg1
= (wxControl
*) 0 ;
43574 wxWindow
*arg2
= (wxWindow
*) 0 ;
43575 int arg3
= (int) -1 ;
43576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43580 long arg6
= (long) 0 ;
43581 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43582 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43583 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
43584 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43598 bool temp8
= false ;
43599 PyObject
* obj0
= 0 ;
43600 PyObject
* obj1
= 0 ;
43601 PyObject
* obj2
= 0 ;
43602 PyObject
* obj3
= 0 ;
43603 PyObject
* obj4
= 0 ;
43604 PyObject
* obj5
= 0 ;
43605 PyObject
* obj6
= 0 ;
43606 PyObject
* obj7
= 0 ;
43607 char * kwnames
[] = {
43608 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43613 if (!SWIG_IsOK(res1
)) {
43614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
43616 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43618 if (!SWIG_IsOK(res2
)) {
43619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43621 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43624 if (!SWIG_IsOK(ecode3
)) {
43625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
43627 arg3
= static_cast< int >(val3
);
43632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43642 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43643 if (!SWIG_IsOK(ecode6
)) {
43644 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
43646 arg6
= static_cast< long >(val6
);
43649 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43650 if (!SWIG_IsOK(res7
)) {
43651 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43656 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43660 arg8
= wxString_in_helper(obj7
);
43661 if (arg8
== NULL
) SWIG_fail
;
43666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43668 wxPyEndAllowThreads(__tstate
);
43669 if (PyErr_Occurred()) SWIG_fail
;
43672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43688 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43689 PyObject
*resultobj
= 0;
43690 wxControl
*arg1
= (wxControl
*) 0 ;
43691 wxCommandEvent
*arg2
= 0 ;
43696 PyObject
* obj0
= 0 ;
43697 PyObject
* obj1
= 0 ;
43698 char * kwnames
[] = {
43699 (char *) "self",(char *) "event", NULL
43702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43704 if (!SWIG_IsOK(res1
)) {
43705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
43707 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
43709 if (!SWIG_IsOK(res2
)) {
43710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43715 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
43717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43718 (arg1
)->Command(*arg2
);
43719 wxPyEndAllowThreads(__tstate
);
43720 if (PyErr_Occurred()) SWIG_fail
;
43722 resultobj
= SWIG_Py_Void();
43729 SWIGINTERN PyObject
*_wrap_Control_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43730 PyObject
*resultobj
= 0;
43731 wxControl
*arg1
= (wxControl
*) 0 ;
43735 PyObject
*swig_obj
[1] ;
43737 if (!args
) SWIG_fail
;
43738 swig_obj
[0] = args
;
43739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43740 if (!SWIG_IsOK(res1
)) {
43741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabel" "', expected argument " "1"" of type '" "wxControl *""'");
43743 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43746 result
= (arg1
)->GetLabel();
43747 wxPyEndAllowThreads(__tstate
);
43748 if (PyErr_Occurred()) SWIG_fail
;
43752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43763 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43764 PyObject
*resultobj
= 0;
43765 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
43766 SwigValueWrapper
<wxVisualAttributes
> result
;
43769 PyObject
* obj0
= 0 ;
43770 char * kwnames
[] = {
43771 (char *) "variant", NULL
43774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
43776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
43777 if (!SWIG_IsOK(ecode1
)) {
43778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
43780 arg1
= static_cast< wxWindowVariant
>(val1
);
43783 if (!wxPyCheckForApp()) SWIG_fail
;
43784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43785 result
= wxControl::GetClassDefaultAttributes(arg1
);
43786 wxPyEndAllowThreads(__tstate
);
43787 if (PyErr_Occurred()) SWIG_fail
;
43789 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
43796 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43799 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
43800 return SWIG_Py_Void();
43803 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43804 return SWIG_Python_InitShadowInstance(args
);
43807 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43808 PyObject
*resultobj
= 0;
43809 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43810 wxString
*arg2
= 0 ;
43811 PyObject
*arg3
= (PyObject
*) NULL
;
43815 bool temp2
= false ;
43816 PyObject
* obj0
= 0 ;
43817 PyObject
* obj1
= 0 ;
43818 PyObject
* obj2
= 0 ;
43819 char * kwnames
[] = {
43820 (char *) "self",(char *) "item",(char *) "clientData", NULL
43823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43825 if (!SWIG_IsOK(res1
)) {
43826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43828 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43830 arg2
= wxString_in_helper(obj1
);
43831 if (arg2
== NULL
) SWIG_fail
;
43838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43839 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
43840 wxPyEndAllowThreads(__tstate
);
43841 if (PyErr_Occurred()) SWIG_fail
;
43843 resultobj
= SWIG_From_int(static_cast< int >(result
));
43858 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43859 PyObject
*resultobj
= 0;
43860 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43861 wxArrayString
*arg2
= 0 ;
43864 bool temp2
= false ;
43865 PyObject
* obj0
= 0 ;
43866 PyObject
* obj1
= 0 ;
43867 char * kwnames
[] = {
43868 (char *) "self",(char *) "strings", NULL
43871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43873 if (!SWIG_IsOK(res1
)) {
43874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43876 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43878 if (! PySequence_Check(obj1
)) {
43879 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
43882 arg2
= new wxArrayString
;
43884 int i
, len
=PySequence_Length(obj1
);
43885 for (i
=0; i
<len
; i
++) {
43886 PyObject
* item
= PySequence_GetItem(obj1
, i
);
43887 wxString
* s
= wxString_in_helper(item
);
43888 if (PyErr_Occurred()) SWIG_fail
;
43895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43896 (arg1
)->Append((wxArrayString
const &)*arg2
);
43897 wxPyEndAllowThreads(__tstate
);
43898 if (PyErr_Occurred()) SWIG_fail
;
43900 resultobj
= SWIG_Py_Void();
43902 if (temp2
) delete arg2
;
43907 if (temp2
) delete arg2
;
43913 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43914 PyObject
*resultobj
= 0;
43915 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43916 wxString
*arg2
= 0 ;
43917 unsigned int arg3
;
43918 PyObject
*arg4
= (PyObject
*) NULL
;
43922 bool temp2
= false ;
43923 unsigned int val3
;
43925 PyObject
* obj0
= 0 ;
43926 PyObject
* obj1
= 0 ;
43927 PyObject
* obj2
= 0 ;
43928 PyObject
* obj3
= 0 ;
43929 char * kwnames
[] = {
43930 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
43933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43935 if (!SWIG_IsOK(res1
)) {
43936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43938 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43940 arg2
= wxString_in_helper(obj1
);
43941 if (arg2
== NULL
) SWIG_fail
;
43944 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
43945 if (!SWIG_IsOK(ecode3
)) {
43946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "unsigned int""'");
43948 arg3
= static_cast< unsigned int >(val3
);
43953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43954 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
43955 wxPyEndAllowThreads(__tstate
);
43956 if (PyErr_Occurred()) SWIG_fail
;
43958 resultobj
= SWIG_From_int(static_cast< int >(result
));
43973 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43974 PyObject
*resultobj
= 0;
43975 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43978 PyObject
*swig_obj
[1] ;
43980 if (!args
) SWIG_fail
;
43981 swig_obj
[0] = args
;
43982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43983 if (!SWIG_IsOK(res1
)) {
43984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43986 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43990 wxPyEndAllowThreads(__tstate
);
43991 if (PyErr_Occurred()) SWIG_fail
;
43993 resultobj
= SWIG_Py_Void();
44000 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44001 PyObject
*resultobj
= 0;
44002 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44003 unsigned int arg2
;
44006 unsigned int val2
;
44008 PyObject
* obj0
= 0 ;
44009 PyObject
* obj1
= 0 ;
44010 char * kwnames
[] = {
44011 (char *) "self",(char *) "n", NULL
44014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44016 if (!SWIG_IsOK(res1
)) {
44017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44019 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44020 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44021 if (!SWIG_IsOK(ecode2
)) {
44022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "unsigned int""'");
44024 arg2
= static_cast< unsigned int >(val2
);
44026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44027 (arg1
)->Delete(arg2
);
44028 wxPyEndAllowThreads(__tstate
);
44029 if (PyErr_Occurred()) SWIG_fail
;
44031 resultobj
= SWIG_Py_Void();
44038 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44039 PyObject
*resultobj
= 0;
44040 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44041 unsigned int arg2
;
44042 PyObject
*result
= 0 ;
44045 unsigned int val2
;
44047 PyObject
* obj0
= 0 ;
44048 PyObject
* obj1
= 0 ;
44049 char * kwnames
[] = {
44050 (char *) "self",(char *) "n", NULL
44053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44055 if (!SWIG_IsOK(res1
)) {
44056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44058 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44059 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44060 if (!SWIG_IsOK(ecode2
)) {
44061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44063 arg2
= static_cast< unsigned int >(val2
);
44065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44066 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
44067 wxPyEndAllowThreads(__tstate
);
44068 if (PyErr_Occurred()) SWIG_fail
;
44070 resultobj
= result
;
44077 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44078 PyObject
*resultobj
= 0;
44079 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44080 unsigned int arg2
;
44081 PyObject
*arg3
= (PyObject
*) 0 ;
44084 unsigned int val2
;
44086 PyObject
* obj0
= 0 ;
44087 PyObject
* obj1
= 0 ;
44088 PyObject
* obj2
= 0 ;
44089 char * kwnames
[] = {
44090 (char *) "self",(char *) "n",(char *) "clientData", NULL
44093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44095 if (!SWIG_IsOK(res1
)) {
44096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44098 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44099 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44100 if (!SWIG_IsOK(ecode2
)) {
44101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44103 arg2
= static_cast< unsigned int >(val2
);
44106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44107 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
44108 wxPyEndAllowThreads(__tstate
);
44109 if (PyErr_Occurred()) SWIG_fail
;
44111 resultobj
= SWIG_Py_Void();
44118 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44119 PyObject
*resultobj
= 0;
44120 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44121 unsigned int result
;
44124 PyObject
*swig_obj
[1] ;
44126 if (!args
) SWIG_fail
;
44127 swig_obj
[0] = args
;
44128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44129 if (!SWIG_IsOK(res1
)) {
44130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44132 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44135 result
= (unsigned int)((wxItemContainer
const *)arg1
)->GetCount();
44136 wxPyEndAllowThreads(__tstate
);
44137 if (PyErr_Occurred()) SWIG_fail
;
44139 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44146 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44147 PyObject
*resultobj
= 0;
44148 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44152 PyObject
*swig_obj
[1] ;
44154 if (!args
) SWIG_fail
;
44155 swig_obj
[0] = args
;
44156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44157 if (!SWIG_IsOK(res1
)) {
44158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44160 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44163 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
44164 wxPyEndAllowThreads(__tstate
);
44165 if (PyErr_Occurred()) SWIG_fail
;
44168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44176 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44177 PyObject
*resultobj
= 0;
44178 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44179 unsigned int arg2
;
44183 unsigned int val2
;
44185 PyObject
* obj0
= 0 ;
44186 PyObject
* obj1
= 0 ;
44187 char * kwnames
[] = {
44188 (char *) "self",(char *) "n", NULL
44191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44193 if (!SWIG_IsOK(res1
)) {
44194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44196 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44197 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44198 if (!SWIG_IsOK(ecode2
)) {
44199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "unsigned int""'");
44201 arg2
= static_cast< unsigned int >(val2
);
44203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44204 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
44205 wxPyEndAllowThreads(__tstate
);
44206 if (PyErr_Occurred()) SWIG_fail
;
44210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44221 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44222 PyObject
*resultobj
= 0;
44223 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44224 wxArrayString result
;
44227 PyObject
*swig_obj
[1] ;
44229 if (!args
) SWIG_fail
;
44230 swig_obj
[0] = args
;
44231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44232 if (!SWIG_IsOK(res1
)) {
44233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44235 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44238 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
44239 wxPyEndAllowThreads(__tstate
);
44240 if (PyErr_Occurred()) SWIG_fail
;
44243 resultobj
= wxArrayString2PyList_helper(result
);
44251 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44252 PyObject
*resultobj
= 0;
44253 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44254 unsigned int arg2
;
44255 wxString
*arg3
= 0 ;
44258 unsigned int val2
;
44260 bool temp3
= false ;
44261 PyObject
* obj0
= 0 ;
44262 PyObject
* obj1
= 0 ;
44263 PyObject
* obj2
= 0 ;
44264 char * kwnames
[] = {
44265 (char *) "self",(char *) "n",(char *) "s", NULL
44268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44270 if (!SWIG_IsOK(res1
)) {
44271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44273 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44274 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44275 if (!SWIG_IsOK(ecode2
)) {
44276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "unsigned int""'");
44278 arg2
= static_cast< unsigned int >(val2
);
44280 arg3
= wxString_in_helper(obj2
);
44281 if (arg3
== NULL
) SWIG_fail
;
44285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44286 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
44287 wxPyEndAllowThreads(__tstate
);
44288 if (PyErr_Occurred()) SWIG_fail
;
44290 resultobj
= SWIG_Py_Void();
44305 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44306 PyObject
*resultobj
= 0;
44307 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44308 wxString
*arg2
= 0 ;
44312 bool temp2
= false ;
44313 PyObject
* obj0
= 0 ;
44314 PyObject
* obj1
= 0 ;
44315 char * kwnames
[] = {
44316 (char *) "self",(char *) "s", NULL
44319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44321 if (!SWIG_IsOK(res1
)) {
44322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44324 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44326 arg2
= wxString_in_helper(obj1
);
44327 if (arg2
== NULL
) SWIG_fail
;
44331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44332 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
44333 wxPyEndAllowThreads(__tstate
);
44334 if (PyErr_Occurred()) SWIG_fail
;
44336 resultobj
= SWIG_From_int(static_cast< int >(result
));
44351 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44352 PyObject
*resultobj
= 0;
44353 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44359 PyObject
* obj0
= 0 ;
44360 PyObject
* obj1
= 0 ;
44361 char * kwnames
[] = {
44362 (char *) "self",(char *) "n", NULL
44365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44367 if (!SWIG_IsOK(res1
)) {
44368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44370 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44372 if (!SWIG_IsOK(ecode2
)) {
44373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
44375 arg2
= static_cast< int >(val2
);
44377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44378 (arg1
)->SetSelection(arg2
);
44379 wxPyEndAllowThreads(__tstate
);
44380 if (PyErr_Occurred()) SWIG_fail
;
44382 resultobj
= SWIG_Py_Void();
44389 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44390 PyObject
*resultobj
= 0;
44391 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44395 PyObject
*swig_obj
[1] ;
44397 if (!args
) SWIG_fail
;
44398 swig_obj
[0] = args
;
44399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44400 if (!SWIG_IsOK(res1
)) {
44401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44403 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44406 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
44407 wxPyEndAllowThreads(__tstate
);
44408 if (PyErr_Occurred()) SWIG_fail
;
44410 resultobj
= SWIG_From_int(static_cast< int >(result
));
44417 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44418 PyObject
*resultobj
= 0;
44419 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44420 wxString
*arg2
= 0 ;
44424 bool temp2
= false ;
44425 PyObject
* obj0
= 0 ;
44426 PyObject
* obj1
= 0 ;
44427 char * kwnames
[] = {
44428 (char *) "self",(char *) "s", NULL
44431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44433 if (!SWIG_IsOK(res1
)) {
44434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44436 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44438 arg2
= wxString_in_helper(obj1
);
44439 if (arg2
== NULL
) SWIG_fail
;
44443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44444 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
44445 wxPyEndAllowThreads(__tstate
);
44446 if (PyErr_Occurred()) SWIG_fail
;
44449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44465 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44466 PyObject
*resultobj
= 0;
44467 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44471 PyObject
*swig_obj
[1] ;
44473 if (!args
) SWIG_fail
;
44474 swig_obj
[0] = args
;
44475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44476 if (!SWIG_IsOK(res1
)) {
44477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44479 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44482 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
44483 wxPyEndAllowThreads(__tstate
);
44484 if (PyErr_Occurred()) SWIG_fail
;
44488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44499 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44500 PyObject
*resultobj
= 0;
44501 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44507 PyObject
* obj0
= 0 ;
44508 PyObject
* obj1
= 0 ;
44509 char * kwnames
[] = {
44510 (char *) "self",(char *) "n", NULL
44513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44515 if (!SWIG_IsOK(res1
)) {
44516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44518 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44520 if (!SWIG_IsOK(ecode2
)) {
44521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
44523 arg2
= static_cast< int >(val2
);
44525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44526 (arg1
)->Select(arg2
);
44527 wxPyEndAllowThreads(__tstate
);
44528 if (PyErr_Occurred()) SWIG_fail
;
44530 resultobj
= SWIG_Py_Void();
44537 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44540 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
44541 return SWIG_Py_Void();
44544 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44547 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
44548 return SWIG_Py_Void();
44551 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44552 PyObject
*resultobj
= 0;
44553 wxSizerItem
*result
= 0 ;
44555 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
44557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44558 result
= (wxSizerItem
*)new wxSizerItem();
44559 wxPyEndAllowThreads(__tstate
);
44560 if (PyErr_Occurred()) SWIG_fail
;
44562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
44569 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44570 PyObject
*resultobj
= 0;
44571 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44574 PyObject
*swig_obj
[1] ;
44576 if (!args
) SWIG_fail
;
44577 swig_obj
[0] = args
;
44578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
44579 if (!SWIG_IsOK(res1
)) {
44580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44582 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44587 wxPyEndAllowThreads(__tstate
);
44588 if (PyErr_Occurred()) SWIG_fail
;
44590 resultobj
= SWIG_Py_Void();
44597 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44598 PyObject
*resultobj
= 0;
44599 wxWindow
*arg1
= (wxWindow
*) 0 ;
44603 PyObject
*arg5
= (PyObject
*) NULL
;
44604 wxSizerItem
*result
= 0 ;
44613 PyObject
* obj0
= 0 ;
44614 PyObject
* obj1
= 0 ;
44615 PyObject
* obj2
= 0 ;
44616 PyObject
* obj3
= 0 ;
44617 PyObject
* obj4
= 0 ;
44618 char * kwnames
[] = {
44619 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44624 if (!SWIG_IsOK(res1
)) {
44625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
44627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44629 if (!SWIG_IsOK(ecode2
)) {
44630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
44632 arg2
= static_cast< int >(val2
);
44633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44634 if (!SWIG_IsOK(ecode3
)) {
44635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
44637 arg3
= static_cast< int >(val3
);
44638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44639 if (!SWIG_IsOK(ecode4
)) {
44640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
44642 arg4
= static_cast< int >(val4
);
44647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44648 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44649 wxPyEndAllowThreads(__tstate
);
44650 if (PyErr_Occurred()) SWIG_fail
;
44652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44659 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44660 PyObject
*resultobj
= 0;
44666 PyObject
*arg6
= (PyObject
*) NULL
;
44667 wxSizerItem
*result
= 0 ;
44678 PyObject
* obj0
= 0 ;
44679 PyObject
* obj1
= 0 ;
44680 PyObject
* obj2
= 0 ;
44681 PyObject
* obj3
= 0 ;
44682 PyObject
* obj4
= 0 ;
44683 PyObject
* obj5
= 0 ;
44684 char * kwnames
[] = {
44685 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
44689 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44690 if (!SWIG_IsOK(ecode1
)) {
44691 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
44693 arg1
= static_cast< int >(val1
);
44694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44695 if (!SWIG_IsOK(ecode2
)) {
44696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
44698 arg2
= static_cast< int >(val2
);
44699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44700 if (!SWIG_IsOK(ecode3
)) {
44701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
44703 arg3
= static_cast< int >(val3
);
44704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44705 if (!SWIG_IsOK(ecode4
)) {
44706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
44708 arg4
= static_cast< int >(val4
);
44709 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
44710 if (!SWIG_IsOK(ecode5
)) {
44711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
44713 arg5
= static_cast< int >(val5
);
44718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44719 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
44720 wxPyEndAllowThreads(__tstate
);
44721 if (PyErr_Occurred()) SWIG_fail
;
44723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44730 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44731 PyObject
*resultobj
= 0;
44732 wxSizer
*arg1
= (wxSizer
*) 0 ;
44736 PyObject
*arg5
= (PyObject
*) NULL
;
44737 wxSizerItem
*result
= 0 ;
44745 PyObject
* obj0
= 0 ;
44746 PyObject
* obj1
= 0 ;
44747 PyObject
* obj2
= 0 ;
44748 PyObject
* obj3
= 0 ;
44749 PyObject
* obj4
= 0 ;
44750 char * kwnames
[] = {
44751 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44755 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
44756 if (!SWIG_IsOK(res1
)) {
44757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
44759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44760 if (!SWIG_IsOK(ecode2
)) {
44761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
44763 arg2
= static_cast< int >(val2
);
44764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44765 if (!SWIG_IsOK(ecode3
)) {
44766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
44768 arg3
= static_cast< int >(val3
);
44769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44770 if (!SWIG_IsOK(ecode4
)) {
44771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
44773 arg4
= static_cast< int >(val4
);
44778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44779 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44780 wxPyEndAllowThreads(__tstate
);
44781 if (PyErr_Occurred()) SWIG_fail
;
44783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44790 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44791 PyObject
*resultobj
= 0;
44792 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44795 PyObject
*swig_obj
[1] ;
44797 if (!args
) SWIG_fail
;
44798 swig_obj
[0] = args
;
44799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44800 if (!SWIG_IsOK(res1
)) {
44801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44803 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44806 (arg1
)->DeleteWindows();
44807 wxPyEndAllowThreads(__tstate
);
44808 if (PyErr_Occurred()) SWIG_fail
;
44810 resultobj
= SWIG_Py_Void();
44817 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44818 PyObject
*resultobj
= 0;
44819 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44822 PyObject
*swig_obj
[1] ;
44824 if (!args
) SWIG_fail
;
44825 swig_obj
[0] = args
;
44826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44827 if (!SWIG_IsOK(res1
)) {
44828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44830 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44833 (arg1
)->DetachSizer();
44834 wxPyEndAllowThreads(__tstate
);
44835 if (PyErr_Occurred()) SWIG_fail
;
44837 resultobj
= SWIG_Py_Void();
44844 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44845 PyObject
*resultobj
= 0;
44846 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44850 PyObject
*swig_obj
[1] ;
44852 if (!args
) SWIG_fail
;
44853 swig_obj
[0] = args
;
44854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44855 if (!SWIG_IsOK(res1
)) {
44856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44858 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44861 result
= (arg1
)->GetSize();
44862 wxPyEndAllowThreads(__tstate
);
44863 if (PyErr_Occurred()) SWIG_fail
;
44865 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44872 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44873 PyObject
*resultobj
= 0;
44874 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44878 PyObject
*swig_obj
[1] ;
44880 if (!args
) SWIG_fail
;
44881 swig_obj
[0] = args
;
44882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44883 if (!SWIG_IsOK(res1
)) {
44884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44886 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44889 result
= (arg1
)->CalcMin();
44890 wxPyEndAllowThreads(__tstate
);
44891 if (PyErr_Occurred()) SWIG_fail
;
44893 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44900 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44901 PyObject
*resultobj
= 0;
44902 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44903 wxPoint
*arg2
= 0 ;
44909 PyObject
* obj0
= 0 ;
44910 PyObject
* obj1
= 0 ;
44911 PyObject
* obj2
= 0 ;
44912 char * kwnames
[] = {
44913 (char *) "self",(char *) "pos",(char *) "size", NULL
44916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44918 if (!SWIG_IsOK(res1
)) {
44919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44921 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44924 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44928 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
44931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44932 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
44933 wxPyEndAllowThreads(__tstate
);
44934 if (PyErr_Occurred()) SWIG_fail
;
44936 resultobj
= SWIG_Py_Void();
44943 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44944 PyObject
*resultobj
= 0;
44945 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44949 PyObject
*swig_obj
[1] ;
44951 if (!args
) SWIG_fail
;
44952 swig_obj
[0] = args
;
44953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44954 if (!SWIG_IsOK(res1
)) {
44955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44957 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44960 result
= (arg1
)->GetMinSize();
44961 wxPyEndAllowThreads(__tstate
);
44962 if (PyErr_Occurred()) SWIG_fail
;
44964 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44971 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44972 PyObject
*resultobj
= 0;
44973 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44977 PyObject
*swig_obj
[1] ;
44979 if (!args
) SWIG_fail
;
44980 swig_obj
[0] = args
;
44981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44982 if (!SWIG_IsOK(res1
)) {
44983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
44985 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44988 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
44989 wxPyEndAllowThreads(__tstate
);
44990 if (PyErr_Occurred()) SWIG_fail
;
44992 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44999 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45000 PyObject
*resultobj
= 0;
45001 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45010 PyObject
* obj0
= 0 ;
45011 PyObject
* obj1
= 0 ;
45012 PyObject
* obj2
= 0 ;
45013 char * kwnames
[] = {
45014 (char *) "self",(char *) "x",(char *) "y", NULL
45017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45019 if (!SWIG_IsOK(res1
)) {
45020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45022 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45024 if (!SWIG_IsOK(ecode2
)) {
45025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
45027 arg2
= static_cast< int >(val2
);
45028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45029 if (!SWIG_IsOK(ecode3
)) {
45030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
45032 arg3
= static_cast< int >(val3
);
45034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45035 (arg1
)->SetInitSize(arg2
,arg3
);
45036 wxPyEndAllowThreads(__tstate
);
45037 if (PyErr_Occurred()) SWIG_fail
;
45039 resultobj
= SWIG_Py_Void();
45046 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45047 PyObject
*resultobj
= 0;
45048 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45057 PyObject
* obj0
= 0 ;
45058 PyObject
* obj1
= 0 ;
45059 PyObject
* obj2
= 0 ;
45060 char * kwnames
[] = {
45061 (char *) "self",(char *) "width",(char *) "height", NULL
45064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45066 if (!SWIG_IsOK(res1
)) {
45067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45069 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45071 if (!SWIG_IsOK(ecode2
)) {
45072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
45074 arg2
= static_cast< int >(val2
);
45075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45076 if (!SWIG_IsOK(ecode3
)) {
45077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
45079 arg3
= static_cast< int >(val3
);
45081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45082 (arg1
)->SetRatio(arg2
,arg3
);
45083 wxPyEndAllowThreads(__tstate
);
45084 if (PyErr_Occurred()) SWIG_fail
;
45086 resultobj
= SWIG_Py_Void();
45093 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45094 PyObject
*resultobj
= 0;
45095 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45100 PyObject
* obj0
= 0 ;
45101 PyObject
* obj1
= 0 ;
45102 char * kwnames
[] = {
45103 (char *) "self",(char *) "size", NULL
45106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45108 if (!SWIG_IsOK(res1
)) {
45109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45111 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45114 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45118 (arg1
)->SetRatio((wxSize
const &)*arg2
);
45119 wxPyEndAllowThreads(__tstate
);
45120 if (PyErr_Occurred()) SWIG_fail
;
45122 resultobj
= SWIG_Py_Void();
45129 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45130 PyObject
*resultobj
= 0;
45131 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45137 PyObject
* obj0
= 0 ;
45138 PyObject
* obj1
= 0 ;
45139 char * kwnames
[] = {
45140 (char *) "self",(char *) "ratio", NULL
45143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45145 if (!SWIG_IsOK(res1
)) {
45146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45148 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45149 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
45150 if (!SWIG_IsOK(ecode2
)) {
45151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
45153 arg2
= static_cast< float >(val2
);
45155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45156 (arg1
)->SetRatio(arg2
);
45157 wxPyEndAllowThreads(__tstate
);
45158 if (PyErr_Occurred()) SWIG_fail
;
45160 resultobj
= SWIG_Py_Void();
45167 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45168 PyObject
*resultobj
= 0;
45169 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45173 PyObject
*swig_obj
[1] ;
45175 if (!args
) SWIG_fail
;
45176 swig_obj
[0] = args
;
45177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45178 if (!SWIG_IsOK(res1
)) {
45179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45181 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45184 result
= (float)(arg1
)->GetRatio();
45185 wxPyEndAllowThreads(__tstate
);
45186 if (PyErr_Occurred()) SWIG_fail
;
45188 resultobj
= SWIG_From_float(static_cast< float >(result
));
45195 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45196 PyObject
*resultobj
= 0;
45197 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45201 PyObject
*swig_obj
[1] ;
45203 if (!args
) SWIG_fail
;
45204 swig_obj
[0] = args
;
45205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45206 if (!SWIG_IsOK(res1
)) {
45207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45209 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45212 result
= (arg1
)->GetRect();
45213 wxPyEndAllowThreads(__tstate
);
45214 if (PyErr_Occurred()) SWIG_fail
;
45216 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
45223 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45224 PyObject
*resultobj
= 0;
45225 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45229 PyObject
*swig_obj
[1] ;
45231 if (!args
) SWIG_fail
;
45232 swig_obj
[0] = args
;
45233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45234 if (!SWIG_IsOK(res1
)) {
45235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45237 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45240 result
= (bool)(arg1
)->IsWindow();
45241 wxPyEndAllowThreads(__tstate
);
45242 if (PyErr_Occurred()) SWIG_fail
;
45245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45253 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45254 PyObject
*resultobj
= 0;
45255 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45259 PyObject
*swig_obj
[1] ;
45261 if (!args
) SWIG_fail
;
45262 swig_obj
[0] = args
;
45263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45264 if (!SWIG_IsOK(res1
)) {
45265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45267 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45270 result
= (bool)(arg1
)->IsSizer();
45271 wxPyEndAllowThreads(__tstate
);
45272 if (PyErr_Occurred()) SWIG_fail
;
45275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45283 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45284 PyObject
*resultobj
= 0;
45285 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45289 PyObject
*swig_obj
[1] ;
45291 if (!args
) SWIG_fail
;
45292 swig_obj
[0] = args
;
45293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45294 if (!SWIG_IsOK(res1
)) {
45295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45297 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45300 result
= (bool)(arg1
)->IsSpacer();
45301 wxPyEndAllowThreads(__tstate
);
45302 if (PyErr_Occurred()) SWIG_fail
;
45305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45313 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45314 PyObject
*resultobj
= 0;
45315 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45321 PyObject
* obj0
= 0 ;
45322 PyObject
* obj1
= 0 ;
45323 char * kwnames
[] = {
45324 (char *) "self",(char *) "proportion", NULL
45327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45329 if (!SWIG_IsOK(res1
)) {
45330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45332 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45334 if (!SWIG_IsOK(ecode2
)) {
45335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
45337 arg2
= static_cast< int >(val2
);
45339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45340 (arg1
)->SetProportion(arg2
);
45341 wxPyEndAllowThreads(__tstate
);
45342 if (PyErr_Occurred()) SWIG_fail
;
45344 resultobj
= SWIG_Py_Void();
45351 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45352 PyObject
*resultobj
= 0;
45353 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45357 PyObject
*swig_obj
[1] ;
45359 if (!args
) SWIG_fail
;
45360 swig_obj
[0] = args
;
45361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45362 if (!SWIG_IsOK(res1
)) {
45363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45365 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45368 result
= (int)(arg1
)->GetProportion();
45369 wxPyEndAllowThreads(__tstate
);
45370 if (PyErr_Occurred()) SWIG_fail
;
45372 resultobj
= SWIG_From_int(static_cast< int >(result
));
45379 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45380 PyObject
*resultobj
= 0;
45381 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45387 PyObject
* obj0
= 0 ;
45388 PyObject
* obj1
= 0 ;
45389 char * kwnames
[] = {
45390 (char *) "self",(char *) "flag", NULL
45393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45395 if (!SWIG_IsOK(res1
)) {
45396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45398 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45400 if (!SWIG_IsOK(ecode2
)) {
45401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
45403 arg2
= static_cast< int >(val2
);
45405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45406 (arg1
)->SetFlag(arg2
);
45407 wxPyEndAllowThreads(__tstate
);
45408 if (PyErr_Occurred()) SWIG_fail
;
45410 resultobj
= SWIG_Py_Void();
45417 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45418 PyObject
*resultobj
= 0;
45419 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45423 PyObject
*swig_obj
[1] ;
45425 if (!args
) SWIG_fail
;
45426 swig_obj
[0] = args
;
45427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45428 if (!SWIG_IsOK(res1
)) {
45429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45431 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45434 result
= (int)(arg1
)->GetFlag();
45435 wxPyEndAllowThreads(__tstate
);
45436 if (PyErr_Occurred()) SWIG_fail
;
45438 resultobj
= SWIG_From_int(static_cast< int >(result
));
45445 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45446 PyObject
*resultobj
= 0;
45447 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45453 PyObject
* obj0
= 0 ;
45454 PyObject
* obj1
= 0 ;
45455 char * kwnames
[] = {
45456 (char *) "self",(char *) "border", NULL
45459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45461 if (!SWIG_IsOK(res1
)) {
45462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45464 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45466 if (!SWIG_IsOK(ecode2
)) {
45467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
45469 arg2
= static_cast< int >(val2
);
45471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45472 (arg1
)->SetBorder(arg2
);
45473 wxPyEndAllowThreads(__tstate
);
45474 if (PyErr_Occurred()) SWIG_fail
;
45476 resultobj
= SWIG_Py_Void();
45483 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45484 PyObject
*resultobj
= 0;
45485 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45489 PyObject
*swig_obj
[1] ;
45491 if (!args
) SWIG_fail
;
45492 swig_obj
[0] = args
;
45493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45494 if (!SWIG_IsOK(res1
)) {
45495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45497 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45500 result
= (int)(arg1
)->GetBorder();
45501 wxPyEndAllowThreads(__tstate
);
45502 if (PyErr_Occurred()) SWIG_fail
;
45504 resultobj
= SWIG_From_int(static_cast< int >(result
));
45511 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45512 PyObject
*resultobj
= 0;
45513 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45514 wxWindow
*result
= 0 ;
45517 PyObject
*swig_obj
[1] ;
45519 if (!args
) SWIG_fail
;
45520 swig_obj
[0] = args
;
45521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45522 if (!SWIG_IsOK(res1
)) {
45523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45525 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45528 result
= (wxWindow
*)(arg1
)->GetWindow();
45529 wxPyEndAllowThreads(__tstate
);
45530 if (PyErr_Occurred()) SWIG_fail
;
45533 resultobj
= wxPyMake_wxObject(result
, 0);
45541 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45542 PyObject
*resultobj
= 0;
45543 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45544 wxWindow
*arg2
= (wxWindow
*) 0 ;
45549 PyObject
* obj0
= 0 ;
45550 PyObject
* obj1
= 0 ;
45551 char * kwnames
[] = {
45552 (char *) "self",(char *) "window", NULL
45555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45557 if (!SWIG_IsOK(res1
)) {
45558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45560 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45562 if (!SWIG_IsOK(res2
)) {
45563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
45565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45568 (arg1
)->SetWindow(arg2
);
45569 wxPyEndAllowThreads(__tstate
);
45570 if (PyErr_Occurred()) SWIG_fail
;
45572 resultobj
= SWIG_Py_Void();
45579 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45580 PyObject
*resultobj
= 0;
45581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45582 wxSizer
*result
= 0 ;
45585 PyObject
*swig_obj
[1] ;
45587 if (!args
) SWIG_fail
;
45588 swig_obj
[0] = args
;
45589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45590 if (!SWIG_IsOK(res1
)) {
45591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45593 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45596 result
= (wxSizer
*)(arg1
)->GetSizer();
45597 wxPyEndAllowThreads(__tstate
);
45598 if (PyErr_Occurred()) SWIG_fail
;
45601 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45609 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45610 PyObject
*resultobj
= 0;
45611 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45612 wxSizer
*arg2
= (wxSizer
*) 0 ;
45616 PyObject
* obj0
= 0 ;
45617 PyObject
* obj1
= 0 ;
45618 char * kwnames
[] = {
45619 (char *) "self",(char *) "sizer", NULL
45622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45624 if (!SWIG_IsOK(res1
)) {
45625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45627 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45628 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45629 if (!SWIG_IsOK(res2
)) {
45630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
45633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45634 (arg1
)->SetSizer(arg2
);
45635 wxPyEndAllowThreads(__tstate
);
45636 if (PyErr_Occurred()) SWIG_fail
;
45638 resultobj
= SWIG_Py_Void();
45645 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45646 PyObject
*resultobj
= 0;
45647 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45648 wxSize
*result
= 0 ;
45651 PyObject
*swig_obj
[1] ;
45653 if (!args
) SWIG_fail
;
45654 swig_obj
[0] = args
;
45655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45656 if (!SWIG_IsOK(res1
)) {
45657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45659 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45663 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
45664 result
= (wxSize
*) &_result_ref
;
45666 wxPyEndAllowThreads(__tstate
);
45667 if (PyErr_Occurred()) SWIG_fail
;
45669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
45676 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45677 PyObject
*resultobj
= 0;
45678 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45683 PyObject
* obj0
= 0 ;
45684 PyObject
* obj1
= 0 ;
45685 char * kwnames
[] = {
45686 (char *) "self",(char *) "size", NULL
45689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45691 if (!SWIG_IsOK(res1
)) {
45692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45694 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45697 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45701 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
45702 wxPyEndAllowThreads(__tstate
);
45703 if (PyErr_Occurred()) SWIG_fail
;
45705 resultobj
= SWIG_Py_Void();
45712 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45713 PyObject
*resultobj
= 0;
45714 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45720 PyObject
* obj0
= 0 ;
45721 PyObject
* obj1
= 0 ;
45722 char * kwnames
[] = {
45723 (char *) "self",(char *) "show", NULL
45726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45728 if (!SWIG_IsOK(res1
)) {
45729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45731 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45733 if (!SWIG_IsOK(ecode2
)) {
45734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
45736 arg2
= static_cast< bool >(val2
);
45738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45739 (arg1
)->Show(arg2
);
45740 wxPyEndAllowThreads(__tstate
);
45741 if (PyErr_Occurred()) SWIG_fail
;
45743 resultobj
= SWIG_Py_Void();
45750 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45751 PyObject
*resultobj
= 0;
45752 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45756 PyObject
*swig_obj
[1] ;
45758 if (!args
) SWIG_fail
;
45759 swig_obj
[0] = args
;
45760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45761 if (!SWIG_IsOK(res1
)) {
45762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45764 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45767 result
= (bool)(arg1
)->IsShown();
45768 wxPyEndAllowThreads(__tstate
);
45769 if (PyErr_Occurred()) SWIG_fail
;
45772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45780 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45781 PyObject
*resultobj
= 0;
45782 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45786 PyObject
*swig_obj
[1] ;
45788 if (!args
) SWIG_fail
;
45789 swig_obj
[0] = args
;
45790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45791 if (!SWIG_IsOK(res1
)) {
45792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45794 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45797 result
= (arg1
)->GetPosition();
45798 wxPyEndAllowThreads(__tstate
);
45799 if (PyErr_Occurred()) SWIG_fail
;
45801 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
45808 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45809 PyObject
*resultobj
= 0;
45810 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45811 PyObject
*result
= 0 ;
45814 PyObject
*swig_obj
[1] ;
45816 if (!args
) SWIG_fail
;
45817 swig_obj
[0] = args
;
45818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45819 if (!SWIG_IsOK(res1
)) {
45820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45822 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45825 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
45826 wxPyEndAllowThreads(__tstate
);
45827 if (PyErr_Occurred()) SWIG_fail
;
45829 resultobj
= result
;
45836 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45837 PyObject
*resultobj
= 0;
45838 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45839 PyObject
*arg2
= (PyObject
*) 0 ;
45842 PyObject
* obj0
= 0 ;
45843 PyObject
* obj1
= 0 ;
45844 char * kwnames
[] = {
45845 (char *) "self",(char *) "userData", NULL
45848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45850 if (!SWIG_IsOK(res1
)) {
45851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45853 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45857 wxSizerItem_SetUserData(arg1
,arg2
);
45858 wxPyEndAllowThreads(__tstate
);
45859 if (PyErr_Occurred()) SWIG_fail
;
45861 resultobj
= SWIG_Py_Void();
45868 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45871 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
45872 return SWIG_Py_Void();
45875 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45876 return SWIG_Python_InitShadowInstance(args
);
45879 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45880 PyObject
*resultobj
= 0;
45881 wxSizer
*arg1
= (wxSizer
*) 0 ;
45884 PyObject
*swig_obj
[1] ;
45886 if (!args
) SWIG_fail
;
45887 swig_obj
[0] = args
;
45888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45889 if (!SWIG_IsOK(res1
)) {
45890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
45892 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45897 wxPyEndAllowThreads(__tstate
);
45898 if (PyErr_Occurred()) SWIG_fail
;
45900 resultobj
= SWIG_Py_Void();
45907 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45908 PyObject
*resultobj
= 0;
45909 wxSizer
*arg1
= (wxSizer
*) 0 ;
45910 PyObject
*arg2
= (PyObject
*) 0 ;
45913 PyObject
* obj0
= 0 ;
45914 PyObject
* obj1
= 0 ;
45915 char * kwnames
[] = {
45916 (char *) "self",(char *) "_self", NULL
45919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
45921 if (!SWIG_IsOK(res1
)) {
45922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
45924 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45928 wxSizer__setOORInfo(arg1
,arg2
);
45929 wxPyEndAllowThreads(__tstate
);
45930 if (PyErr_Occurred()) SWIG_fail
;
45932 resultobj
= SWIG_Py_Void();
45939 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45940 PyObject
*resultobj
= 0;
45941 wxSizer
*arg1
= (wxSizer
*) 0 ;
45942 PyObject
*arg2
= (PyObject
*) 0 ;
45943 int arg3
= (int) 0 ;
45944 int arg4
= (int) 0 ;
45945 int arg5
= (int) 0 ;
45946 PyObject
*arg6
= (PyObject
*) NULL
;
45947 wxSizerItem
*result
= 0 ;
45956 PyObject
* obj0
= 0 ;
45957 PyObject
* obj1
= 0 ;
45958 PyObject
* obj2
= 0 ;
45959 PyObject
* obj3
= 0 ;
45960 PyObject
* obj4
= 0 ;
45961 PyObject
* obj5
= 0 ;
45962 char * kwnames
[] = {
45963 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
45966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
45967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
45968 if (!SWIG_IsOK(res1
)) {
45969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
45971 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45975 if (!SWIG_IsOK(ecode3
)) {
45976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
45978 arg3
= static_cast< int >(val3
);
45981 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
45982 if (!SWIG_IsOK(ecode4
)) {
45983 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
45985 arg4
= static_cast< int >(val4
);
45988 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
45989 if (!SWIG_IsOK(ecode5
)) {
45990 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
45992 arg5
= static_cast< int >(val5
);
45998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45999 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46000 wxPyEndAllowThreads(__tstate
);
46001 if (PyErr_Occurred()) SWIG_fail
;
46003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46010 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46011 PyObject
*resultobj
= 0;
46012 wxSizer
*arg1
= (wxSizer
*) 0 ;
46014 PyObject
*arg3
= (PyObject
*) 0 ;
46015 int arg4
= (int) 0 ;
46016 int arg5
= (int) 0 ;
46017 int arg6
= (int) 0 ;
46018 PyObject
*arg7
= (PyObject
*) NULL
;
46019 wxSizerItem
*result
= 0 ;
46030 PyObject
* obj0
= 0 ;
46031 PyObject
* obj1
= 0 ;
46032 PyObject
* obj2
= 0 ;
46033 PyObject
* obj3
= 0 ;
46034 PyObject
* obj4
= 0 ;
46035 PyObject
* obj5
= 0 ;
46036 PyObject
* obj6
= 0 ;
46037 char * kwnames
[] = {
46038 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
46042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46043 if (!SWIG_IsOK(res1
)) {
46044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
46046 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46048 if (!SWIG_IsOK(ecode2
)) {
46049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
46051 arg2
= static_cast< int >(val2
);
46054 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46055 if (!SWIG_IsOK(ecode4
)) {
46056 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
46058 arg4
= static_cast< int >(val4
);
46061 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46062 if (!SWIG_IsOK(ecode5
)) {
46063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
46065 arg5
= static_cast< int >(val5
);
46068 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
46069 if (!SWIG_IsOK(ecode6
)) {
46070 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
46072 arg6
= static_cast< int >(val6
);
46078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46079 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
46080 wxPyEndAllowThreads(__tstate
);
46081 if (PyErr_Occurred()) SWIG_fail
;
46083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46090 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46091 PyObject
*resultobj
= 0;
46092 wxSizer
*arg1
= (wxSizer
*) 0 ;
46093 PyObject
*arg2
= (PyObject
*) 0 ;
46094 int arg3
= (int) 0 ;
46095 int arg4
= (int) 0 ;
46096 int arg5
= (int) 0 ;
46097 PyObject
*arg6
= (PyObject
*) NULL
;
46098 wxSizerItem
*result
= 0 ;
46107 PyObject
* obj0
= 0 ;
46108 PyObject
* obj1
= 0 ;
46109 PyObject
* obj2
= 0 ;
46110 PyObject
* obj3
= 0 ;
46111 PyObject
* obj4
= 0 ;
46112 PyObject
* obj5
= 0 ;
46113 char * kwnames
[] = {
46114 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46119 if (!SWIG_IsOK(res1
)) {
46120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
46122 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46126 if (!SWIG_IsOK(ecode3
)) {
46127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
46129 arg3
= static_cast< int >(val3
);
46132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46133 if (!SWIG_IsOK(ecode4
)) {
46134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
46136 arg4
= static_cast< int >(val4
);
46139 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46140 if (!SWIG_IsOK(ecode5
)) {
46141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
46143 arg5
= static_cast< int >(val5
);
46149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46150 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46151 wxPyEndAllowThreads(__tstate
);
46152 if (PyErr_Occurred()) SWIG_fail
;
46154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46161 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46162 PyObject
*resultobj
= 0;
46163 wxSizer
*arg1
= (wxSizer
*) 0 ;
46164 PyObject
*arg2
= (PyObject
*) 0 ;
46168 PyObject
* obj0
= 0 ;
46169 PyObject
* obj1
= 0 ;
46170 char * kwnames
[] = {
46171 (char *) "self",(char *) "item", NULL
46174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46176 if (!SWIG_IsOK(res1
)) {
46177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
46179 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46183 result
= (bool)wxSizer_Remove(arg1
,arg2
);
46184 wxPyEndAllowThreads(__tstate
);
46185 if (PyErr_Occurred()) SWIG_fail
;
46188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46196 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46197 PyObject
*resultobj
= 0;
46198 wxSizer
*arg1
= (wxSizer
*) 0 ;
46199 PyObject
*arg2
= (PyObject
*) 0 ;
46203 PyObject
* obj0
= 0 ;
46204 PyObject
* obj1
= 0 ;
46205 char * kwnames
[] = {
46206 (char *) "self",(char *) "item", NULL
46209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46211 if (!SWIG_IsOK(res1
)) {
46212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
46214 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46218 result
= (bool)wxSizer_Detach(arg1
,arg2
);
46219 wxPyEndAllowThreads(__tstate
);
46220 if (PyErr_Occurred()) SWIG_fail
;
46223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46231 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46232 PyObject
*resultobj
= 0;
46233 wxSizer
*arg1
= (wxSizer
*) 0 ;
46234 PyObject
*arg2
= (PyObject
*) 0 ;
46235 wxSizerItem
*result
= 0 ;
46238 PyObject
* obj0
= 0 ;
46239 PyObject
* obj1
= 0 ;
46240 char * kwnames
[] = {
46241 (char *) "self",(char *) "item", NULL
46244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46246 if (!SWIG_IsOK(res1
)) {
46247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46249 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46253 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
46254 wxPyEndAllowThreads(__tstate
);
46255 if (PyErr_Occurred()) SWIG_fail
;
46257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46264 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46265 PyObject
*resultobj
= 0;
46266 wxSizer
*arg1
= (wxSizer
*) 0 ;
46267 PyObject
*arg2
= (PyObject
*) 0 ;
46272 PyObject
* obj0
= 0 ;
46273 PyObject
* obj1
= 0 ;
46274 PyObject
* obj2
= 0 ;
46275 char * kwnames
[] = {
46276 (char *) "self",(char *) "item",(char *) "size", NULL
46279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46281 if (!SWIG_IsOK(res1
)) {
46282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46284 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46288 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
46291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46292 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
46293 wxPyEndAllowThreads(__tstate
);
46294 if (PyErr_Occurred()) SWIG_fail
;
46296 resultobj
= SWIG_Py_Void();
46303 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46304 PyObject
*resultobj
= 0;
46305 wxSizer
*arg1
= (wxSizer
*) 0 ;
46306 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46307 wxSizerItem
*result
= 0 ;
46311 PyObject
* obj0
= 0 ;
46312 PyObject
* obj1
= 0 ;
46313 char * kwnames
[] = {
46314 (char *) "self",(char *) "item", NULL
46317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46319 if (!SWIG_IsOK(res1
)) {
46320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46322 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46323 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46324 if (!SWIG_IsOK(res2
)) {
46325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46329 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
46330 wxPyEndAllowThreads(__tstate
);
46331 if (PyErr_Occurred()) SWIG_fail
;
46333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46340 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46341 PyObject
*resultobj
= 0;
46342 wxSizer
*arg1
= (wxSizer
*) 0 ;
46344 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
46345 wxSizerItem
*result
= 0 ;
46351 PyObject
* obj0
= 0 ;
46352 PyObject
* obj1
= 0 ;
46353 PyObject
* obj2
= 0 ;
46354 char * kwnames
[] = {
46355 (char *) "self",(char *) "index",(char *) "item", NULL
46358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46360 if (!SWIG_IsOK(res1
)) {
46361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46363 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46364 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
46365 if (!SWIG_IsOK(ecode2
)) {
46366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
46368 arg2
= static_cast< size_t >(val2
);
46369 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46370 if (!SWIG_IsOK(res3
)) {
46371 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
46374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46375 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
46376 wxPyEndAllowThreads(__tstate
);
46377 if (PyErr_Occurred()) SWIG_fail
;
46379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46386 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46387 PyObject
*resultobj
= 0;
46388 wxSizer
*arg1
= (wxSizer
*) 0 ;
46389 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46390 wxSizerItem
*result
= 0 ;
46394 PyObject
* obj0
= 0 ;
46395 PyObject
* obj1
= 0 ;
46396 char * kwnames
[] = {
46397 (char *) "self",(char *) "item", NULL
46400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46402 if (!SWIG_IsOK(res1
)) {
46403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46405 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46406 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46407 if (!SWIG_IsOK(res2
)) {
46408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46412 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
46413 wxPyEndAllowThreads(__tstate
);
46414 if (PyErr_Occurred()) SWIG_fail
;
46416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46423 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46424 PyObject
*resultobj
= 0;
46425 wxSizer
*arg1
= (wxSizer
*) 0 ;
46440 PyObject
* obj0
= 0 ;
46441 PyObject
* obj1
= 0 ;
46442 PyObject
* obj2
= 0 ;
46443 PyObject
* obj3
= 0 ;
46444 PyObject
* obj4
= 0 ;
46445 char * kwnames
[] = {
46446 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
46449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46451 if (!SWIG_IsOK(res1
)) {
46452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
46454 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46456 if (!SWIG_IsOK(ecode2
)) {
46457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
46459 arg2
= static_cast< int >(val2
);
46460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46461 if (!SWIG_IsOK(ecode3
)) {
46462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
46464 arg3
= static_cast< int >(val3
);
46465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46466 if (!SWIG_IsOK(ecode4
)) {
46467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
46469 arg4
= static_cast< int >(val4
);
46470 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46471 if (!SWIG_IsOK(ecode5
)) {
46472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
46474 arg5
= static_cast< int >(val5
);
46476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46477 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
46478 wxPyEndAllowThreads(__tstate
);
46479 if (PyErr_Occurred()) SWIG_fail
;
46481 resultobj
= SWIG_Py_Void();
46488 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46489 PyObject
*resultobj
= 0;
46490 wxSizer
*arg1
= (wxSizer
*) 0 ;
46495 PyObject
* obj0
= 0 ;
46496 PyObject
* obj1
= 0 ;
46497 char * kwnames
[] = {
46498 (char *) "self",(char *) "size", NULL
46501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46503 if (!SWIG_IsOK(res1
)) {
46504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46506 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46513 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
46514 wxPyEndAllowThreads(__tstate
);
46515 if (PyErr_Occurred()) SWIG_fail
;
46517 resultobj
= SWIG_Py_Void();
46524 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46525 PyObject
*resultobj
= 0;
46526 wxSizer
*arg1
= (wxSizer
*) 0 ;
46530 PyObject
*swig_obj
[1] ;
46532 if (!args
) SWIG_fail
;
46533 swig_obj
[0] = args
;
46534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46535 if (!SWIG_IsOK(res1
)) {
46536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46538 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46541 result
= (arg1
)->GetSize();
46542 wxPyEndAllowThreads(__tstate
);
46543 if (PyErr_Occurred()) SWIG_fail
;
46545 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46552 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46553 PyObject
*resultobj
= 0;
46554 wxSizer
*arg1
= (wxSizer
*) 0 ;
46558 PyObject
*swig_obj
[1] ;
46560 if (!args
) SWIG_fail
;
46561 swig_obj
[0] = args
;
46562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46563 if (!SWIG_IsOK(res1
)) {
46564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
46566 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46569 result
= (arg1
)->GetPosition();
46570 wxPyEndAllowThreads(__tstate
);
46571 if (PyErr_Occurred()) SWIG_fail
;
46573 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
46580 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46581 PyObject
*resultobj
= 0;
46582 wxSizer
*arg1
= (wxSizer
*) 0 ;
46586 PyObject
*swig_obj
[1] ;
46588 if (!args
) SWIG_fail
;
46589 swig_obj
[0] = args
;
46590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46591 if (!SWIG_IsOK(res1
)) {
46592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46594 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46597 result
= (arg1
)->GetMinSize();
46598 wxPyEndAllowThreads(__tstate
);
46599 if (PyErr_Occurred()) SWIG_fail
;
46601 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46608 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46609 PyObject
*resultobj
= 0;
46610 wxSizer
*arg1
= (wxSizer
*) 0 ;
46613 PyObject
*swig_obj
[1] ;
46615 if (!args
) SWIG_fail
;
46616 swig_obj
[0] = args
;
46617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46618 if (!SWIG_IsOK(res1
)) {
46619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
46621 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46624 (arg1
)->RecalcSizes();
46625 wxPyEndAllowThreads(__tstate
);
46626 if (PyErr_Occurred()) SWIG_fail
;
46628 resultobj
= SWIG_Py_Void();
46635 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46636 PyObject
*resultobj
= 0;
46637 wxSizer
*arg1
= (wxSizer
*) 0 ;
46641 PyObject
*swig_obj
[1] ;
46643 if (!args
) SWIG_fail
;
46644 swig_obj
[0] = args
;
46645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46646 if (!SWIG_IsOK(res1
)) {
46647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
46649 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46652 result
= (arg1
)->CalcMin();
46653 wxPyEndAllowThreads(__tstate
);
46654 if (PyErr_Occurred()) SWIG_fail
;
46656 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46663 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46664 PyObject
*resultobj
= 0;
46665 wxSizer
*arg1
= (wxSizer
*) 0 ;
46668 PyObject
*swig_obj
[1] ;
46670 if (!args
) SWIG_fail
;
46671 swig_obj
[0] = args
;
46672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46673 if (!SWIG_IsOK(res1
)) {
46674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
46676 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46680 wxPyEndAllowThreads(__tstate
);
46681 if (PyErr_Occurred()) SWIG_fail
;
46683 resultobj
= SWIG_Py_Void();
46690 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46691 PyObject
*resultobj
= 0;
46692 wxSizer
*arg1
= (wxSizer
*) 0 ;
46693 wxWindow
*arg2
= (wxWindow
*) 0 ;
46699 PyObject
* obj0
= 0 ;
46700 PyObject
* obj1
= 0 ;
46701 char * kwnames
[] = {
46702 (char *) "self",(char *) "window", NULL
46705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46707 if (!SWIG_IsOK(res1
)) {
46708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
46710 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46712 if (!SWIG_IsOK(res2
)) {
46713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
46715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46718 result
= (arg1
)->Fit(arg2
);
46719 wxPyEndAllowThreads(__tstate
);
46720 if (PyErr_Occurred()) SWIG_fail
;
46722 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46729 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46730 PyObject
*resultobj
= 0;
46731 wxSizer
*arg1
= (wxSizer
*) 0 ;
46732 wxWindow
*arg2
= (wxWindow
*) 0 ;
46737 PyObject
* obj0
= 0 ;
46738 PyObject
* obj1
= 0 ;
46739 char * kwnames
[] = {
46740 (char *) "self",(char *) "window", NULL
46743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46745 if (!SWIG_IsOK(res1
)) {
46746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
46748 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46750 if (!SWIG_IsOK(res2
)) {
46751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
46753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46756 (arg1
)->FitInside(arg2
);
46757 wxPyEndAllowThreads(__tstate
);
46758 if (PyErr_Occurred()) SWIG_fail
;
46760 resultobj
= SWIG_Py_Void();
46767 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46768 PyObject
*resultobj
= 0;
46769 wxSizer
*arg1
= (wxSizer
*) 0 ;
46770 wxWindow
*arg2
= (wxWindow
*) 0 ;
46775 PyObject
* obj0
= 0 ;
46776 PyObject
* obj1
= 0 ;
46777 char * kwnames
[] = {
46778 (char *) "self",(char *) "window", NULL
46781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46783 if (!SWIG_IsOK(res1
)) {
46784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46786 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46788 if (!SWIG_IsOK(res2
)) {
46789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46791 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46794 (arg1
)->SetSizeHints(arg2
);
46795 wxPyEndAllowThreads(__tstate
);
46796 if (PyErr_Occurred()) SWIG_fail
;
46798 resultobj
= SWIG_Py_Void();
46805 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46806 PyObject
*resultobj
= 0;
46807 wxSizer
*arg1
= (wxSizer
*) 0 ;
46808 wxWindow
*arg2
= (wxWindow
*) 0 ;
46813 PyObject
* obj0
= 0 ;
46814 PyObject
* obj1
= 0 ;
46815 char * kwnames
[] = {
46816 (char *) "self",(char *) "window", NULL
46819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46821 if (!SWIG_IsOK(res1
)) {
46822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46824 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46826 if (!SWIG_IsOK(res2
)) {
46827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46832 (arg1
)->SetVirtualSizeHints(arg2
);
46833 wxPyEndAllowThreads(__tstate
);
46834 if (PyErr_Occurred()) SWIG_fail
;
46836 resultobj
= SWIG_Py_Void();
46843 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46844 PyObject
*resultobj
= 0;
46845 wxSizer
*arg1
= (wxSizer
*) 0 ;
46846 bool arg2
= (bool) false ;
46851 PyObject
* obj0
= 0 ;
46852 PyObject
* obj1
= 0 ;
46853 char * kwnames
[] = {
46854 (char *) "self",(char *) "deleteWindows", NULL
46857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46859 if (!SWIG_IsOK(res1
)) {
46860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
46862 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46864 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46865 if (!SWIG_IsOK(ecode2
)) {
46866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
46868 arg2
= static_cast< bool >(val2
);
46871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46872 (arg1
)->Clear(arg2
);
46873 wxPyEndAllowThreads(__tstate
);
46874 if (PyErr_Occurred()) SWIG_fail
;
46876 resultobj
= SWIG_Py_Void();
46883 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46884 PyObject
*resultobj
= 0;
46885 wxSizer
*arg1
= (wxSizer
*) 0 ;
46888 PyObject
*swig_obj
[1] ;
46890 if (!args
) SWIG_fail
;
46891 swig_obj
[0] = args
;
46892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46893 if (!SWIG_IsOK(res1
)) {
46894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
46896 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46899 (arg1
)->DeleteWindows();
46900 wxPyEndAllowThreads(__tstate
);
46901 if (PyErr_Occurred()) SWIG_fail
;
46903 resultobj
= SWIG_Py_Void();
46910 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46911 PyObject
*resultobj
= 0;
46912 wxSizer
*arg1
= (wxSizer
*) 0 ;
46913 PyObject
*result
= 0 ;
46916 PyObject
*swig_obj
[1] ;
46918 if (!args
) SWIG_fail
;
46919 swig_obj
[0] = args
;
46920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46921 if (!SWIG_IsOK(res1
)) {
46922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
46924 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46927 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
46928 wxPyEndAllowThreads(__tstate
);
46929 if (PyErr_Occurred()) SWIG_fail
;
46931 resultobj
= result
;
46938 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46939 PyObject
*resultobj
= 0;
46940 wxSizer
*arg1
= (wxSizer
*) 0 ;
46941 PyObject
*arg2
= (PyObject
*) 0 ;
46942 bool arg3
= (bool) true ;
46943 bool arg4
= (bool) false ;
46951 PyObject
* obj0
= 0 ;
46952 PyObject
* obj1
= 0 ;
46953 PyObject
* obj2
= 0 ;
46954 PyObject
* obj3
= 0 ;
46955 char * kwnames
[] = {
46956 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
46959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
46960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46961 if (!SWIG_IsOK(res1
)) {
46962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
46964 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46967 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46968 if (!SWIG_IsOK(ecode3
)) {
46969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
46971 arg3
= static_cast< bool >(val3
);
46974 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
46975 if (!SWIG_IsOK(ecode4
)) {
46976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
46978 arg4
= static_cast< bool >(val4
);
46981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46982 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
46983 wxPyEndAllowThreads(__tstate
);
46984 if (PyErr_Occurred()) SWIG_fail
;
46987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46995 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46996 PyObject
*resultobj
= 0;
46997 wxSizer
*arg1
= (wxSizer
*) 0 ;
46998 PyObject
*arg2
= (PyObject
*) 0 ;
47002 PyObject
* obj0
= 0 ;
47003 PyObject
* obj1
= 0 ;
47004 char * kwnames
[] = {
47005 (char *) "self",(char *) "item", NULL
47008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47010 if (!SWIG_IsOK(res1
)) {
47011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
47013 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47017 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
47018 wxPyEndAllowThreads(__tstate
);
47019 if (PyErr_Occurred()) SWIG_fail
;
47022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47030 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47031 PyObject
*resultobj
= 0;
47032 wxSizer
*arg1
= (wxSizer
*) 0 ;
47038 PyObject
* obj0
= 0 ;
47039 PyObject
* obj1
= 0 ;
47040 char * kwnames
[] = {
47041 (char *) "self",(char *) "show", NULL
47044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47046 if (!SWIG_IsOK(res1
)) {
47047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
47049 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47050 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47051 if (!SWIG_IsOK(ecode2
)) {
47052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
47054 arg2
= static_cast< bool >(val2
);
47056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47057 (arg1
)->ShowItems(arg2
);
47058 wxPyEndAllowThreads(__tstate
);
47059 if (PyErr_Occurred()) SWIG_fail
;
47061 resultobj
= SWIG_Py_Void();
47068 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47071 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
47072 return SWIG_Py_Void();
47075 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47076 PyObject
*resultobj
= 0;
47077 wxPySizer
*result
= 0 ;
47079 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
47081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47082 result
= (wxPySizer
*)new wxPySizer();
47083 wxPyEndAllowThreads(__tstate
);
47084 if (PyErr_Occurred()) SWIG_fail
;
47086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
47093 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47094 PyObject
*resultobj
= 0;
47095 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
47096 PyObject
*arg2
= (PyObject
*) 0 ;
47097 PyObject
*arg3
= (PyObject
*) 0 ;
47100 PyObject
* obj0
= 0 ;
47101 PyObject
* obj1
= 0 ;
47102 PyObject
* obj2
= 0 ;
47103 char * kwnames
[] = {
47104 (char *) "self",(char *) "self",(char *) "_class", NULL
47107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
47109 if (!SWIG_IsOK(res1
)) {
47110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
47112 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
47116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47117 (arg1
)->_setCallbackInfo(arg2
,arg3
);
47118 wxPyEndAllowThreads(__tstate
);
47119 if (PyErr_Occurred()) SWIG_fail
;
47121 resultobj
= SWIG_Py_Void();
47128 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
47132 return SWIG_Py_Void();
47135 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47136 return SWIG_Python_InitShadowInstance(args
);
47139 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47140 PyObject
*resultobj
= 0;
47141 int arg1
= (int) wxHORIZONTAL
;
47142 wxBoxSizer
*result
= 0 ;
47145 PyObject
* obj0
= 0 ;
47146 char * kwnames
[] = {
47147 (char *) "orient", NULL
47150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
47152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47153 if (!SWIG_IsOK(ecode1
)) {
47154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
47156 arg1
= static_cast< int >(val1
);
47159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47160 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
47161 wxPyEndAllowThreads(__tstate
);
47162 if (PyErr_Occurred()) SWIG_fail
;
47164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
47171 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47172 PyObject
*resultobj
= 0;
47173 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47177 PyObject
*swig_obj
[1] ;
47179 if (!args
) SWIG_fail
;
47180 swig_obj
[0] = args
;
47181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47182 if (!SWIG_IsOK(res1
)) {
47183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47185 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47188 result
= (int)(arg1
)->GetOrientation();
47189 wxPyEndAllowThreads(__tstate
);
47190 if (PyErr_Occurred()) SWIG_fail
;
47192 resultobj
= SWIG_From_int(static_cast< int >(result
));
47199 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47200 PyObject
*resultobj
= 0;
47201 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47207 PyObject
* obj0
= 0 ;
47208 PyObject
* obj1
= 0 ;
47209 char * kwnames
[] = {
47210 (char *) "self",(char *) "orient", NULL
47213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47215 if (!SWIG_IsOK(res1
)) {
47216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47218 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47220 if (!SWIG_IsOK(ecode2
)) {
47221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
47223 arg2
= static_cast< int >(val2
);
47225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47226 (arg1
)->SetOrientation(arg2
);
47227 wxPyEndAllowThreads(__tstate
);
47228 if (PyErr_Occurred()) SWIG_fail
;
47230 resultobj
= SWIG_Py_Void();
47237 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47240 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
47241 return SWIG_Py_Void();
47244 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47245 return SWIG_Python_InitShadowInstance(args
);
47248 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47249 PyObject
*resultobj
= 0;
47250 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
47251 int arg2
= (int) wxHORIZONTAL
;
47252 wxStaticBoxSizer
*result
= 0 ;
47257 PyObject
* obj0
= 0 ;
47258 PyObject
* obj1
= 0 ;
47259 char * kwnames
[] = {
47260 (char *) "box",(char *) "orient", NULL
47263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
47265 if (!SWIG_IsOK(res1
)) {
47266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
47268 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
47270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47271 if (!SWIG_IsOK(ecode2
)) {
47272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
47274 arg2
= static_cast< int >(val2
);
47277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47278 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
47279 wxPyEndAllowThreads(__tstate
);
47280 if (PyErr_Occurred()) SWIG_fail
;
47282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
47289 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47290 PyObject
*resultobj
= 0;
47291 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
47292 wxStaticBox
*result
= 0 ;
47295 PyObject
*swig_obj
[1] ;
47297 if (!args
) SWIG_fail
;
47298 swig_obj
[0] = args
;
47299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
47300 if (!SWIG_IsOK(res1
)) {
47301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
47303 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
47305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47306 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
47307 wxPyEndAllowThreads(__tstate
);
47308 if (PyErr_Occurred()) SWIG_fail
;
47311 resultobj
= wxPyMake_wxObject(result
, (bool)0);
47319 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47322 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
47323 return SWIG_Py_Void();
47326 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47327 return SWIG_Python_InitShadowInstance(args
);
47330 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47331 PyObject
*resultobj
= 0;
47332 int arg1
= (int) 1 ;
47333 int arg2
= (int) 0 ;
47334 int arg3
= (int) 0 ;
47335 int arg4
= (int) 0 ;
47336 wxGridSizer
*result
= 0 ;
47345 PyObject
* obj0
= 0 ;
47346 PyObject
* obj1
= 0 ;
47347 PyObject
* obj2
= 0 ;
47348 PyObject
* obj3
= 0 ;
47349 char * kwnames
[] = {
47350 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47355 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47356 if (!SWIG_IsOK(ecode1
)) {
47357 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
47359 arg1
= static_cast< int >(val1
);
47362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47363 if (!SWIG_IsOK(ecode2
)) {
47364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
47366 arg2
= static_cast< int >(val2
);
47369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47370 if (!SWIG_IsOK(ecode3
)) {
47371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
47373 arg3
= static_cast< int >(val3
);
47376 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47377 if (!SWIG_IsOK(ecode4
)) {
47378 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
47380 arg4
= static_cast< int >(val4
);
47383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47384 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
47385 wxPyEndAllowThreads(__tstate
);
47386 if (PyErr_Occurred()) SWIG_fail
;
47388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
47395 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47396 PyObject
*resultobj
= 0;
47397 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47403 PyObject
* obj0
= 0 ;
47404 PyObject
* obj1
= 0 ;
47405 char * kwnames
[] = {
47406 (char *) "self",(char *) "cols", NULL
47409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47411 if (!SWIG_IsOK(res1
)) {
47412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47414 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47416 if (!SWIG_IsOK(ecode2
)) {
47417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
47419 arg2
= static_cast< int >(val2
);
47421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47422 (arg1
)->SetCols(arg2
);
47423 wxPyEndAllowThreads(__tstate
);
47424 if (PyErr_Occurred()) SWIG_fail
;
47426 resultobj
= SWIG_Py_Void();
47433 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47434 PyObject
*resultobj
= 0;
47435 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47441 PyObject
* obj0
= 0 ;
47442 PyObject
* obj1
= 0 ;
47443 char * kwnames
[] = {
47444 (char *) "self",(char *) "rows", NULL
47447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47449 if (!SWIG_IsOK(res1
)) {
47450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47452 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47454 if (!SWIG_IsOK(ecode2
)) {
47455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
47457 arg2
= static_cast< int >(val2
);
47459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47460 (arg1
)->SetRows(arg2
);
47461 wxPyEndAllowThreads(__tstate
);
47462 if (PyErr_Occurred()) SWIG_fail
;
47464 resultobj
= SWIG_Py_Void();
47471 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47472 PyObject
*resultobj
= 0;
47473 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47479 PyObject
* obj0
= 0 ;
47480 PyObject
* obj1
= 0 ;
47481 char * kwnames
[] = {
47482 (char *) "self",(char *) "gap", NULL
47485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47487 if (!SWIG_IsOK(res1
)) {
47488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47490 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47492 if (!SWIG_IsOK(ecode2
)) {
47493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
47495 arg2
= static_cast< int >(val2
);
47497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47498 (arg1
)->SetVGap(arg2
);
47499 wxPyEndAllowThreads(__tstate
);
47500 if (PyErr_Occurred()) SWIG_fail
;
47502 resultobj
= SWIG_Py_Void();
47509 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47510 PyObject
*resultobj
= 0;
47511 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47517 PyObject
* obj0
= 0 ;
47518 PyObject
* obj1
= 0 ;
47519 char * kwnames
[] = {
47520 (char *) "self",(char *) "gap", NULL
47523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47525 if (!SWIG_IsOK(res1
)) {
47526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47528 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47530 if (!SWIG_IsOK(ecode2
)) {
47531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
47533 arg2
= static_cast< int >(val2
);
47535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47536 (arg1
)->SetHGap(arg2
);
47537 wxPyEndAllowThreads(__tstate
);
47538 if (PyErr_Occurred()) SWIG_fail
;
47540 resultobj
= SWIG_Py_Void();
47547 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47548 PyObject
*resultobj
= 0;
47549 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47553 PyObject
*swig_obj
[1] ;
47555 if (!args
) SWIG_fail
;
47556 swig_obj
[0] = args
;
47557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47558 if (!SWIG_IsOK(res1
)) {
47559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47561 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47564 result
= (int)(arg1
)->GetCols();
47565 wxPyEndAllowThreads(__tstate
);
47566 if (PyErr_Occurred()) SWIG_fail
;
47568 resultobj
= SWIG_From_int(static_cast< int >(result
));
47575 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47576 PyObject
*resultobj
= 0;
47577 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47581 PyObject
*swig_obj
[1] ;
47583 if (!args
) SWIG_fail
;
47584 swig_obj
[0] = args
;
47585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47586 if (!SWIG_IsOK(res1
)) {
47587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47589 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47592 result
= (int)(arg1
)->GetRows();
47593 wxPyEndAllowThreads(__tstate
);
47594 if (PyErr_Occurred()) SWIG_fail
;
47596 resultobj
= SWIG_From_int(static_cast< int >(result
));
47603 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47604 PyObject
*resultobj
= 0;
47605 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47609 PyObject
*swig_obj
[1] ;
47611 if (!args
) SWIG_fail
;
47612 swig_obj
[0] = args
;
47613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47614 if (!SWIG_IsOK(res1
)) {
47615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47617 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47620 result
= (int)(arg1
)->GetVGap();
47621 wxPyEndAllowThreads(__tstate
);
47622 if (PyErr_Occurred()) SWIG_fail
;
47624 resultobj
= SWIG_From_int(static_cast< int >(result
));
47631 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47632 PyObject
*resultobj
= 0;
47633 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47637 PyObject
*swig_obj
[1] ;
47639 if (!args
) SWIG_fail
;
47640 swig_obj
[0] = args
;
47641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47642 if (!SWIG_IsOK(res1
)) {
47643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47645 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47648 result
= (int)(arg1
)->GetHGap();
47649 wxPyEndAllowThreads(__tstate
);
47650 if (PyErr_Occurred()) SWIG_fail
;
47652 resultobj
= SWIG_From_int(static_cast< int >(result
));
47659 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47662 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
47663 return SWIG_Py_Void();
47666 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47667 return SWIG_Python_InitShadowInstance(args
);
47670 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47671 PyObject
*resultobj
= 0;
47672 int arg1
= (int) 1 ;
47673 int arg2
= (int) 0 ;
47674 int arg3
= (int) 0 ;
47675 int arg4
= (int) 0 ;
47676 wxFlexGridSizer
*result
= 0 ;
47685 PyObject
* obj0
= 0 ;
47686 PyObject
* obj1
= 0 ;
47687 PyObject
* obj2
= 0 ;
47688 PyObject
* obj3
= 0 ;
47689 char * kwnames
[] = {
47690 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47696 if (!SWIG_IsOK(ecode1
)) {
47697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
47699 arg1
= static_cast< int >(val1
);
47702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47703 if (!SWIG_IsOK(ecode2
)) {
47704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
47706 arg2
= static_cast< int >(val2
);
47709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47710 if (!SWIG_IsOK(ecode3
)) {
47711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
47713 arg3
= static_cast< int >(val3
);
47716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47717 if (!SWIG_IsOK(ecode4
)) {
47718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
47720 arg4
= static_cast< int >(val4
);
47723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47724 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
47725 wxPyEndAllowThreads(__tstate
);
47726 if (PyErr_Occurred()) SWIG_fail
;
47728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
47735 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47736 PyObject
*resultobj
= 0;
47737 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47739 int arg3
= (int) 0 ;
47746 PyObject
* obj0
= 0 ;
47747 PyObject
* obj1
= 0 ;
47748 PyObject
* obj2
= 0 ;
47749 char * kwnames
[] = {
47750 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47755 if (!SWIG_IsOK(res1
)) {
47756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47758 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47759 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47760 if (!SWIG_IsOK(ecode2
)) {
47761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47763 arg2
= static_cast< size_t >(val2
);
47765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47766 if (!SWIG_IsOK(ecode3
)) {
47767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
47769 arg3
= static_cast< int >(val3
);
47772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47773 (arg1
)->AddGrowableRow(arg2
,arg3
);
47774 wxPyEndAllowThreads(__tstate
);
47775 if (PyErr_Occurred()) SWIG_fail
;
47777 resultobj
= SWIG_Py_Void();
47784 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47785 PyObject
*resultobj
= 0;
47786 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47792 PyObject
* obj0
= 0 ;
47793 PyObject
* obj1
= 0 ;
47794 char * kwnames
[] = {
47795 (char *) "self",(char *) "idx", NULL
47798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47800 if (!SWIG_IsOK(res1
)) {
47801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47803 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47804 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47805 if (!SWIG_IsOK(ecode2
)) {
47806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47808 arg2
= static_cast< size_t >(val2
);
47810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47811 (arg1
)->RemoveGrowableRow(arg2
);
47812 wxPyEndAllowThreads(__tstate
);
47813 if (PyErr_Occurred()) SWIG_fail
;
47815 resultobj
= SWIG_Py_Void();
47822 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47823 PyObject
*resultobj
= 0;
47824 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47826 int arg3
= (int) 0 ;
47833 PyObject
* obj0
= 0 ;
47834 PyObject
* obj1
= 0 ;
47835 PyObject
* obj2
= 0 ;
47836 char * kwnames
[] = {
47837 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47842 if (!SWIG_IsOK(res1
)) {
47843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47845 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47846 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47847 if (!SWIG_IsOK(ecode2
)) {
47848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47850 arg2
= static_cast< size_t >(val2
);
47852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47853 if (!SWIG_IsOK(ecode3
)) {
47854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
47856 arg3
= static_cast< int >(val3
);
47859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47860 (arg1
)->AddGrowableCol(arg2
,arg3
);
47861 wxPyEndAllowThreads(__tstate
);
47862 if (PyErr_Occurred()) SWIG_fail
;
47864 resultobj
= SWIG_Py_Void();
47871 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47872 PyObject
*resultobj
= 0;
47873 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47879 PyObject
* obj0
= 0 ;
47880 PyObject
* obj1
= 0 ;
47881 char * kwnames
[] = {
47882 (char *) "self",(char *) "idx", NULL
47885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47887 if (!SWIG_IsOK(res1
)) {
47888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47890 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47891 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47892 if (!SWIG_IsOK(ecode2
)) {
47893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47895 arg2
= static_cast< size_t >(val2
);
47897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47898 (arg1
)->RemoveGrowableCol(arg2
);
47899 wxPyEndAllowThreads(__tstate
);
47900 if (PyErr_Occurred()) SWIG_fail
;
47902 resultobj
= SWIG_Py_Void();
47909 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47910 PyObject
*resultobj
= 0;
47911 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47917 PyObject
* obj0
= 0 ;
47918 PyObject
* obj1
= 0 ;
47919 char * kwnames
[] = {
47920 (char *) "self",(char *) "direction", NULL
47923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47925 if (!SWIG_IsOK(res1
)) {
47926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47928 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47930 if (!SWIG_IsOK(ecode2
)) {
47931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
47933 arg2
= static_cast< int >(val2
);
47935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47936 (arg1
)->SetFlexibleDirection(arg2
);
47937 wxPyEndAllowThreads(__tstate
);
47938 if (PyErr_Occurred()) SWIG_fail
;
47940 resultobj
= SWIG_Py_Void();
47947 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47948 PyObject
*resultobj
= 0;
47949 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47953 PyObject
*swig_obj
[1] ;
47955 if (!args
) SWIG_fail
;
47956 swig_obj
[0] = args
;
47957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47958 if (!SWIG_IsOK(res1
)) {
47959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47961 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47964 result
= (int)(arg1
)->GetFlexibleDirection();
47965 wxPyEndAllowThreads(__tstate
);
47966 if (PyErr_Occurred()) SWIG_fail
;
47968 resultobj
= SWIG_From_int(static_cast< int >(result
));
47975 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47976 PyObject
*resultobj
= 0;
47977 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47978 wxFlexSizerGrowMode arg2
;
47983 PyObject
* obj0
= 0 ;
47984 PyObject
* obj1
= 0 ;
47985 char * kwnames
[] = {
47986 (char *) "self",(char *) "mode", NULL
47989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47991 if (!SWIG_IsOK(res1
)) {
47992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47994 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47996 if (!SWIG_IsOK(ecode2
)) {
47997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
47999 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
48001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48002 (arg1
)->SetNonFlexibleGrowMode(arg2
);
48003 wxPyEndAllowThreads(__tstate
);
48004 if (PyErr_Occurred()) SWIG_fail
;
48006 resultobj
= SWIG_Py_Void();
48013 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48014 PyObject
*resultobj
= 0;
48015 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48016 wxFlexSizerGrowMode result
;
48019 PyObject
*swig_obj
[1] ;
48021 if (!args
) SWIG_fail
;
48022 swig_obj
[0] = args
;
48023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48024 if (!SWIG_IsOK(res1
)) {
48025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48027 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48030 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
48031 wxPyEndAllowThreads(__tstate
);
48032 if (PyErr_Occurred()) SWIG_fail
;
48034 resultobj
= SWIG_From_int(static_cast< int >(result
));
48041 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48042 PyObject
*resultobj
= 0;
48043 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48044 wxArrayInt
*result
= 0 ;
48047 PyObject
*swig_obj
[1] ;
48049 if (!args
) SWIG_fail
;
48050 swig_obj
[0] = args
;
48051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48052 if (!SWIG_IsOK(res1
)) {
48053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48055 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48059 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
48060 result
= (wxArrayInt
*) &_result_ref
;
48062 wxPyEndAllowThreads(__tstate
);
48063 if (PyErr_Occurred()) SWIG_fail
;
48066 resultobj
= PyList_New(0);
48068 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48069 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48070 PyList_Append(resultobj
, val
);
48080 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48081 PyObject
*resultobj
= 0;
48082 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48083 wxArrayInt
*result
= 0 ;
48086 PyObject
*swig_obj
[1] ;
48088 if (!args
) SWIG_fail
;
48089 swig_obj
[0] = args
;
48090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48091 if (!SWIG_IsOK(res1
)) {
48092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48094 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48098 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
48099 result
= (wxArrayInt
*) &_result_ref
;
48101 wxPyEndAllowThreads(__tstate
);
48102 if (PyErr_Occurred()) SWIG_fail
;
48105 resultobj
= PyList_New(0);
48107 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48108 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48109 PyList_Append(resultobj
, val
);
48119 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48122 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
48123 return SWIG_Py_Void();
48126 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48127 return SWIG_Python_InitShadowInstance(args
);
48130 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48131 PyObject
*resultobj
= 0;
48132 wxStdDialogButtonSizer
*result
= 0 ;
48134 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
48136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48137 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
48138 wxPyEndAllowThreads(__tstate
);
48139 if (PyErr_Occurred()) SWIG_fail
;
48141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
48148 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48149 PyObject
*resultobj
= 0;
48150 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48151 wxButton
*arg2
= (wxButton
*) 0 ;
48156 PyObject
* obj0
= 0 ;
48157 PyObject
* obj1
= 0 ;
48158 char * kwnames
[] = {
48159 (char *) "self",(char *) "button", NULL
48162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48164 if (!SWIG_IsOK(res1
)) {
48165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48167 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48169 if (!SWIG_IsOK(res2
)) {
48170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
48172 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48175 (arg1
)->AddButton(arg2
);
48176 wxPyEndAllowThreads(__tstate
);
48177 if (PyErr_Occurred()) SWIG_fail
;
48179 resultobj
= SWIG_Py_Void();
48186 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48187 PyObject
*resultobj
= 0;
48188 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48191 PyObject
*swig_obj
[1] ;
48193 if (!args
) SWIG_fail
;
48194 swig_obj
[0] = args
;
48195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48196 if (!SWIG_IsOK(res1
)) {
48197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48199 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48203 wxPyEndAllowThreads(__tstate
);
48204 if (PyErr_Occurred()) SWIG_fail
;
48206 resultobj
= SWIG_Py_Void();
48213 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48214 PyObject
*resultobj
= 0;
48215 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48216 wxButton
*arg2
= (wxButton
*) 0 ;
48221 PyObject
* obj0
= 0 ;
48222 PyObject
* obj1
= 0 ;
48223 char * kwnames
[] = {
48224 (char *) "self",(char *) "button", NULL
48227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48229 if (!SWIG_IsOK(res1
)) {
48230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48232 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48234 if (!SWIG_IsOK(res2
)) {
48235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48237 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48240 (arg1
)->SetAffirmativeButton(arg2
);
48241 wxPyEndAllowThreads(__tstate
);
48242 if (PyErr_Occurred()) SWIG_fail
;
48244 resultobj
= SWIG_Py_Void();
48251 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48252 PyObject
*resultobj
= 0;
48253 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48254 wxButton
*arg2
= (wxButton
*) 0 ;
48259 PyObject
* obj0
= 0 ;
48260 PyObject
* obj1
= 0 ;
48261 char * kwnames
[] = {
48262 (char *) "self",(char *) "button", NULL
48265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48267 if (!SWIG_IsOK(res1
)) {
48268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48270 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48272 if (!SWIG_IsOK(res2
)) {
48273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48275 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48278 (arg1
)->SetNegativeButton(arg2
);
48279 wxPyEndAllowThreads(__tstate
);
48280 if (PyErr_Occurred()) SWIG_fail
;
48282 resultobj
= SWIG_Py_Void();
48289 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48290 PyObject
*resultobj
= 0;
48291 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48292 wxButton
*arg2
= (wxButton
*) 0 ;
48297 PyObject
* obj0
= 0 ;
48298 PyObject
* obj1
= 0 ;
48299 char * kwnames
[] = {
48300 (char *) "self",(char *) "button", NULL
48303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48305 if (!SWIG_IsOK(res1
)) {
48306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48308 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48310 if (!SWIG_IsOK(res2
)) {
48311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
48313 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48316 (arg1
)->SetCancelButton(arg2
);
48317 wxPyEndAllowThreads(__tstate
);
48318 if (PyErr_Occurred()) SWIG_fail
;
48320 resultobj
= SWIG_Py_Void();
48327 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48328 PyObject
*resultobj
= 0;
48329 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48330 wxButton
*result
= 0 ;
48333 PyObject
*swig_obj
[1] ;
48335 if (!args
) SWIG_fail
;
48336 swig_obj
[0] = args
;
48337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48338 if (!SWIG_IsOK(res1
)) {
48339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48341 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48344 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
48345 wxPyEndAllowThreads(__tstate
);
48346 if (PyErr_Occurred()) SWIG_fail
;
48349 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48357 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48358 PyObject
*resultobj
= 0;
48359 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48360 wxButton
*result
= 0 ;
48363 PyObject
*swig_obj
[1] ;
48365 if (!args
) SWIG_fail
;
48366 swig_obj
[0] = args
;
48367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48368 if (!SWIG_IsOK(res1
)) {
48369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48371 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48374 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
48375 wxPyEndAllowThreads(__tstate
);
48376 if (PyErr_Occurred()) SWIG_fail
;
48379 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48387 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48388 PyObject
*resultobj
= 0;
48389 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48390 wxButton
*result
= 0 ;
48393 PyObject
*swig_obj
[1] ;
48395 if (!args
) SWIG_fail
;
48396 swig_obj
[0] = args
;
48397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48398 if (!SWIG_IsOK(res1
)) {
48399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48401 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48404 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
48405 wxPyEndAllowThreads(__tstate
);
48406 if (PyErr_Occurred()) SWIG_fail
;
48409 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48417 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48418 PyObject
*resultobj
= 0;
48419 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48420 wxButton
*result
= 0 ;
48423 PyObject
*swig_obj
[1] ;
48425 if (!args
) SWIG_fail
;
48426 swig_obj
[0] = args
;
48427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48428 if (!SWIG_IsOK(res1
)) {
48429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48431 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48434 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
48435 wxPyEndAllowThreads(__tstate
);
48436 if (PyErr_Occurred()) SWIG_fail
;
48439 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48447 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48448 PyObject
*resultobj
= 0;
48449 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48450 wxButton
*result
= 0 ;
48453 PyObject
*swig_obj
[1] ;
48455 if (!args
) SWIG_fail
;
48456 swig_obj
[0] = args
;
48457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48458 if (!SWIG_IsOK(res1
)) {
48459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48461 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48464 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
48465 wxPyEndAllowThreads(__tstate
);
48466 if (PyErr_Occurred()) SWIG_fail
;
48469 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48477 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48480 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
48481 return SWIG_Py_Void();
48484 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48485 return SWIG_Python_InitShadowInstance(args
);
48488 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48489 PyObject
*resultobj
= 0;
48490 int arg1
= (int) 0 ;
48491 int arg2
= (int) 0 ;
48492 wxGBPosition
*result
= 0 ;
48497 PyObject
* obj0
= 0 ;
48498 PyObject
* obj1
= 0 ;
48499 char * kwnames
[] = {
48500 (char *) "row",(char *) "col", NULL
48503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48505 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48506 if (!SWIG_IsOK(ecode1
)) {
48507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
48509 arg1
= static_cast< int >(val1
);
48512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48513 if (!SWIG_IsOK(ecode2
)) {
48514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
48516 arg2
= static_cast< int >(val2
);
48519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48520 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
48521 wxPyEndAllowThreads(__tstate
);
48522 if (PyErr_Occurred()) SWIG_fail
;
48524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
48531 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48532 PyObject
*resultobj
= 0;
48533 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48536 PyObject
*swig_obj
[1] ;
48538 if (!args
) SWIG_fail
;
48539 swig_obj
[0] = args
;
48540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
48541 if (!SWIG_IsOK(res1
)) {
48542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48544 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48549 wxPyEndAllowThreads(__tstate
);
48550 if (PyErr_Occurred()) SWIG_fail
;
48552 resultobj
= SWIG_Py_Void();
48559 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48560 PyObject
*resultobj
= 0;
48561 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48565 PyObject
*swig_obj
[1] ;
48567 if (!args
) SWIG_fail
;
48568 swig_obj
[0] = args
;
48569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48570 if (!SWIG_IsOK(res1
)) {
48571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48573 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48576 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
48577 wxPyEndAllowThreads(__tstate
);
48578 if (PyErr_Occurred()) SWIG_fail
;
48580 resultobj
= SWIG_From_int(static_cast< int >(result
));
48587 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48588 PyObject
*resultobj
= 0;
48589 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48593 PyObject
*swig_obj
[1] ;
48595 if (!args
) SWIG_fail
;
48596 swig_obj
[0] = args
;
48597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48598 if (!SWIG_IsOK(res1
)) {
48599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48601 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48604 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
48605 wxPyEndAllowThreads(__tstate
);
48606 if (PyErr_Occurred()) SWIG_fail
;
48608 resultobj
= SWIG_From_int(static_cast< int >(result
));
48615 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48616 PyObject
*resultobj
= 0;
48617 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48623 PyObject
* obj0
= 0 ;
48624 PyObject
* obj1
= 0 ;
48625 char * kwnames
[] = {
48626 (char *) "self",(char *) "row", NULL
48629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48631 if (!SWIG_IsOK(res1
)) {
48632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48634 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48636 if (!SWIG_IsOK(ecode2
)) {
48637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
48639 arg2
= static_cast< int >(val2
);
48641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48642 (arg1
)->SetRow(arg2
);
48643 wxPyEndAllowThreads(__tstate
);
48644 if (PyErr_Occurred()) SWIG_fail
;
48646 resultobj
= SWIG_Py_Void();
48653 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48654 PyObject
*resultobj
= 0;
48655 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48661 PyObject
* obj0
= 0 ;
48662 PyObject
* obj1
= 0 ;
48663 char * kwnames
[] = {
48664 (char *) "self",(char *) "col", NULL
48667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48669 if (!SWIG_IsOK(res1
)) {
48670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48672 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48674 if (!SWIG_IsOK(ecode2
)) {
48675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
48677 arg2
= static_cast< int >(val2
);
48679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48680 (arg1
)->SetCol(arg2
);
48681 wxPyEndAllowThreads(__tstate
);
48682 if (PyErr_Occurred()) SWIG_fail
;
48684 resultobj
= SWIG_Py_Void();
48691 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48692 PyObject
*resultobj
= 0;
48693 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48694 wxGBPosition
*arg2
= 0 ;
48698 wxGBPosition temp2
;
48699 PyObject
* obj0
= 0 ;
48700 PyObject
* obj1
= 0 ;
48701 char * kwnames
[] = {
48702 (char *) "self",(char *) "other", NULL
48705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48707 if (!SWIG_IsOK(res1
)) {
48708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48710 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48713 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
48716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48717 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
48718 wxPyEndAllowThreads(__tstate
);
48719 if (PyErr_Occurred()) SWIG_fail
;
48722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48730 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48731 PyObject
*resultobj
= 0;
48732 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48733 wxGBPosition
*arg2
= 0 ;
48737 wxGBPosition temp2
;
48738 PyObject
* obj0
= 0 ;
48739 PyObject
* obj1
= 0 ;
48740 char * kwnames
[] = {
48741 (char *) "self",(char *) "other", NULL
48744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48746 if (!SWIG_IsOK(res1
)) {
48747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48749 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48752 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
48755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48756 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
48757 wxPyEndAllowThreads(__tstate
);
48758 if (PyErr_Occurred()) SWIG_fail
;
48761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48769 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48770 PyObject
*resultobj
= 0;
48771 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48772 int arg2
= (int) 0 ;
48773 int arg3
= (int) 0 ;
48780 PyObject
* obj0
= 0 ;
48781 PyObject
* obj1
= 0 ;
48782 PyObject
* obj2
= 0 ;
48783 char * kwnames
[] = {
48784 (char *) "self",(char *) "row",(char *) "col", NULL
48787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48789 if (!SWIG_IsOK(res1
)) {
48790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48792 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48795 if (!SWIG_IsOK(ecode2
)) {
48796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
48798 arg2
= static_cast< int >(val2
);
48801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48802 if (!SWIG_IsOK(ecode3
)) {
48803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
48805 arg3
= static_cast< int >(val3
);
48808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48809 wxGBPosition_Set(arg1
,arg2
,arg3
);
48810 wxPyEndAllowThreads(__tstate
);
48811 if (PyErr_Occurred()) SWIG_fail
;
48813 resultobj
= SWIG_Py_Void();
48820 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48821 PyObject
*resultobj
= 0;
48822 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48823 PyObject
*result
= 0 ;
48826 PyObject
*swig_obj
[1] ;
48828 if (!args
) SWIG_fail
;
48829 swig_obj
[0] = args
;
48830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48831 if (!SWIG_IsOK(res1
)) {
48832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48834 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48837 result
= (PyObject
*)wxGBPosition_Get(arg1
);
48838 wxPyEndAllowThreads(__tstate
);
48839 if (PyErr_Occurred()) SWIG_fail
;
48841 resultobj
= result
;
48848 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48851 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
48852 return SWIG_Py_Void();
48855 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48856 return SWIG_Python_InitShadowInstance(args
);
48859 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48860 PyObject
*resultobj
= 0;
48861 int arg1
= (int) 1 ;
48862 int arg2
= (int) 1 ;
48863 wxGBSpan
*result
= 0 ;
48868 PyObject
* obj0
= 0 ;
48869 PyObject
* obj1
= 0 ;
48870 char * kwnames
[] = {
48871 (char *) "rowspan",(char *) "colspan", NULL
48874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48876 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48877 if (!SWIG_IsOK(ecode1
)) {
48878 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
48880 arg1
= static_cast< int >(val1
);
48883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48884 if (!SWIG_IsOK(ecode2
)) {
48885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
48887 arg2
= static_cast< int >(val2
);
48890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48891 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
48892 wxPyEndAllowThreads(__tstate
);
48893 if (PyErr_Occurred()) SWIG_fail
;
48895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
48902 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48903 PyObject
*resultobj
= 0;
48904 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48907 PyObject
*swig_obj
[1] ;
48909 if (!args
) SWIG_fail
;
48910 swig_obj
[0] = args
;
48911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
48912 if (!SWIG_IsOK(res1
)) {
48913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
48915 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48920 wxPyEndAllowThreads(__tstate
);
48921 if (PyErr_Occurred()) SWIG_fail
;
48923 resultobj
= SWIG_Py_Void();
48930 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48931 PyObject
*resultobj
= 0;
48932 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48936 PyObject
*swig_obj
[1] ;
48938 if (!args
) SWIG_fail
;
48939 swig_obj
[0] = args
;
48940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
48941 if (!SWIG_IsOK(res1
)) {
48942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
48944 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48947 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
48948 wxPyEndAllowThreads(__tstate
);
48949 if (PyErr_Occurred()) SWIG_fail
;
48951 resultobj
= SWIG_From_int(static_cast< int >(result
));
48958 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48959 PyObject
*resultobj
= 0;
48960 wxGBSpan
*arg1
= (wxGBSpan
*) 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_wxGBSpan
, 0 | 0 );
48969 if (!SWIG_IsOK(res1
)) {
48970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
48972 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48975 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
48976 wxPyEndAllowThreads(__tstate
);
48977 if (PyErr_Occurred()) SWIG_fail
;
48979 resultobj
= SWIG_From_int(static_cast< int >(result
));
48986 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48987 PyObject
*resultobj
= 0;
48988 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48994 PyObject
* obj0
= 0 ;
48995 PyObject
* obj1
= 0 ;
48996 char * kwnames
[] = {
48997 (char *) "self",(char *) "rowspan", NULL
49000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49002 if (!SWIG_IsOK(res1
)) {
49003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49005 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49007 if (!SWIG_IsOK(ecode2
)) {
49008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
49010 arg2
= static_cast< int >(val2
);
49012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49013 (arg1
)->SetRowspan(arg2
);
49014 wxPyEndAllowThreads(__tstate
);
49015 if (PyErr_Occurred()) SWIG_fail
;
49017 resultobj
= SWIG_Py_Void();
49024 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49025 PyObject
*resultobj
= 0;
49026 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49032 PyObject
* obj0
= 0 ;
49033 PyObject
* obj1
= 0 ;
49034 char * kwnames
[] = {
49035 (char *) "self",(char *) "colspan", NULL
49038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49040 if (!SWIG_IsOK(res1
)) {
49041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49043 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49045 if (!SWIG_IsOK(ecode2
)) {
49046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
49048 arg2
= static_cast< int >(val2
);
49050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49051 (arg1
)->SetColspan(arg2
);
49052 wxPyEndAllowThreads(__tstate
);
49053 if (PyErr_Occurred()) SWIG_fail
;
49055 resultobj
= SWIG_Py_Void();
49062 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49063 PyObject
*resultobj
= 0;
49064 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49065 wxGBSpan
*arg2
= 0 ;
49070 PyObject
* obj0
= 0 ;
49071 PyObject
* obj1
= 0 ;
49072 char * kwnames
[] = {
49073 (char *) "self",(char *) "other", NULL
49076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49078 if (!SWIG_IsOK(res1
)) {
49079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49081 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49084 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49088 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
49089 wxPyEndAllowThreads(__tstate
);
49090 if (PyErr_Occurred()) SWIG_fail
;
49093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49101 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49102 PyObject
*resultobj
= 0;
49103 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49104 wxGBSpan
*arg2
= 0 ;
49109 PyObject
* obj0
= 0 ;
49110 PyObject
* obj1
= 0 ;
49111 char * kwnames
[] = {
49112 (char *) "self",(char *) "other", NULL
49115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49117 if (!SWIG_IsOK(res1
)) {
49118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49120 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49123 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49127 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
49128 wxPyEndAllowThreads(__tstate
);
49129 if (PyErr_Occurred()) SWIG_fail
;
49132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49140 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49141 PyObject
*resultobj
= 0;
49142 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49143 int arg2
= (int) 1 ;
49144 int arg3
= (int) 1 ;
49151 PyObject
* obj0
= 0 ;
49152 PyObject
* obj1
= 0 ;
49153 PyObject
* obj2
= 0 ;
49154 char * kwnames
[] = {
49155 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
49158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49160 if (!SWIG_IsOK(res1
)) {
49161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49163 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49166 if (!SWIG_IsOK(ecode2
)) {
49167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
49169 arg2
= static_cast< int >(val2
);
49172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49173 if (!SWIG_IsOK(ecode3
)) {
49174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
49176 arg3
= static_cast< int >(val3
);
49179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49180 wxGBSpan_Set(arg1
,arg2
,arg3
);
49181 wxPyEndAllowThreads(__tstate
);
49182 if (PyErr_Occurred()) SWIG_fail
;
49184 resultobj
= SWIG_Py_Void();
49191 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49192 PyObject
*resultobj
= 0;
49193 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49194 PyObject
*result
= 0 ;
49197 PyObject
*swig_obj
[1] ;
49199 if (!args
) SWIG_fail
;
49200 swig_obj
[0] = args
;
49201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49202 if (!SWIG_IsOK(res1
)) {
49203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49205 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49208 result
= (PyObject
*)wxGBSpan_Get(arg1
);
49209 wxPyEndAllowThreads(__tstate
);
49210 if (PyErr_Occurred()) SWIG_fail
;
49212 resultobj
= result
;
49219 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49222 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
49223 return SWIG_Py_Void();
49226 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49227 return SWIG_Python_InitShadowInstance(args
);
49230 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
49231 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
49236 SWIGINTERN PyObject
*DefaultSpan_get(void) {
49237 PyObject
*pyobj
= 0;
49239 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
49244 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49245 PyObject
*resultobj
= 0;
49246 wxGBSizerItem
*result
= 0 ;
49248 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
49250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49251 result
= (wxGBSizerItem
*)new wxGBSizerItem();
49252 wxPyEndAllowThreads(__tstate
);
49253 if (PyErr_Occurred()) SWIG_fail
;
49255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
49262 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49263 PyObject
*resultobj
= 0;
49264 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49267 PyObject
*swig_obj
[1] ;
49269 if (!args
) SWIG_fail
;
49270 swig_obj
[0] = args
;
49271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49272 if (!SWIG_IsOK(res1
)) {
49273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49275 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49280 wxPyEndAllowThreads(__tstate
);
49281 if (PyErr_Occurred()) SWIG_fail
;
49283 resultobj
= SWIG_Py_Void();
49290 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49291 PyObject
*resultobj
= 0;
49292 wxWindow
*arg1
= (wxWindow
*) 0 ;
49293 wxGBPosition
*arg2
= 0 ;
49294 wxGBSpan
*arg3
= 0 ;
49297 PyObject
*arg6
= (PyObject
*) NULL
;
49298 wxGBSizerItem
*result
= 0 ;
49301 wxGBPosition temp2
;
49307 PyObject
* obj0
= 0 ;
49308 PyObject
* obj1
= 0 ;
49309 PyObject
* obj2
= 0 ;
49310 PyObject
* obj3
= 0 ;
49311 PyObject
* obj4
= 0 ;
49312 PyObject
* obj5
= 0 ;
49313 char * kwnames
[] = {
49314 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49319 if (!SWIG_IsOK(res1
)) {
49320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
49322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
49325 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49329 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49332 if (!SWIG_IsOK(ecode4
)) {
49333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
49335 arg4
= static_cast< int >(val4
);
49336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49337 if (!SWIG_IsOK(ecode5
)) {
49338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
49340 arg5
= static_cast< int >(val5
);
49345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49346 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49347 wxPyEndAllowThreads(__tstate
);
49348 if (PyErr_Occurred()) SWIG_fail
;
49350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49357 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49358 PyObject
*resultobj
= 0;
49359 wxSizer
*arg1
= (wxSizer
*) 0 ;
49360 wxGBPosition
*arg2
= 0 ;
49361 wxGBSpan
*arg3
= 0 ;
49364 PyObject
*arg6
= (PyObject
*) NULL
;
49365 wxGBSizerItem
*result
= 0 ;
49367 wxGBPosition temp2
;
49373 PyObject
* obj0
= 0 ;
49374 PyObject
* obj1
= 0 ;
49375 PyObject
* obj2
= 0 ;
49376 PyObject
* obj3
= 0 ;
49377 PyObject
* obj4
= 0 ;
49378 PyObject
* obj5
= 0 ;
49379 char * kwnames
[] = {
49380 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49384 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49385 if (!SWIG_IsOK(res1
)) {
49386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49390 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49394 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49397 if (!SWIG_IsOK(ecode4
)) {
49398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
49400 arg4
= static_cast< int >(val4
);
49401 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49402 if (!SWIG_IsOK(ecode5
)) {
49403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
49405 arg5
= static_cast< int >(val5
);
49410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49411 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49412 wxPyEndAllowThreads(__tstate
);
49413 if (PyErr_Occurred()) SWIG_fail
;
49415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49422 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49423 PyObject
*resultobj
= 0;
49426 wxGBPosition
*arg3
= 0 ;
49427 wxGBSpan
*arg4
= 0 ;
49430 PyObject
*arg7
= (PyObject
*) NULL
;
49431 wxGBSizerItem
*result
= 0 ;
49436 wxGBPosition temp3
;
49442 PyObject
* obj0
= 0 ;
49443 PyObject
* obj1
= 0 ;
49444 PyObject
* obj2
= 0 ;
49445 PyObject
* obj3
= 0 ;
49446 PyObject
* obj4
= 0 ;
49447 PyObject
* obj5
= 0 ;
49448 PyObject
* obj6
= 0 ;
49449 char * kwnames
[] = {
49450 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49454 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49455 if (!SWIG_IsOK(ecode1
)) {
49456 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
49458 arg1
= static_cast< int >(val1
);
49459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49460 if (!SWIG_IsOK(ecode2
)) {
49461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
49463 arg2
= static_cast< int >(val2
);
49466 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49470 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49472 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49473 if (!SWIG_IsOK(ecode5
)) {
49474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
49476 arg5
= static_cast< int >(val5
);
49477 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49478 if (!SWIG_IsOK(ecode6
)) {
49479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
49481 arg6
= static_cast< int >(val6
);
49486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49487 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49488 wxPyEndAllowThreads(__tstate
);
49489 if (PyErr_Occurred()) SWIG_fail
;
49491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49498 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49499 PyObject
*resultobj
= 0;
49500 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49501 wxGBPosition result
;
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_wxGBSizerItem
, 0 | 0 );
49509 if (!SWIG_IsOK(res1
)) {
49510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49512 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49515 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
49516 wxPyEndAllowThreads(__tstate
);
49517 if (PyErr_Occurred()) SWIG_fail
;
49519 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49526 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49527 PyObject
*resultobj
= 0;
49528 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 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_wxGBSizerItem
, 0 | 0 );
49537 if (!SWIG_IsOK(res1
)) {
49538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49540 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49543 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
49544 wxPyEndAllowThreads(__tstate
);
49545 if (PyErr_Occurred()) SWIG_fail
;
49547 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
49554 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49555 PyObject
*resultobj
= 0;
49556 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49557 wxGBPosition
*arg2
= 0 ;
49561 wxGBPosition temp2
;
49562 PyObject
* obj0
= 0 ;
49563 PyObject
* obj1
= 0 ;
49564 char * kwnames
[] = {
49565 (char *) "self",(char *) "pos", NULL
49568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49570 if (!SWIG_IsOK(res1
)) {
49571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49573 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49576 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49580 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
49581 wxPyEndAllowThreads(__tstate
);
49582 if (PyErr_Occurred()) SWIG_fail
;
49585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49593 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49594 PyObject
*resultobj
= 0;
49595 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49596 wxGBSpan
*arg2
= 0 ;
49601 PyObject
* obj0
= 0 ;
49602 PyObject
* obj1
= 0 ;
49603 char * kwnames
[] = {
49604 (char *) "self",(char *) "span", NULL
49607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49609 if (!SWIG_IsOK(res1
)) {
49610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49612 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49615 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49619 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
49620 wxPyEndAllowThreads(__tstate
);
49621 if (PyErr_Occurred()) SWIG_fail
;
49624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49632 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49633 PyObject
*resultobj
= 0;
49634 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49635 wxGBSizerItem
*arg2
= 0 ;
49641 PyObject
* obj0
= 0 ;
49642 PyObject
* obj1
= 0 ;
49643 char * kwnames
[] = {
49644 (char *) "self",(char *) "other", NULL
49647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49649 if (!SWIG_IsOK(res1
)) {
49650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49652 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
49654 if (!SWIG_IsOK(res2
)) {
49655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49660 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
49662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49663 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
49664 wxPyEndAllowThreads(__tstate
);
49665 if (PyErr_Occurred()) SWIG_fail
;
49668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49676 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49677 PyObject
*resultobj
= 0;
49678 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49679 wxGBPosition
*arg2
= 0 ;
49680 wxGBSpan
*arg3
= 0 ;
49684 wxGBPosition temp2
;
49686 PyObject
* obj0
= 0 ;
49687 PyObject
* obj1
= 0 ;
49688 PyObject
* obj2
= 0 ;
49689 char * kwnames
[] = {
49690 (char *) "self",(char *) "pos",(char *) "span", NULL
49693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49695 if (!SWIG_IsOK(res1
)) {
49696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49698 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49701 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49705 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49709 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
49710 wxPyEndAllowThreads(__tstate
);
49711 if (PyErr_Occurred()) SWIG_fail
;
49714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49722 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49723 PyObject
*resultobj
= 0;
49724 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49725 wxGBPosition result
;
49728 PyObject
*swig_obj
[1] ;
49730 if (!args
) SWIG_fail
;
49731 swig_obj
[0] = args
;
49732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49733 if (!SWIG_IsOK(res1
)) {
49734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49736 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49739 result
= wxGBSizerItem_GetEndPos(arg1
);
49740 wxPyEndAllowThreads(__tstate
);
49741 if (PyErr_Occurred()) SWIG_fail
;
49743 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49750 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49751 PyObject
*resultobj
= 0;
49752 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49753 wxGridBagSizer
*result
= 0 ;
49756 PyObject
*swig_obj
[1] ;
49758 if (!args
) SWIG_fail
;
49759 swig_obj
[0] = args
;
49760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49761 if (!SWIG_IsOK(res1
)) {
49762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49764 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49767 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
49768 wxPyEndAllowThreads(__tstate
);
49769 if (PyErr_Occurred()) SWIG_fail
;
49771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49778 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49779 PyObject
*resultobj
= 0;
49780 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49781 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
49786 PyObject
* obj0
= 0 ;
49787 PyObject
* obj1
= 0 ;
49788 char * kwnames
[] = {
49789 (char *) "self",(char *) "sizer", NULL
49792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49794 if (!SWIG_IsOK(res1
)) {
49795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49797 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49799 if (!SWIG_IsOK(res2
)) {
49800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
49802 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
49804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49805 (arg1
)->SetGBSizer(arg2
);
49806 wxPyEndAllowThreads(__tstate
);
49807 if (PyErr_Occurred()) SWIG_fail
;
49809 resultobj
= SWIG_Py_Void();
49816 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49819 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
49820 return SWIG_Py_Void();
49823 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49824 return SWIG_Python_InitShadowInstance(args
);
49827 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49828 PyObject
*resultobj
= 0;
49829 int arg1
= (int) 0 ;
49830 int arg2
= (int) 0 ;
49831 wxGridBagSizer
*result
= 0 ;
49836 PyObject
* obj0
= 0 ;
49837 PyObject
* obj1
= 0 ;
49838 char * kwnames
[] = {
49839 (char *) "vgap",(char *) "hgap", NULL
49842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49845 if (!SWIG_IsOK(ecode1
)) {
49846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
49848 arg1
= static_cast< int >(val1
);
49851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49852 if (!SWIG_IsOK(ecode2
)) {
49853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
49855 arg2
= static_cast< int >(val2
);
49858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49859 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
49860 wxPyEndAllowThreads(__tstate
);
49861 if (PyErr_Occurred()) SWIG_fail
;
49863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
49870 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49871 PyObject
*resultobj
= 0;
49872 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49873 PyObject
*arg2
= (PyObject
*) 0 ;
49874 wxGBPosition
*arg3
= 0 ;
49875 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
49876 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
49877 int arg5
= (int) 0 ;
49878 int arg6
= (int) 0 ;
49879 PyObject
*arg7
= (PyObject
*) NULL
;
49880 wxGBSizerItem
*result
= 0 ;
49883 wxGBPosition temp3
;
49889 PyObject
* obj0
= 0 ;
49890 PyObject
* obj1
= 0 ;
49891 PyObject
* obj2
= 0 ;
49892 PyObject
* obj3
= 0 ;
49893 PyObject
* obj4
= 0 ;
49894 PyObject
* obj5
= 0 ;
49895 PyObject
* obj6
= 0 ;
49896 char * kwnames
[] = {
49897 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49902 if (!SWIG_IsOK(res1
)) {
49903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
49905 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49909 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49914 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49918 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49919 if (!SWIG_IsOK(ecode5
)) {
49920 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
49922 arg5
= static_cast< int >(val5
);
49925 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49926 if (!SWIG_IsOK(ecode6
)) {
49927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
49929 arg6
= static_cast< int >(val6
);
49935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49936 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49937 wxPyEndAllowThreads(__tstate
);
49938 if (PyErr_Occurred()) SWIG_fail
;
49940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49947 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49948 PyObject
*resultobj
= 0;
49949 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49950 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
49951 wxGBSizerItem
*result
= 0 ;
49955 PyObject
* obj0
= 0 ;
49956 PyObject
* obj1
= 0 ;
49957 char * kwnames
[] = {
49958 (char *) "self",(char *) "item", NULL
49961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49963 if (!SWIG_IsOK(res1
)) {
49964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
49966 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49967 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49968 if (!SWIG_IsOK(res2
)) {
49969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
49972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49973 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
49974 wxPyEndAllowThreads(__tstate
);
49975 if (PyErr_Occurred()) SWIG_fail
;
49977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49984 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49985 PyObject
*resultobj
= 0;
49986 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49996 PyObject
* obj0
= 0 ;
49997 PyObject
* obj1
= 0 ;
49998 PyObject
* obj2
= 0 ;
49999 char * kwnames
[] = {
50000 (char *) "self",(char *) "row",(char *) "col", NULL
50003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50005 if (!SWIG_IsOK(res1
)) {
50006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50008 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50010 if (!SWIG_IsOK(ecode2
)) {
50011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
50013 arg2
= static_cast< int >(val2
);
50014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50015 if (!SWIG_IsOK(ecode3
)) {
50016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
50018 arg3
= static_cast< int >(val3
);
50020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50021 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
50022 wxPyEndAllowThreads(__tstate
);
50023 if (PyErr_Occurred()) SWIG_fail
;
50025 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50032 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50033 PyObject
*resultobj
= 0;
50034 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50038 PyObject
*swig_obj
[1] ;
50040 if (!args
) SWIG_fail
;
50041 swig_obj
[0] = args
;
50042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50043 if (!SWIG_IsOK(res1
)) {
50044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50046 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50049 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
50050 wxPyEndAllowThreads(__tstate
);
50051 if (PyErr_Occurred()) SWIG_fail
;
50053 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50060 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50061 PyObject
*resultobj
= 0;
50062 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50067 PyObject
* obj0
= 0 ;
50068 PyObject
* obj1
= 0 ;
50069 char * kwnames
[] = {
50070 (char *) "self",(char *) "sz", NULL
50073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50075 if (!SWIG_IsOK(res1
)) {
50076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50078 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50081 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50085 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
50086 wxPyEndAllowThreads(__tstate
);
50087 if (PyErr_Occurred()) SWIG_fail
;
50089 resultobj
= SWIG_Py_Void();
50096 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50097 PyObject
*resultobj
= 0;
50098 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50099 wxWindow
*arg2
= (wxWindow
*) 0 ;
50100 wxGBPosition result
;
50106 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50108 if (!SWIG_IsOK(res1
)) {
50109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50111 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50112 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50113 if (!SWIG_IsOK(res2
)) {
50114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50116 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50119 result
= (arg1
)->GetItemPosition(arg2
);
50120 wxPyEndAllowThreads(__tstate
);
50121 if (PyErr_Occurred()) SWIG_fail
;
50123 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50130 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50131 PyObject
*resultobj
= 0;
50132 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50133 wxSizer
*arg2
= (wxSizer
*) 0 ;
50134 wxGBPosition result
;
50140 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50142 if (!SWIG_IsOK(res1
)) {
50143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50145 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50146 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50147 if (!SWIG_IsOK(res2
)) {
50148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50150 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50153 result
= (arg1
)->GetItemPosition(arg2
);
50154 wxPyEndAllowThreads(__tstate
);
50155 if (PyErr_Occurred()) SWIG_fail
;
50157 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50164 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50165 PyObject
*resultobj
= 0;
50166 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50168 wxGBPosition result
;
50174 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50176 if (!SWIG_IsOK(res1
)) {
50177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50179 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50180 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50181 if (!SWIG_IsOK(ecode2
)) {
50182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50184 arg2
= static_cast< size_t >(val2
);
50186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50187 result
= (arg1
)->GetItemPosition(arg2
);
50188 wxPyEndAllowThreads(__tstate
);
50189 if (PyErr_Occurred()) SWIG_fail
;
50191 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50198 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
50202 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
50208 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50209 _v
= SWIG_CheckState(res
);
50211 if (!_v
) goto check_1
;
50212 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
50220 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50221 _v
= SWIG_CheckState(res
);
50223 if (!_v
) goto check_2
;
50224 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
50229 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
50233 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
50238 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50239 PyObject
*resultobj
= 0;
50240 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50241 wxWindow
*arg2
= (wxWindow
*) 0 ;
50242 wxGBPosition
*arg3
= 0 ;
50248 wxGBPosition temp3
;
50250 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50252 if (!SWIG_IsOK(res1
)) {
50253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50255 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50256 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50257 if (!SWIG_IsOK(res2
)) {
50258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50263 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50267 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50268 wxPyEndAllowThreads(__tstate
);
50269 if (PyErr_Occurred()) SWIG_fail
;
50272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50280 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50281 PyObject
*resultobj
= 0;
50282 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50283 wxSizer
*arg2
= (wxSizer
*) 0 ;
50284 wxGBPosition
*arg3
= 0 ;
50290 wxGBPosition temp3
;
50292 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50294 if (!SWIG_IsOK(res1
)) {
50295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50297 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50298 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50299 if (!SWIG_IsOK(res2
)) {
50300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50302 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50305 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50309 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50310 wxPyEndAllowThreads(__tstate
);
50311 if (PyErr_Occurred()) SWIG_fail
;
50314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50322 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50323 PyObject
*resultobj
= 0;
50324 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50326 wxGBPosition
*arg3
= 0 ;
50332 wxGBPosition temp3
;
50334 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50336 if (!SWIG_IsOK(res1
)) {
50337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50339 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50340 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50341 if (!SWIG_IsOK(ecode2
)) {
50342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50344 arg2
= static_cast< size_t >(val2
);
50347 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50351 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50352 wxPyEndAllowThreads(__tstate
);
50353 if (PyErr_Occurred()) SWIG_fail
;
50356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50364 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
50368 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
50374 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50375 _v
= SWIG_CheckState(res
);
50377 if (!_v
) goto check_1
;
50378 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
50386 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50387 _v
= SWIG_CheckState(res
);
50389 if (!_v
) goto check_2
;
50390 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
50395 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
50399 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
50404 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50405 PyObject
*resultobj
= 0;
50406 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50407 wxWindow
*arg2
= (wxWindow
*) 0 ;
50414 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50416 if (!SWIG_IsOK(res1
)) {
50417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50419 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50420 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50421 if (!SWIG_IsOK(res2
)) {
50422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50427 result
= (arg1
)->GetItemSpan(arg2
);
50428 wxPyEndAllowThreads(__tstate
);
50429 if (PyErr_Occurred()) SWIG_fail
;
50431 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50438 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50439 PyObject
*resultobj
= 0;
50440 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50441 wxSizer
*arg2
= (wxSizer
*) 0 ;
50448 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50450 if (!SWIG_IsOK(res1
)) {
50451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50453 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50454 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50455 if (!SWIG_IsOK(res2
)) {
50456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50458 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50461 result
= (arg1
)->GetItemSpan(arg2
);
50462 wxPyEndAllowThreads(__tstate
);
50463 if (PyErr_Occurred()) SWIG_fail
;
50465 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50472 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50473 PyObject
*resultobj
= 0;
50474 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50482 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50484 if (!SWIG_IsOK(res1
)) {
50485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50487 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50488 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50489 if (!SWIG_IsOK(ecode2
)) {
50490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50492 arg2
= static_cast< size_t >(val2
);
50494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50495 result
= (arg1
)->GetItemSpan(arg2
);
50496 wxPyEndAllowThreads(__tstate
);
50497 if (PyErr_Occurred()) SWIG_fail
;
50499 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50506 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
50510 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
50516 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50517 _v
= SWIG_CheckState(res
);
50519 if (!_v
) goto check_1
;
50520 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
50528 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50529 _v
= SWIG_CheckState(res
);
50531 if (!_v
) goto check_2
;
50532 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
50537 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
50541 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
50546 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50547 PyObject
*resultobj
= 0;
50548 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50549 wxWindow
*arg2
= (wxWindow
*) 0 ;
50550 wxGBSpan
*arg3
= 0 ;
50558 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50560 if (!SWIG_IsOK(res1
)) {
50561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50563 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50564 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50565 if (!SWIG_IsOK(res2
)) {
50566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50568 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50571 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50575 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50576 wxPyEndAllowThreads(__tstate
);
50577 if (PyErr_Occurred()) SWIG_fail
;
50580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50588 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50589 PyObject
*resultobj
= 0;
50590 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50591 wxSizer
*arg2
= (wxSizer
*) 0 ;
50592 wxGBSpan
*arg3
= 0 ;
50600 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50602 if (!SWIG_IsOK(res1
)) {
50603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50605 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50606 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50607 if (!SWIG_IsOK(res2
)) {
50608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50610 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50613 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50617 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50618 wxPyEndAllowThreads(__tstate
);
50619 if (PyErr_Occurred()) SWIG_fail
;
50622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50630 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50631 PyObject
*resultobj
= 0;
50632 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50634 wxGBSpan
*arg3
= 0 ;
50642 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50644 if (!SWIG_IsOK(res1
)) {
50645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50647 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50648 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50649 if (!SWIG_IsOK(ecode2
)) {
50650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50652 arg2
= static_cast< size_t >(val2
);
50655 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50659 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50660 wxPyEndAllowThreads(__tstate
);
50661 if (PyErr_Occurred()) SWIG_fail
;
50664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50672 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
50676 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
50682 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50683 _v
= SWIG_CheckState(res
);
50685 if (!_v
) goto check_1
;
50686 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
50694 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50695 _v
= SWIG_CheckState(res
);
50697 if (!_v
) goto check_2
;
50698 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
50703 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
50707 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
50712 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50713 PyObject
*resultobj
= 0;
50714 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50715 wxWindow
*arg2
= (wxWindow
*) 0 ;
50716 wxGBSizerItem
*result
= 0 ;
50722 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50724 if (!SWIG_IsOK(res1
)) {
50725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50727 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50728 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50729 if (!SWIG_IsOK(res2
)) {
50730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
50732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50735 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50736 wxPyEndAllowThreads(__tstate
);
50737 if (PyErr_Occurred()) SWIG_fail
;
50739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50746 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50747 PyObject
*resultobj
= 0;
50748 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50749 wxSizer
*arg2
= (wxSizer
*) 0 ;
50750 wxGBSizerItem
*result
= 0 ;
50756 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50758 if (!SWIG_IsOK(res1
)) {
50759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50761 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50762 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50763 if (!SWIG_IsOK(res2
)) {
50764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
50766 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50769 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50770 wxPyEndAllowThreads(__tstate
);
50771 if (PyErr_Occurred()) SWIG_fail
;
50773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50780 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
50784 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
50790 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50791 _v
= SWIG_CheckState(res
);
50793 if (!_v
) goto check_1
;
50794 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
50799 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
50803 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
50808 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50809 PyObject
*resultobj
= 0;
50810 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50811 wxGBPosition
*arg2
= 0 ;
50812 wxGBSizerItem
*result
= 0 ;
50815 wxGBPosition temp2
;
50816 PyObject
* obj0
= 0 ;
50817 PyObject
* obj1
= 0 ;
50818 char * kwnames
[] = {
50819 (char *) "self",(char *) "pos", NULL
50822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50824 if (!SWIG_IsOK(res1
)) {
50825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50827 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50830 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50834 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
50835 wxPyEndAllowThreads(__tstate
);
50836 if (PyErr_Occurred()) SWIG_fail
;
50838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50845 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50846 PyObject
*resultobj
= 0;
50847 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50848 wxPoint
*arg2
= 0 ;
50849 wxGBSizerItem
*result
= 0 ;
50853 PyObject
* obj0
= 0 ;
50854 PyObject
* obj1
= 0 ;
50855 char * kwnames
[] = {
50856 (char *) "self",(char *) "pt", NULL
50859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50861 if (!SWIG_IsOK(res1
)) {
50862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50864 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
50870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50871 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
50872 wxPyEndAllowThreads(__tstate
);
50873 if (PyErr_Occurred()) SWIG_fail
;
50875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50882 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50883 PyObject
*resultobj
= 0;
50884 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50885 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
50886 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
50894 PyObject
* obj0
= 0 ;
50895 PyObject
* obj1
= 0 ;
50896 PyObject
* obj2
= 0 ;
50897 char * kwnames
[] = {
50898 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
50901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50903 if (!SWIG_IsOK(res1
)) {
50904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50906 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50908 if (!SWIG_IsOK(res2
)) {
50909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
50911 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
50913 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50914 if (!SWIG_IsOK(res3
)) {
50915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
50917 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
50920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50921 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
50922 wxPyEndAllowThreads(__tstate
);
50923 if (PyErr_Occurred()) SWIG_fail
;
50926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50934 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50935 PyObject
*resultobj
= 0;
50936 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50937 wxGBPosition
*arg2
= 0 ;
50938 wxGBSpan
*arg3
= 0 ;
50939 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
50943 wxGBPosition temp2
;
50947 PyObject
* obj0
= 0 ;
50948 PyObject
* obj1
= 0 ;
50949 PyObject
* obj2
= 0 ;
50950 PyObject
* obj3
= 0 ;
50951 char * kwnames
[] = {
50952 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
50955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50957 if (!SWIG_IsOK(res1
)) {
50958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50960 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50963 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50967 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
50970 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50971 if (!SWIG_IsOK(res4
)) {
50972 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
50974 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
50977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50978 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
50979 wxPyEndAllowThreads(__tstate
);
50980 if (PyErr_Occurred()) SWIG_fail
;
50983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50991 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50994 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
50995 return SWIG_Py_Void();
50998 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50999 return SWIG_Python_InitShadowInstance(args
);
51002 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51003 PyObject
*resultobj
= 0;
51004 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51005 wxRelationship arg2
;
51006 wxWindow
*arg3
= (wxWindow
*) 0 ;
51008 int arg5
= (int) 0 ;
51009 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
51022 PyObject
* obj0
= 0 ;
51023 PyObject
* obj1
= 0 ;
51024 PyObject
* obj2
= 0 ;
51025 PyObject
* obj3
= 0 ;
51026 PyObject
* obj4
= 0 ;
51027 PyObject
* obj5
= 0 ;
51028 char * kwnames
[] = {
51029 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
51032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51034 if (!SWIG_IsOK(res1
)) {
51035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51037 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51039 if (!SWIG_IsOK(ecode2
)) {
51040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
51042 arg2
= static_cast< wxRelationship
>(val2
);
51043 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51044 if (!SWIG_IsOK(res3
)) {
51045 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
51047 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51048 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51049 if (!SWIG_IsOK(ecode4
)) {
51050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
51052 arg4
= static_cast< wxEdge
>(val4
);
51054 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51055 if (!SWIG_IsOK(ecode5
)) {
51056 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
51058 arg5
= static_cast< int >(val5
);
51061 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51062 if (!SWIG_IsOK(ecode6
)) {
51063 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
51065 arg6
= static_cast< int >(val6
);
51068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51069 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
51070 wxPyEndAllowThreads(__tstate
);
51071 if (PyErr_Occurred()) SWIG_fail
;
51073 resultobj
= SWIG_Py_Void();
51080 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51081 PyObject
*resultobj
= 0;
51082 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51083 wxWindow
*arg2
= (wxWindow
*) 0 ;
51084 int arg3
= (int) 0 ;
51091 PyObject
* obj0
= 0 ;
51092 PyObject
* obj1
= 0 ;
51093 PyObject
* obj2
= 0 ;
51094 char * kwnames
[] = {
51095 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51100 if (!SWIG_IsOK(res1
)) {
51101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51103 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51104 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51105 if (!SWIG_IsOK(res2
)) {
51106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51108 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51111 if (!SWIG_IsOK(ecode3
)) {
51112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
51114 arg3
= static_cast< int >(val3
);
51117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51118 (arg1
)->LeftOf(arg2
,arg3
);
51119 wxPyEndAllowThreads(__tstate
);
51120 if (PyErr_Occurred()) SWIG_fail
;
51122 resultobj
= SWIG_Py_Void();
51129 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51130 PyObject
*resultobj
= 0;
51131 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51132 wxWindow
*arg2
= (wxWindow
*) 0 ;
51133 int arg3
= (int) 0 ;
51140 PyObject
* obj0
= 0 ;
51141 PyObject
* obj1
= 0 ;
51142 PyObject
* obj2
= 0 ;
51143 char * kwnames
[] = {
51144 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51149 if (!SWIG_IsOK(res1
)) {
51150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51152 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51154 if (!SWIG_IsOK(res2
)) {
51155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51157 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51160 if (!SWIG_IsOK(ecode3
)) {
51161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
51163 arg3
= static_cast< int >(val3
);
51166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51167 (arg1
)->RightOf(arg2
,arg3
);
51168 wxPyEndAllowThreads(__tstate
);
51169 if (PyErr_Occurred()) SWIG_fail
;
51171 resultobj
= SWIG_Py_Void();
51178 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51179 PyObject
*resultobj
= 0;
51180 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51181 wxWindow
*arg2
= (wxWindow
*) 0 ;
51182 int arg3
= (int) 0 ;
51189 PyObject
* obj0
= 0 ;
51190 PyObject
* obj1
= 0 ;
51191 PyObject
* obj2
= 0 ;
51192 char * kwnames
[] = {
51193 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51198 if (!SWIG_IsOK(res1
)) {
51199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51201 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51203 if (!SWIG_IsOK(res2
)) {
51204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
51206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51209 if (!SWIG_IsOK(ecode3
)) {
51210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
51212 arg3
= static_cast< int >(val3
);
51215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51216 (arg1
)->Above(arg2
,arg3
);
51217 wxPyEndAllowThreads(__tstate
);
51218 if (PyErr_Occurred()) SWIG_fail
;
51220 resultobj
= SWIG_Py_Void();
51227 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51228 PyObject
*resultobj
= 0;
51229 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51230 wxWindow
*arg2
= (wxWindow
*) 0 ;
51231 int arg3
= (int) 0 ;
51238 PyObject
* obj0
= 0 ;
51239 PyObject
* obj1
= 0 ;
51240 PyObject
* obj2
= 0 ;
51241 char * kwnames
[] = {
51242 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51247 if (!SWIG_IsOK(res1
)) {
51248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51250 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51252 if (!SWIG_IsOK(res2
)) {
51253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
51255 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51258 if (!SWIG_IsOK(ecode3
)) {
51259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
51261 arg3
= static_cast< int >(val3
);
51264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51265 (arg1
)->Below(arg2
,arg3
);
51266 wxPyEndAllowThreads(__tstate
);
51267 if (PyErr_Occurred()) SWIG_fail
;
51269 resultobj
= SWIG_Py_Void();
51276 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51277 PyObject
*resultobj
= 0;
51278 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51279 wxWindow
*arg2
= (wxWindow
*) 0 ;
51281 int arg4
= (int) 0 ;
51290 PyObject
* obj0
= 0 ;
51291 PyObject
* obj1
= 0 ;
51292 PyObject
* obj2
= 0 ;
51293 PyObject
* obj3
= 0 ;
51294 char * kwnames
[] = {
51295 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
51298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51300 if (!SWIG_IsOK(res1
)) {
51301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51303 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51305 if (!SWIG_IsOK(res2
)) {
51306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
51308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51310 if (!SWIG_IsOK(ecode3
)) {
51311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
51313 arg3
= static_cast< wxEdge
>(val3
);
51315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51316 if (!SWIG_IsOK(ecode4
)) {
51317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
51319 arg4
= static_cast< int >(val4
);
51322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51323 (arg1
)->SameAs(arg2
,arg3
,arg4
);
51324 wxPyEndAllowThreads(__tstate
);
51325 if (PyErr_Occurred()) SWIG_fail
;
51327 resultobj
= SWIG_Py_Void();
51334 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51335 PyObject
*resultobj
= 0;
51336 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51337 wxWindow
*arg2
= (wxWindow
*) 0 ;
51348 PyObject
* obj0
= 0 ;
51349 PyObject
* obj1
= 0 ;
51350 PyObject
* obj2
= 0 ;
51351 PyObject
* obj3
= 0 ;
51352 char * kwnames
[] = {
51353 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
51356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51358 if (!SWIG_IsOK(res1
)) {
51359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51361 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51363 if (!SWIG_IsOK(res2
)) {
51364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51368 if (!SWIG_IsOK(ecode3
)) {
51369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
51371 arg3
= static_cast< wxEdge
>(val3
);
51372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51373 if (!SWIG_IsOK(ecode4
)) {
51374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
51376 arg4
= static_cast< int >(val4
);
51378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51379 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
51380 wxPyEndAllowThreads(__tstate
);
51381 if (PyErr_Occurred()) SWIG_fail
;
51383 resultobj
= SWIG_Py_Void();
51390 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51391 PyObject
*resultobj
= 0;
51392 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51398 PyObject
* obj0
= 0 ;
51399 PyObject
* obj1
= 0 ;
51400 char * kwnames
[] = {
51401 (char *) "self",(char *) "val", NULL
51404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51406 if (!SWIG_IsOK(res1
)) {
51407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51409 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51411 if (!SWIG_IsOK(ecode2
)) {
51412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
51414 arg2
= static_cast< int >(val2
);
51416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51417 (arg1
)->Absolute(arg2
);
51418 wxPyEndAllowThreads(__tstate
);
51419 if (PyErr_Occurred()) SWIG_fail
;
51421 resultobj
= SWIG_Py_Void();
51428 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51429 PyObject
*resultobj
= 0;
51430 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51433 PyObject
*swig_obj
[1] ;
51435 if (!args
) SWIG_fail
;
51436 swig_obj
[0] = args
;
51437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51438 if (!SWIG_IsOK(res1
)) {
51439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51441 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51444 (arg1
)->Unconstrained();
51445 wxPyEndAllowThreads(__tstate
);
51446 if (PyErr_Occurred()) SWIG_fail
;
51448 resultobj
= SWIG_Py_Void();
51455 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51456 PyObject
*resultobj
= 0;
51457 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51460 PyObject
*swig_obj
[1] ;
51462 if (!args
) SWIG_fail
;
51463 swig_obj
[0] = args
;
51464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51465 if (!SWIG_IsOK(res1
)) {
51466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51468 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51472 wxPyEndAllowThreads(__tstate
);
51473 if (PyErr_Occurred()) SWIG_fail
;
51475 resultobj
= SWIG_Py_Void();
51482 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51483 PyObject
*resultobj
= 0;
51484 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51485 wxWindow
*result
= 0 ;
51488 PyObject
*swig_obj
[1] ;
51490 if (!args
) SWIG_fail
;
51491 swig_obj
[0] = args
;
51492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51493 if (!SWIG_IsOK(res1
)) {
51494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51496 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51499 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
51500 wxPyEndAllowThreads(__tstate
);
51501 if (PyErr_Occurred()) SWIG_fail
;
51504 resultobj
= wxPyMake_wxObject(result
, 0);
51512 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51513 PyObject
*resultobj
= 0;
51514 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51518 PyObject
*swig_obj
[1] ;
51520 if (!args
) SWIG_fail
;
51521 swig_obj
[0] = args
;
51522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51523 if (!SWIG_IsOK(res1
)) {
51524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51526 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51529 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
51530 wxPyEndAllowThreads(__tstate
);
51531 if (PyErr_Occurred()) SWIG_fail
;
51533 resultobj
= SWIG_From_int(static_cast< int >(result
));
51540 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51541 PyObject
*resultobj
= 0;
51542 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51548 PyObject
* obj0
= 0 ;
51549 PyObject
* obj1
= 0 ;
51550 char * kwnames
[] = {
51551 (char *) "self",(char *) "which", NULL
51554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51556 if (!SWIG_IsOK(res1
)) {
51557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51559 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51561 if (!SWIG_IsOK(ecode2
)) {
51562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
51564 arg2
= static_cast< wxEdge
>(val2
);
51566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51567 (arg1
)->SetEdge(arg2
);
51568 wxPyEndAllowThreads(__tstate
);
51569 if (PyErr_Occurred()) SWIG_fail
;
51571 resultobj
= SWIG_Py_Void();
51578 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51579 PyObject
*resultobj
= 0;
51580 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51586 PyObject
* obj0
= 0 ;
51587 PyObject
* obj1
= 0 ;
51588 char * kwnames
[] = {
51589 (char *) "self",(char *) "v", NULL
51592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51594 if (!SWIG_IsOK(res1
)) {
51595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51597 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51599 if (!SWIG_IsOK(ecode2
)) {
51600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
51602 arg2
= static_cast< int >(val2
);
51604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51605 (arg1
)->SetValue(arg2
);
51606 wxPyEndAllowThreads(__tstate
);
51607 if (PyErr_Occurred()) SWIG_fail
;
51609 resultobj
= SWIG_Py_Void();
51616 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51617 PyObject
*resultobj
= 0;
51618 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51622 PyObject
*swig_obj
[1] ;
51624 if (!args
) SWIG_fail
;
51625 swig_obj
[0] = args
;
51626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51627 if (!SWIG_IsOK(res1
)) {
51628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51630 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51633 result
= (int)(arg1
)->GetMargin();
51634 wxPyEndAllowThreads(__tstate
);
51635 if (PyErr_Occurred()) SWIG_fail
;
51637 resultobj
= SWIG_From_int(static_cast< int >(result
));
51644 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51645 PyObject
*resultobj
= 0;
51646 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51652 PyObject
* obj0
= 0 ;
51653 PyObject
* obj1
= 0 ;
51654 char * kwnames
[] = {
51655 (char *) "self",(char *) "m", NULL
51658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51660 if (!SWIG_IsOK(res1
)) {
51661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51663 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51665 if (!SWIG_IsOK(ecode2
)) {
51666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
51668 arg2
= static_cast< int >(val2
);
51670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51671 (arg1
)->SetMargin(arg2
);
51672 wxPyEndAllowThreads(__tstate
);
51673 if (PyErr_Occurred()) SWIG_fail
;
51675 resultobj
= SWIG_Py_Void();
51682 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51683 PyObject
*resultobj
= 0;
51684 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51688 PyObject
*swig_obj
[1] ;
51690 if (!args
) SWIG_fail
;
51691 swig_obj
[0] = args
;
51692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51693 if (!SWIG_IsOK(res1
)) {
51694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51696 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51699 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
51700 wxPyEndAllowThreads(__tstate
);
51701 if (PyErr_Occurred()) SWIG_fail
;
51703 resultobj
= SWIG_From_int(static_cast< int >(result
));
51710 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51711 PyObject
*resultobj
= 0;
51712 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51716 PyObject
*swig_obj
[1] ;
51718 if (!args
) SWIG_fail
;
51719 swig_obj
[0] = args
;
51720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51721 if (!SWIG_IsOK(res1
)) {
51722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51724 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51727 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
51728 wxPyEndAllowThreads(__tstate
);
51729 if (PyErr_Occurred()) SWIG_fail
;
51731 resultobj
= SWIG_From_int(static_cast< int >(result
));
51738 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51739 PyObject
*resultobj
= 0;
51740 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51744 PyObject
*swig_obj
[1] ;
51746 if (!args
) SWIG_fail
;
51747 swig_obj
[0] = args
;
51748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51749 if (!SWIG_IsOK(res1
)) {
51750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51752 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51755 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
51756 wxPyEndAllowThreads(__tstate
);
51757 if (PyErr_Occurred()) SWIG_fail
;
51759 resultobj
= SWIG_From_int(static_cast< int >(result
));
51766 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51767 PyObject
*resultobj
= 0;
51768 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51772 PyObject
*swig_obj
[1] ;
51774 if (!args
) SWIG_fail
;
51775 swig_obj
[0] = args
;
51776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51777 if (!SWIG_IsOK(res1
)) {
51778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51780 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51783 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
51784 wxPyEndAllowThreads(__tstate
);
51785 if (PyErr_Occurred()) SWIG_fail
;
51788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51796 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51797 PyObject
*resultobj
= 0;
51798 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51804 PyObject
* obj0
= 0 ;
51805 PyObject
* obj1
= 0 ;
51806 char * kwnames
[] = {
51807 (char *) "self",(char *) "d", NULL
51810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51812 if (!SWIG_IsOK(res1
)) {
51813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51815 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
51817 if (!SWIG_IsOK(ecode2
)) {
51818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
51820 arg2
= static_cast< bool >(val2
);
51822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51823 (arg1
)->SetDone(arg2
);
51824 wxPyEndAllowThreads(__tstate
);
51825 if (PyErr_Occurred()) SWIG_fail
;
51827 resultobj
= SWIG_Py_Void();
51834 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51835 PyObject
*resultobj
= 0;
51836 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51837 wxRelationship result
;
51840 PyObject
*swig_obj
[1] ;
51842 if (!args
) SWIG_fail
;
51843 swig_obj
[0] = args
;
51844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51845 if (!SWIG_IsOK(res1
)) {
51846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51848 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51851 result
= (wxRelationship
)(arg1
)->GetRelationship();
51852 wxPyEndAllowThreads(__tstate
);
51853 if (PyErr_Occurred()) SWIG_fail
;
51855 resultobj
= SWIG_From_int(static_cast< int >(result
));
51862 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51863 PyObject
*resultobj
= 0;
51864 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51865 wxRelationship arg2
;
51870 PyObject
* obj0
= 0 ;
51871 PyObject
* obj1
= 0 ;
51872 char * kwnames
[] = {
51873 (char *) "self",(char *) "r", NULL
51876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51878 if (!SWIG_IsOK(res1
)) {
51879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51881 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51883 if (!SWIG_IsOK(ecode2
)) {
51884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
51886 arg2
= static_cast< wxRelationship
>(val2
);
51888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51889 (arg1
)->SetRelationship(arg2
);
51890 wxPyEndAllowThreads(__tstate
);
51891 if (PyErr_Occurred()) SWIG_fail
;
51893 resultobj
= SWIG_Py_Void();
51900 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51901 PyObject
*resultobj
= 0;
51902 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51903 wxWindow
*arg2
= (wxWindow
*) 0 ;
51909 PyObject
* obj0
= 0 ;
51910 PyObject
* obj1
= 0 ;
51911 char * kwnames
[] = {
51912 (char *) "self",(char *) "otherW", NULL
51915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51917 if (!SWIG_IsOK(res1
)) {
51918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51920 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51922 if (!SWIG_IsOK(res2
)) {
51923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
51925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51928 result
= (bool)(arg1
)->ResetIfWin(arg2
);
51929 wxPyEndAllowThreads(__tstate
);
51930 if (PyErr_Occurred()) SWIG_fail
;
51933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51941 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51942 PyObject
*resultobj
= 0;
51943 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51944 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
51945 wxWindow
*arg3
= (wxWindow
*) 0 ;
51953 PyObject
* obj0
= 0 ;
51954 PyObject
* obj1
= 0 ;
51955 PyObject
* obj2
= 0 ;
51956 char * kwnames
[] = {
51957 (char *) "self",(char *) "constraints",(char *) "win", NULL
51960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51962 if (!SWIG_IsOK(res1
)) {
51963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51965 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
51967 if (!SWIG_IsOK(res2
)) {
51968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
51970 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
51971 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51972 if (!SWIG_IsOK(res3
)) {
51973 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
51975 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51978 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
51979 wxPyEndAllowThreads(__tstate
);
51980 if (PyErr_Occurred()) SWIG_fail
;
51983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51991 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51992 PyObject
*resultobj
= 0;
51993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51995 wxWindow
*arg3
= (wxWindow
*) 0 ;
51996 wxWindow
*arg4
= (wxWindow
*) 0 ;
52006 PyObject
* obj0
= 0 ;
52007 PyObject
* obj1
= 0 ;
52008 PyObject
* obj2
= 0 ;
52009 PyObject
* obj3
= 0 ;
52010 char * kwnames
[] = {
52011 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
52014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
52015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52016 if (!SWIG_IsOK(res1
)) {
52017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
52019 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52021 if (!SWIG_IsOK(ecode2
)) {
52022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
52024 arg2
= static_cast< wxEdge
>(val2
);
52025 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52026 if (!SWIG_IsOK(res3
)) {
52027 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
52029 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52030 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52031 if (!SWIG_IsOK(res4
)) {
52032 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
52034 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
52036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52037 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
52038 wxPyEndAllowThreads(__tstate
);
52039 if (PyErr_Occurred()) SWIG_fail
;
52041 resultobj
= SWIG_From_int(static_cast< int >(result
));
52048 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52051 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
52052 return SWIG_Py_Void();
52055 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52056 PyObject
*resultobj
= 0;
52057 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52058 wxIndividualLayoutConstraint
*result
= 0 ;
52061 PyObject
*swig_obj
[1] ;
52063 if (!args
) SWIG_fail
;
52064 swig_obj
[0] = args
;
52065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52066 if (!SWIG_IsOK(res1
)) {
52067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52069 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52070 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
52071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52078 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52079 PyObject
*resultobj
= 0;
52080 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52081 wxIndividualLayoutConstraint
*result
= 0 ;
52084 PyObject
*swig_obj
[1] ;
52086 if (!args
) SWIG_fail
;
52087 swig_obj
[0] = args
;
52088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52089 if (!SWIG_IsOK(res1
)) {
52090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52092 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52093 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
52094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52101 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52102 PyObject
*resultobj
= 0;
52103 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52104 wxIndividualLayoutConstraint
*result
= 0 ;
52107 PyObject
*swig_obj
[1] ;
52109 if (!args
) SWIG_fail
;
52110 swig_obj
[0] = args
;
52111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52112 if (!SWIG_IsOK(res1
)) {
52113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52115 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52116 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
52117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52124 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52125 PyObject
*resultobj
= 0;
52126 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52127 wxIndividualLayoutConstraint
*result
= 0 ;
52130 PyObject
*swig_obj
[1] ;
52132 if (!args
) SWIG_fail
;
52133 swig_obj
[0] = args
;
52134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52135 if (!SWIG_IsOK(res1
)) {
52136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52138 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52139 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
52140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52147 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52148 PyObject
*resultobj
= 0;
52149 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52150 wxIndividualLayoutConstraint
*result
= 0 ;
52153 PyObject
*swig_obj
[1] ;
52155 if (!args
) SWIG_fail
;
52156 swig_obj
[0] = args
;
52157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52158 if (!SWIG_IsOK(res1
)) {
52159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52161 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52162 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
52163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52170 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52171 PyObject
*resultobj
= 0;
52172 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52173 wxIndividualLayoutConstraint
*result
= 0 ;
52176 PyObject
*swig_obj
[1] ;
52178 if (!args
) SWIG_fail
;
52179 swig_obj
[0] = args
;
52180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52181 if (!SWIG_IsOK(res1
)) {
52182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52184 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52185 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
52186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52193 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52194 PyObject
*resultobj
= 0;
52195 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52196 wxIndividualLayoutConstraint
*result
= 0 ;
52199 PyObject
*swig_obj
[1] ;
52201 if (!args
) SWIG_fail
;
52202 swig_obj
[0] = args
;
52203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52204 if (!SWIG_IsOK(res1
)) {
52205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52207 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52208 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
52209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52216 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52217 PyObject
*resultobj
= 0;
52218 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52219 wxIndividualLayoutConstraint
*result
= 0 ;
52222 PyObject
*swig_obj
[1] ;
52224 if (!args
) SWIG_fail
;
52225 swig_obj
[0] = args
;
52226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52227 if (!SWIG_IsOK(res1
)) {
52228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52230 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52231 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
52232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52239 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52240 PyObject
*resultobj
= 0;
52241 wxLayoutConstraints
*result
= 0 ;
52243 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
52245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52246 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
52247 wxPyEndAllowThreads(__tstate
);
52248 if (PyErr_Occurred()) SWIG_fail
;
52250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
52257 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52258 PyObject
*resultobj
= 0;
52259 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52262 PyObject
*swig_obj
[1] ;
52264 if (!args
) SWIG_fail
;
52265 swig_obj
[0] = args
;
52266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
52267 if (!SWIG_IsOK(res1
)) {
52268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52270 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52275 wxPyEndAllowThreads(__tstate
);
52276 if (PyErr_Occurred()) SWIG_fail
;
52278 resultobj
= SWIG_Py_Void();
52285 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52286 PyObject
*resultobj
= 0;
52287 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52288 wxWindow
*arg2
= (wxWindow
*) 0 ;
52289 int *arg3
= (int *) 0 ;
52296 int res3
= SWIG_TMPOBJ
;
52297 PyObject
* obj0
= 0 ;
52298 PyObject
* obj1
= 0 ;
52299 char * kwnames
[] = {
52300 (char *) "self",(char *) "win", NULL
52304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52306 if (!SWIG_IsOK(res1
)) {
52307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52309 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52311 if (!SWIG_IsOK(res2
)) {
52312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
52314 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52317 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
52318 wxPyEndAllowThreads(__tstate
);
52319 if (PyErr_Occurred()) SWIG_fail
;
52322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52324 if (SWIG_IsTmpObj(res3
)) {
52325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
52327 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
52328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
52336 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52337 PyObject
*resultobj
= 0;
52338 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52342 PyObject
*swig_obj
[1] ;
52344 if (!args
) SWIG_fail
;
52345 swig_obj
[0] = args
;
52346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52347 if (!SWIG_IsOK(res1
)) {
52348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
52350 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52353 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
52354 wxPyEndAllowThreads(__tstate
);
52355 if (PyErr_Occurred()) SWIG_fail
;
52358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52366 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52369 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
52370 return SWIG_Py_Void();
52373 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52374 return SWIG_Python_InitShadowInstance(args
);
52377 static PyMethodDef SwigMethods
[] = {
52378 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
52379 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
52380 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
52381 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
52382 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
52383 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
52384 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
52385 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
52386 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
52387 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52388 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
52389 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52390 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52391 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52392 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52393 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52394 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52395 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52396 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52397 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52398 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
52399 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
52400 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
52401 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52402 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
52403 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
52404 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
52405 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
52406 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
52407 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
52408 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
52409 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52410 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
52411 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52412 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52413 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52414 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52415 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52416 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
52417 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
52418 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
52419 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
52420 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
52421 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
52422 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
52423 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52424 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
52425 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52426 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52427 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52428 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52429 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52430 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52431 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52432 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
52433 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
52434 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
52435 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52436 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52437 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52438 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52439 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
52440 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
52441 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52442 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
52443 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52444 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
52445 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52446 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
52447 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52448 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
52449 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52450 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
52451 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52452 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
52453 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
52454 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52455 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
52456 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52457 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
52458 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
52459 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
52460 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
52461 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52462 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52463 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52464 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52465 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52466 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52467 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52468 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52469 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52470 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52471 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52472 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52473 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52474 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52475 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52476 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52477 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52478 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52479 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
52480 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
52481 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
52482 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
52483 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
52484 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
52485 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
52486 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
52487 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52488 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
52489 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
52490 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
52491 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52492 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52493 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52494 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52495 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
52496 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
52497 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
52498 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
52499 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52500 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52501 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52502 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52503 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52504 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52505 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
52506 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52507 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52508 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52509 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52510 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52511 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52512 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
52513 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
52514 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
52515 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
52516 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52517 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
52518 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
52519 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
52520 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52521 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
52522 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
52523 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
52524 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
52525 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52526 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52527 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52528 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52529 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
52530 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
52531 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
52532 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
52533 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
52534 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
52535 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52536 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52537 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
52538 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
52539 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
52540 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52541 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
52542 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
52543 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52544 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
52545 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
52546 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
52547 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
52548 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
52549 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
52550 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
52551 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
52552 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
52553 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52554 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
52555 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52556 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52557 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52558 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52559 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
52560 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52561 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52562 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52563 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52564 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52565 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52566 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
52567 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
52568 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
52569 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52570 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
52571 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52572 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52573 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
52574 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52575 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
52576 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52577 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52578 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
52579 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
52580 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
52581 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52582 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52583 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
52584 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
52585 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
52586 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52587 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52588 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52589 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
52590 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
52591 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
52592 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52593 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52594 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52595 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
52596 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52597 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52598 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52599 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52600 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
52601 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
52602 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
52603 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
52604 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
52605 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
52606 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
52607 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52608 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52609 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52610 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52611 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52612 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
52613 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
52614 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52615 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
52616 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
52617 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
52618 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52619 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52620 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52621 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52622 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52623 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
52624 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
52625 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52626 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
52627 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
52628 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
52629 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
52630 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
52631 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
52632 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
52633 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
52634 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52635 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
52636 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
52637 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
52638 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
52639 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
52640 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
52641 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
52642 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
52643 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52644 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
52645 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52646 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52647 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52648 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52649 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52650 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52651 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52652 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52653 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
52654 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52655 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52656 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52657 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52658 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52659 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52660 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52661 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52662 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52663 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52664 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52665 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
52666 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
52667 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52668 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52669 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52670 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52671 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52672 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52673 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52674 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52675 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52676 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52677 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52678 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52679 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52680 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52681 { (char *)"Image_Ok", (PyCFunction
)_wrap_Image_Ok
, METH_O
, NULL
},
52682 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
52683 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
52684 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
52685 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52686 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52687 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
52688 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52689 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
52690 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52691 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
52692 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52693 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
52694 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52695 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
52696 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52697 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52698 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
52699 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
52700 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
52701 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
52702 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52703 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
52704 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52705 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52706 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52707 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52708 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52709 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52710 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52711 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52712 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52713 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52714 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52715 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52716 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52717 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52718 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52719 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52720 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
52721 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
52722 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52723 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52724 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52725 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52726 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52727 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
52728 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
52729 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
52730 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
52731 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
52732 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
52733 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
52734 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
52735 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
52736 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
52737 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
52738 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
52739 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
52740 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
52741 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
52742 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
52743 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
52744 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
52745 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
52746 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
52747 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
52748 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
52749 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
52750 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
52751 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
52752 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
52753 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
52754 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
52755 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
52756 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
52757 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
52758 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
52759 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
52760 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
52761 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
52762 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52763 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
52764 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
52765 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
52766 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
52767 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52768 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52769 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
52770 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52771 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52772 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52773 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
52774 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52775 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52776 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52777 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
52778 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
52779 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
52780 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
52781 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52782 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
52783 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
52784 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52785 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
52786 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52787 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
52788 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52789 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
52790 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52791 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
52792 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
52793 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
52794 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52795 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
52796 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
52797 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52798 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
52799 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
52800 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
52801 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52802 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
52803 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
52804 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
52805 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52806 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
52807 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52808 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
52809 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
52810 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
52811 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52812 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
52813 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52814 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
52815 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
52816 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52817 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
52818 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
52819 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
52820 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52821 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
52822 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
52823 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
52824 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
52825 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
52826 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52827 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
52828 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
52829 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52830 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52831 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
52832 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
52833 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52834 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
52835 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
52836 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52837 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52838 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
52839 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
52840 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52841 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
52842 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52843 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52844 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52845 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52846 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52847 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
52848 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
52849 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
52850 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
52851 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
52852 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
52853 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
52854 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
52855 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
52856 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
52857 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
52858 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
52859 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
52860 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
52861 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
52862 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
52863 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
52864 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
52865 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
52866 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
52867 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
52868 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
52869 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
52870 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
52871 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52872 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
52873 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
52874 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
52875 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
52876 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
52877 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
52878 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
52879 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
52880 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
52881 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
52882 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
52883 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
52884 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
52885 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
52886 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
52887 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
52888 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52889 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
52890 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52891 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
52892 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52893 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
52894 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52895 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
52896 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
52897 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
52898 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
52899 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
52900 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
52901 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
52902 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
52903 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
52904 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52905 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
52906 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
52907 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52908 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
52909 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
52910 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
52911 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
52912 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52913 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
52914 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
52915 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
52916 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
52917 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
52918 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
52919 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
52920 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
52921 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
52922 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
52923 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
52924 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
52925 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
52926 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
52927 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
52928 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
52929 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
52930 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
52931 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
52932 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
52933 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
52934 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52935 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
52936 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52937 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
52938 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52939 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
52940 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52941 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
52942 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
52943 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
52944 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
52945 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
52946 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
52947 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
52948 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
52949 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
52950 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52951 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
52952 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
52953 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52954 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52955 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
52956 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
52957 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
52958 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
52959 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
52960 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
52961 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52962 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
52963 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
52964 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52965 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52966 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
52967 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
52968 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52969 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
52970 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
52971 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52972 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
52973 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
52974 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52975 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
52976 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
52977 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
52978 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52979 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
52980 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52981 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
52982 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
52983 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52984 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
52985 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
52986 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
52987 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52988 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
52989 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
52990 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
52991 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52992 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
52993 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
52994 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52995 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
52996 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
52997 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
52998 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
52999 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
53000 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53001 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53002 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
53003 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53004 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
53005 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53006 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
53007 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
53008 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
53009 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53010 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53011 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
53012 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
53013 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
53014 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53015 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
53016 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
53017 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
53018 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53019 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
53020 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
53021 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
53022 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
53023 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
53024 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
53025 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53026 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
53027 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
53028 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
53029 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
53030 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
53031 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
53032 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
53033 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
53034 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53035 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53036 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53037 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53038 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53039 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
53040 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53041 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
53042 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53043 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
53044 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
53045 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
53046 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
53047 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53048 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53049 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53050 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
53051 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53052 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53053 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
53054 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53055 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53056 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53057 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53058 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
53059 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53060 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53061 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53062 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53063 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
53064 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
53065 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
53066 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
53067 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
53068 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53069 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
53070 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53071 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
53072 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53073 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53074 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
53075 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53076 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
53077 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
53078 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53079 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
53080 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
53081 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
53082 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53083 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
53084 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
53085 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
53086 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53087 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
53088 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53089 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
53090 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
53091 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
53092 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53093 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
53094 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53095 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
53096 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53097 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
53098 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
53099 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53100 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
53101 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53102 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
53103 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
53104 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
53105 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53106 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
53107 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53108 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
53109 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
53110 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
53111 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53112 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
53113 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53114 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
53115 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
53116 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
53117 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
53118 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53119 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
53120 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53121 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
53122 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53123 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
53124 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53125 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
53126 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
53127 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53128 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
53129 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
53130 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
53131 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
53132 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
53133 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
53134 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
53135 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
53136 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53137 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
53138 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53139 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
53140 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53141 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
53142 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53143 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
53144 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53145 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
53146 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53147 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
53148 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
53149 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
53150 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
53151 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
53152 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
53153 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53154 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53155 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53156 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53157 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53158 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
53159 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
53160 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
53161 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
53162 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
53163 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
53164 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
53165 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53166 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
53167 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53168 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
53169 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
53170 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53171 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
53172 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
53173 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
53174 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
53175 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53176 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
53177 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
53178 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
53179 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
53180 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53181 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
53182 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
53183 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53184 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
53185 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
53186 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
53187 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53188 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
53189 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53190 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
53191 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
53192 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
53193 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
53194 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
53195 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53196 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
53197 { (char *)"AcceleratorTable_Ok", (PyCFunction
)_wrap_AcceleratorTable_Ok
, METH_O
, NULL
},
53198 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
53199 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
53200 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53201 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
53202 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
53203 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
53204 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
53205 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
53206 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
53207 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
53208 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
53209 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
53210 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
53211 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53212 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
53213 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53214 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53215 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
53216 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
53217 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
53218 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53219 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
53220 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53221 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
53222 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53223 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
53224 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53225 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
53226 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
53227 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53228 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53229 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53230 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53231 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53232 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53233 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53234 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53235 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53236 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
53237 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
53238 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53239 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53240 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53241 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
53242 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
53243 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
53244 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
53245 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
53246 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
53247 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
53248 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
53249 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
53250 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
53251 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
53252 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
53253 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
53254 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
53255 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
53256 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53257 { (char *)"Window_GetBestFittingSize", (PyCFunction
)_wrap_Window_GetBestFittingSize
, METH_O
, NULL
},
53258 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
)_wrap_Window_GetAdjustedBestSize
, METH_O
, NULL
},
53259 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53260 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53261 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
53262 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
53263 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53264 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53265 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53266 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53267 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
53268 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
53269 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53270 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53271 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
53272 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
53273 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
53274 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
53275 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53276 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53277 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
53278 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
53279 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
53280 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53281 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
53282 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53283 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
53284 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
53285 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
53286 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53287 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
53288 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53289 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
53290 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53291 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
53292 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53293 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53294 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
53295 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
53296 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
53297 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
53298 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
53299 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
53300 { (char *)"Window_GetDefaultItem", (PyCFunction
)_wrap_Window_GetDefaultItem
, METH_O
, NULL
},
53301 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53302 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53303 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53304 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53305 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53306 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
53307 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
53308 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
53309 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
53310 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53311 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53312 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53313 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53314 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53315 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
53316 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53317 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53318 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53319 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53320 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53321 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
53322 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
53323 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
53324 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
53325 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
53326 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53327 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
53328 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53329 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53330 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53331 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53332 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53333 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53334 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53335 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53336 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53337 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
53338 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
53339 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
53340 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
53341 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53342 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53343 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
53344 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
53345 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
53346 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
53347 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53348 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
53349 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
53350 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53351 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53352 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53353 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
53354 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53355 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53356 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53357 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53358 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53359 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
53360 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
53361 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
53362 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
53363 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53364 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
53365 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
53366 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53367 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
53368 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53369 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53370 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
53371 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53372 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
53373 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
53374 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
53375 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53376 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53377 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53378 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53379 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53380 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53381 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53382 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53383 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
53384 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53385 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53386 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53387 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
53388 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53389 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
53390 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53391 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53392 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53393 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53394 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53395 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53396 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53397 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53398 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53399 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53400 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
53401 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
53402 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
53403 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
53404 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53405 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53406 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
53407 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53408 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53409 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
53410 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53411 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
53412 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53413 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53414 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
53415 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53416 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
53417 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
53418 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53419 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53420 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
53421 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53422 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
53423 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
53424 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
53425 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
53426 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
53427 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53428 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53429 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53430 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53431 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
53432 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
53433 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
53434 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53435 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
53436 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
53437 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
53438 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53439 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
53440 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53441 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
53442 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
53443 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
53444 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53445 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
53446 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
53447 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53448 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53449 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
53450 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53451 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53452 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53453 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53454 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53455 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53456 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
53457 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53458 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53459 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53460 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53461 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53462 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53463 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
53464 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53465 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53466 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53467 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53468 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53469 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53470 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53471 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
53472 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53473 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53474 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
53475 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
53476 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53477 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53478 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53479 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53480 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53481 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53482 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53483 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53484 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53485 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53486 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53487 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53488 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
53489 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53490 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
53491 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53492 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
53493 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
53494 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53495 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
53496 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53497 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
53498 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
53499 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53500 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
53501 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
53502 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
53503 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53504 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53505 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53506 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
53507 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53508 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53509 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53510 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53511 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53512 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53513 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53514 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53515 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53516 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53517 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53518 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53519 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53520 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53521 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53522 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53523 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53524 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53525 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
53526 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
53527 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53528 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
53529 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53530 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
53531 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
53532 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
53533 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53534 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
53535 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
53536 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53537 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53538 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
53539 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
53540 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53541 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
53542 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
53543 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53544 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
53545 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53546 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53547 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
53548 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
53549 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53550 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
53551 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53552 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
53553 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53554 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
53555 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
53556 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53557 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
53558 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
53559 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53560 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53561 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
53562 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53563 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
53564 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53565 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
53566 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53567 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
53568 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53569 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53570 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
53571 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53572 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
53573 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
53574 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
53575 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53576 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
53577 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
53578 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
53579 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53580 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
53581 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53582 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53583 { (char *)"Control_GetLabel", (PyCFunction
)_wrap_Control_GetLabel
, METH_O
, NULL
},
53584 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53585 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
53586 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
53587 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53588 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53589 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53590 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
53591 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53592 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53593 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53594 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
53595 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
53596 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53597 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
53598 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53599 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53600 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53601 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
53602 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53603 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
53604 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53605 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
53606 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
53607 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
53608 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
53609 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53610 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53611 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53612 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
53613 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
53614 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
53615 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
53616 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53617 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
53618 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
53619 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53620 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53621 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53622 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53623 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
53624 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
53625 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
53626 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
53627 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
53628 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53629 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
53630 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53631 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
53632 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53633 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
53634 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
53635 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53636 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
53637 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53638 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
53639 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53640 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53641 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
53642 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
53643 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
53644 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53645 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
53646 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
53647 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
53648 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53649 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53650 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53651 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53652 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53653 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53654 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53655 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53656 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53657 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53658 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53659 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53660 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53661 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
53662 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
53663 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
53664 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
53665 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
53666 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
53667 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53668 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53669 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53670 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53671 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53672 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
53673 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
53674 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53675 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53676 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53677 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
53678 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
53679 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53680 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
53681 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
53682 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53683 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
53684 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53685 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
53686 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
53687 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53688 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
53689 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
53690 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
53691 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53692 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53693 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53694 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53695 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53696 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
53697 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
53698 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
53699 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
53700 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
53701 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
53702 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53703 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53704 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53705 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53706 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53707 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53708 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
53709 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53710 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
53711 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
53712 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
53713 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
53714 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
53715 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
53716 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53717 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
53718 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53719 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53720 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53721 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
53722 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
53723 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
53724 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
53725 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
53726 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
53727 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
53728 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53729 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
53730 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
53731 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
53732 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53733 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53734 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53735 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53736 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53737 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
53738 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
53739 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
53740 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53741 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
53742 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
53743 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
53744 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53745 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53746 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53747 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53748 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53749 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
53750 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
53751 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
53752 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
53753 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
53754 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53755 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53756 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53757 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
53758 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
53759 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53760 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53761 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53762 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53763 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
53764 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
53765 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53766 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
53767 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
53768 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53769 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53770 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53771 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53772 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
53773 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53774 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
53775 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
53776 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
53777 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
53778 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
53779 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53780 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53781 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53782 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53783 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
53784 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
53785 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53786 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53787 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53788 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53789 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53790 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53791 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53792 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53793 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
53794 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
53795 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
53796 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
53797 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53798 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53799 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
53800 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53801 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
53802 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
53803 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
53804 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
53805 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53806 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
53807 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53808 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53809 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53810 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53811 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
53812 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
53813 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
53814 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
53815 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
53816 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
53817 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
53818 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
53819 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
53820 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
53821 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
53822 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53823 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
53824 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
53825 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
53826 { NULL
, NULL
, 0, NULL
}
53830 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
53832 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
53833 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
53835 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
53836 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
53838 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
53839 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53841 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
53842 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53844 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
53845 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53847 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
53848 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
53850 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
53851 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
53853 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
53854 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
53856 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
53857 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53859 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
53860 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53862 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
53863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
53865 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
53866 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
53868 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
53869 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
53871 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
53872 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
53874 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
53875 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
53877 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
53878 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
53880 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
53881 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
53883 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
53884 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
53886 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
53887 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
53889 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
53890 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
53892 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
53893 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
53895 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
53896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
53898 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
53899 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
53901 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
53902 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
53904 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
53905 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
53907 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
53908 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
53910 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
53911 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
53913 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
53914 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
53916 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
53917 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
53919 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
53920 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
53922 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
53923 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
53925 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
53926 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
53928 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
53929 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
53931 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
53932 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
53934 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
53935 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
53937 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
53938 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
53940 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
53941 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
53943 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
53944 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
53946 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
53947 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
53949 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
53950 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
53952 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
53953 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
53955 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
53956 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
53958 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
53959 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
53961 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
53962 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
53964 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
53965 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
53967 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
53968 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
53970 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
53971 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53973 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
53974 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
53976 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
53977 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53979 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
53980 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
53982 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
53983 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
53985 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
53986 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
53988 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
53989 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
53991 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
53992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
53994 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
53995 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
53997 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
53998 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
54000 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
54001 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
54003 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
54004 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
54006 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
54007 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
54009 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
54010 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
54012 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
54013 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
54015 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
54016 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
54018 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
54019 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
54021 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
54022 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
54024 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
54025 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54027 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
54028 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
54030 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
54031 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
54033 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
54034 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
54036 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
54037 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54039 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
54040 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54042 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
54043 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
54045 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
54046 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
54048 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
54049 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
54051 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
54052 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
54054 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
54055 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
54057 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
54058 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
54060 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
54061 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
54063 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
54064 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
54066 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54067 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
54069 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54070 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
54072 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54073 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
54075 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
54076 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
54078 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
54079 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
54081 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
54082 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
54084 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
54085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
54087 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
54088 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
54090 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
54091 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
54093 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
54094 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
54096 static void *_p_wxSizerTo_p_wxObject(void *x
) {
54097 return (void *)((wxObject
*) ((wxSizer
*) x
));
54099 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
54100 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54102 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
54103 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54105 static void *_p_wxEventTo_p_wxObject(void *x
) {
54106 return (void *)((wxObject
*) ((wxEvent
*) x
));
54108 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
54109 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54111 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
54112 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
54114 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
54115 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
54117 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
54118 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
54120 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
54121 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
54123 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
54124 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
54126 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
54127 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
54129 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
54130 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
54132 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
54133 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
54135 static void *_p_wxControlTo_p_wxObject(void *x
) {
54136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
54138 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
54139 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
54141 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
54142 return (void *)((wxObject
*) ((wxFSFile
*) x
));
54144 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
54145 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
54147 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
54148 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
54150 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
54151 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54153 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
54154 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
54156 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
54157 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
54159 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
54160 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
54162 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
54163 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
54165 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
54166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54168 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
54169 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
54171 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
54172 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
54174 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
54175 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
54177 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
54178 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
54180 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
54181 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
54183 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
54184 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
54186 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
54187 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
54189 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
54190 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
54192 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
54193 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
54195 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
54196 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
54198 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
54199 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
54201 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
54202 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54204 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
54205 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54207 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
54208 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
54210 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
54211 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
54213 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
54214 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
54216 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
54217 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
54219 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
54220 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
54222 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
54223 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
54225 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
54226 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
54228 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
54229 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
54231 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
54232 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
54234 static void *_p_wxImageTo_p_wxObject(void *x
) {
54235 return (void *)((wxObject
*) ((wxImage
*) x
));
54237 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
54238 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
54240 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
54241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54243 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
54244 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54246 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
54247 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
54249 static void *_p_wxWindowTo_p_wxObject(void *x
) {
54250 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
54252 static void *_p_wxMenuTo_p_wxObject(void *x
) {
54253 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
54255 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
54256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
54258 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
54259 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
54261 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
54262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54264 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
54265 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
54267 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
54268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
54270 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
54271 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
54273 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
54274 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
54276 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
54277 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
54279 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
54280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54282 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
54283 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
54285 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
54286 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
54288 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
54289 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
54291 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
54292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54294 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
54295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54297 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
54298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
54300 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
54301 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
54303 static void *_p_wxControlTo_p_wxWindow(void *x
) {
54304 return (void *)((wxWindow
*) ((wxControl
*) x
));
54306 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
54307 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
54309 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
54310 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
54312 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
54313 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54315 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
54316 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
54318 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
54319 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54321 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
54322 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
54324 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
54325 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54327 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
54328 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54330 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
54331 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54333 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
54334 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54336 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
54337 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54339 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
54340 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
54342 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
54343 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
54344 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};
54345 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
54346 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
54347 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
54348 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
54349 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
54350 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
54351 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
54352 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
54353 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
54354 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
54355 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
54356 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
54357 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
54358 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
54359 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
54360 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
54361 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
54362 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
54363 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
54364 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
54365 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
54366 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
54367 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
54368 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
54369 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
54370 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
54371 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
54372 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
54373 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
54374 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
54375 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
54376 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
54377 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
54378 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
54379 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
54380 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
54381 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
54382 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
54383 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
54384 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
54385 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
54386 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
54387 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
54388 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
54389 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
54390 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
54391 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
54392 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
54393 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
54394 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
54395 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
54396 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
54397 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
54398 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
54399 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
54400 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
54401 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
54402 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
54403 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
54404 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
54405 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
54406 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
54407 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
54408 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
54409 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
54410 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
54411 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
54412 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
54413 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
54414 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
54415 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
54416 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
54417 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
54418 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
54419 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
54420 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
54421 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
54422 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
54423 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
54424 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
54425 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
54426 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
54427 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
54428 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
54429 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
54430 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
54431 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
54432 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
54433 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
54434 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
54435 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
54436 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
54437 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
54438 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
54439 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
54440 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
54441 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
54442 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
54443 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
54444 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
54445 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
54446 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
54447 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
54448 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
54449 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
54450 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
54451 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
54452 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
54453 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
54454 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
54455 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
54456 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
54457 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
54458 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
54459 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
54460 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
54461 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
54462 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
54463 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
54464 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
54465 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
54466 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
54467 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
54468 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
54469 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
54470 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
54472 static swig_type_info
*swig_type_initial
[] = {
54475 &_swigt__p_form_ops_t
,
54478 &_swigt__p_unsigned_char
,
54479 &_swigt__p_unsigned_int
,
54480 &_swigt__p_unsigned_long
,
54481 &_swigt__p_wxANIHandler
,
54482 &_swigt__p_wxAcceleratorEntry
,
54483 &_swigt__p_wxAcceleratorTable
,
54484 &_swigt__p_wxActivateEvent
,
54485 &_swigt__p_wxAppTraits
,
54486 &_swigt__p_wxArrayString
,
54487 &_swigt__p_wxBMPHandler
,
54488 &_swigt__p_wxBitmap
,
54489 &_swigt__p_wxBoxSizer
,
54490 &_swigt__p_wxButton
,
54491 &_swigt__p_wxCURHandler
,
54492 &_swigt__p_wxCaret
,
54493 &_swigt__p_wxChildFocusEvent
,
54494 &_swigt__p_wxCloseEvent
,
54495 &_swigt__p_wxColour
,
54496 &_swigt__p_wxCommandEvent
,
54497 &_swigt__p_wxContextMenuEvent
,
54498 &_swigt__p_wxControl
,
54499 &_swigt__p_wxControlWithItems
,
54500 &_swigt__p_wxCursor
,
54502 &_swigt__p_wxDateEvent
,
54503 &_swigt__p_wxDateTime
,
54504 &_swigt__p_wxDisplayChangedEvent
,
54505 &_swigt__p_wxDropFilesEvent
,
54506 &_swigt__p_wxDuplexMode
,
54507 &_swigt__p_wxEraseEvent
,
54508 &_swigt__p_wxEvent
,
54509 &_swigt__p_wxEventLoop
,
54510 &_swigt__p_wxEventLoopActivator
,
54511 &_swigt__p_wxEvtHandler
,
54512 &_swigt__p_wxFSFile
,
54513 &_swigt__p_wxFileSystem
,
54514 &_swigt__p_wxFileSystemHandler
,
54515 &_swigt__p_wxFlexGridSizer
,
54516 &_swigt__p_wxFocusEvent
,
54518 &_swigt__p_wxFrame
,
54519 &_swigt__p_wxGBPosition
,
54520 &_swigt__p_wxGBSizerItem
,
54521 &_swigt__p_wxGBSpan
,
54522 &_swigt__p_wxGIFHandler
,
54523 &_swigt__p_wxGridBagSizer
,
54524 &_swigt__p_wxGridSizer
,
54525 &_swigt__p_wxICOHandler
,
54526 &_swigt__p_wxIconizeEvent
,
54527 &_swigt__p_wxIdleEvent
,
54528 &_swigt__p_wxImage
,
54529 &_swigt__p_wxImageHandler
,
54530 &_swigt__p_wxImageHistogram
,
54531 &_swigt__p_wxImage_HSVValue
,
54532 &_swigt__p_wxImage_RGBValue
,
54533 &_swigt__p_wxIndividualLayoutConstraint
,
54534 &_swigt__p_wxInitDialogEvent
,
54535 &_swigt__p_wxInputStream
,
54536 &_swigt__p_wxInternetFSHandler
,
54537 &_swigt__p_wxItemContainer
,
54538 &_swigt__p_wxJPEGHandler
,
54539 &_swigt__p_wxKeyEvent
,
54540 &_swigt__p_wxLayoutConstraints
,
54541 &_swigt__p_wxMaximizeEvent
,
54542 &_swigt__p_wxMemoryFSHandler
,
54544 &_swigt__p_wxMenuBar
,
54545 &_swigt__p_wxMenuBarBase
,
54546 &_swigt__p_wxMenuEvent
,
54547 &_swigt__p_wxMenuItem
,
54548 &_swigt__p_wxMouseCaptureChangedEvent
,
54549 &_swigt__p_wxMouseEvent
,
54550 &_swigt__p_wxMoveEvent
,
54551 &_swigt__p_wxNavigationKeyEvent
,
54552 &_swigt__p_wxNcPaintEvent
,
54553 &_swigt__p_wxNotifyEvent
,
54554 &_swigt__p_wxObject
,
54555 &_swigt__p_wxOutputStream
,
54556 &_swigt__p_wxPCXHandler
,
54557 &_swigt__p_wxPNGHandler
,
54558 &_swigt__p_wxPNMHandler
,
54559 &_swigt__p_wxPaintEvent
,
54560 &_swigt__p_wxPaletteChangedEvent
,
54561 &_swigt__p_wxPaperSize
,
54562 &_swigt__p_wxPoint
,
54563 &_swigt__p_wxPoint2D
,
54564 &_swigt__p_wxPropagateOnce
,
54565 &_swigt__p_wxPropagationDisabler
,
54566 &_swigt__p_wxPyApp
,
54567 &_swigt__p_wxPyCommandEvent
,
54568 &_swigt__p_wxPyDropTarget
,
54569 &_swigt__p_wxPyEvent
,
54570 &_swigt__p_wxPyFileSystemHandler
,
54571 &_swigt__p_wxPyImageHandler
,
54572 &_swigt__p_wxPyInputStream
,
54573 &_swigt__p_wxPySizer
,
54574 &_swigt__p_wxPyValidator
,
54575 &_swigt__p_wxQuantize
,
54576 &_swigt__p_wxQueryNewPaletteEvent
,
54577 &_swigt__p_wxRealPoint
,
54579 &_swigt__p_wxRegion
,
54580 &_swigt__p_wxScrollEvent
,
54581 &_swigt__p_wxScrollWinEvent
,
54582 &_swigt__p_wxSetCursorEvent
,
54583 &_swigt__p_wxShowEvent
,
54585 &_swigt__p_wxSizeEvent
,
54586 &_swigt__p_wxSizer
,
54587 &_swigt__p_wxSizerItem
,
54588 &_swigt__p_wxStaticBox
,
54589 &_swigt__p_wxStaticBoxSizer
,
54590 &_swigt__p_wxStdDialogButtonSizer
,
54591 &_swigt__p_wxSysColourChangedEvent
,
54592 &_swigt__p_wxTIFFHandler
,
54593 &_swigt__p_wxToolTip
,
54594 &_swigt__p_wxUpdateUIEvent
,
54595 &_swigt__p_wxValidator
,
54596 &_swigt__p_wxVisualAttributes
,
54597 &_swigt__p_wxWindow
,
54598 &_swigt__p_wxWindowCreateEvent
,
54599 &_swigt__p_wxWindowDestroyEvent
,
54600 &_swigt__p_wxXPMHandler
,
54601 &_swigt__p_wxZipFSHandler
,
54604 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
54605 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
54606 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
54607 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
54608 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
54609 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
54610 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
54611 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
54612 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
54613 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
54614 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
54615 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54616 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
54617 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
54618 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}};
54619 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
54620 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}};
54621 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
54622 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}};
54623 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
54624 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54625 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54626 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
54627 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_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}};
54628 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54629 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}};
54630 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
54631 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
54632 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
54633 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54634 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
54635 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54636 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
54637 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
54638 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54639 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_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_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_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_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}};
54640 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
54641 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
54642 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
54643 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
54644 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
54645 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}};
54646 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}};
54647 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54648 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
54649 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
54650 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
54651 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
54652 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
54653 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54654 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
54655 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}};
54656 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}};
54657 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54658 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
54659 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
54660 static swig_cast_info _swigc__p_wxImageHandler
[] = { {&_swigt__p_wxImageHandler
, 0, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0},{0, 0, 0, 0}};
54661 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
54662 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
54663 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
54664 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
54665 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
54666 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54667 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54668 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}};
54669 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54670 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54671 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
54672 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54673 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54674 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
54675 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
54676 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
54677 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54678 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
54679 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54680 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54681 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
54682 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54683 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54684 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54685 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_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_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_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}};
54686 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
54687 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
54688 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54689 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54690 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54691 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54692 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
54693 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
54694 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
54695 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
54696 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
54697 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
54698 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
54699 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
54700 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54701 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
54702 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
54703 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54704 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
54705 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
54706 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
54707 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
54708 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
54709 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
54710 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
54711 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
54712 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
54713 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
54714 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
54715 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
54716 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54717 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}};
54718 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}};
54719 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
54720 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
54721 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
54722 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54723 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54724 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
54725 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
54726 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}};
54727 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
54728 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}};
54729 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54730 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54731 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54732 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54734 static swig_cast_info
*swig_cast_initial
[] = {
54737 _swigc__p_form_ops_t
,
54740 _swigc__p_unsigned_char
,
54741 _swigc__p_unsigned_int
,
54742 _swigc__p_unsigned_long
,
54743 _swigc__p_wxANIHandler
,
54744 _swigc__p_wxAcceleratorEntry
,
54745 _swigc__p_wxAcceleratorTable
,
54746 _swigc__p_wxActivateEvent
,
54747 _swigc__p_wxAppTraits
,
54748 _swigc__p_wxArrayString
,
54749 _swigc__p_wxBMPHandler
,
54750 _swigc__p_wxBitmap
,
54751 _swigc__p_wxBoxSizer
,
54752 _swigc__p_wxButton
,
54753 _swigc__p_wxCURHandler
,
54755 _swigc__p_wxChildFocusEvent
,
54756 _swigc__p_wxCloseEvent
,
54757 _swigc__p_wxColour
,
54758 _swigc__p_wxCommandEvent
,
54759 _swigc__p_wxContextMenuEvent
,
54760 _swigc__p_wxControl
,
54761 _swigc__p_wxControlWithItems
,
54762 _swigc__p_wxCursor
,
54764 _swigc__p_wxDateEvent
,
54765 _swigc__p_wxDateTime
,
54766 _swigc__p_wxDisplayChangedEvent
,
54767 _swigc__p_wxDropFilesEvent
,
54768 _swigc__p_wxDuplexMode
,
54769 _swigc__p_wxEraseEvent
,
54771 _swigc__p_wxEventLoop
,
54772 _swigc__p_wxEventLoopActivator
,
54773 _swigc__p_wxEvtHandler
,
54774 _swigc__p_wxFSFile
,
54775 _swigc__p_wxFileSystem
,
54776 _swigc__p_wxFileSystemHandler
,
54777 _swigc__p_wxFlexGridSizer
,
54778 _swigc__p_wxFocusEvent
,
54781 _swigc__p_wxGBPosition
,
54782 _swigc__p_wxGBSizerItem
,
54783 _swigc__p_wxGBSpan
,
54784 _swigc__p_wxGIFHandler
,
54785 _swigc__p_wxGridBagSizer
,
54786 _swigc__p_wxGridSizer
,
54787 _swigc__p_wxICOHandler
,
54788 _swigc__p_wxIconizeEvent
,
54789 _swigc__p_wxIdleEvent
,
54791 _swigc__p_wxImageHandler
,
54792 _swigc__p_wxImageHistogram
,
54793 _swigc__p_wxImage_HSVValue
,
54794 _swigc__p_wxImage_RGBValue
,
54795 _swigc__p_wxIndividualLayoutConstraint
,
54796 _swigc__p_wxInitDialogEvent
,
54797 _swigc__p_wxInputStream
,
54798 _swigc__p_wxInternetFSHandler
,
54799 _swigc__p_wxItemContainer
,
54800 _swigc__p_wxJPEGHandler
,
54801 _swigc__p_wxKeyEvent
,
54802 _swigc__p_wxLayoutConstraints
,
54803 _swigc__p_wxMaximizeEvent
,
54804 _swigc__p_wxMemoryFSHandler
,
54806 _swigc__p_wxMenuBar
,
54807 _swigc__p_wxMenuBarBase
,
54808 _swigc__p_wxMenuEvent
,
54809 _swigc__p_wxMenuItem
,
54810 _swigc__p_wxMouseCaptureChangedEvent
,
54811 _swigc__p_wxMouseEvent
,
54812 _swigc__p_wxMoveEvent
,
54813 _swigc__p_wxNavigationKeyEvent
,
54814 _swigc__p_wxNcPaintEvent
,
54815 _swigc__p_wxNotifyEvent
,
54816 _swigc__p_wxObject
,
54817 _swigc__p_wxOutputStream
,
54818 _swigc__p_wxPCXHandler
,
54819 _swigc__p_wxPNGHandler
,
54820 _swigc__p_wxPNMHandler
,
54821 _swigc__p_wxPaintEvent
,
54822 _swigc__p_wxPaletteChangedEvent
,
54823 _swigc__p_wxPaperSize
,
54825 _swigc__p_wxPoint2D
,
54826 _swigc__p_wxPropagateOnce
,
54827 _swigc__p_wxPropagationDisabler
,
54829 _swigc__p_wxPyCommandEvent
,
54830 _swigc__p_wxPyDropTarget
,
54831 _swigc__p_wxPyEvent
,
54832 _swigc__p_wxPyFileSystemHandler
,
54833 _swigc__p_wxPyImageHandler
,
54834 _swigc__p_wxPyInputStream
,
54835 _swigc__p_wxPySizer
,
54836 _swigc__p_wxPyValidator
,
54837 _swigc__p_wxQuantize
,
54838 _swigc__p_wxQueryNewPaletteEvent
,
54839 _swigc__p_wxRealPoint
,
54841 _swigc__p_wxRegion
,
54842 _swigc__p_wxScrollEvent
,
54843 _swigc__p_wxScrollWinEvent
,
54844 _swigc__p_wxSetCursorEvent
,
54845 _swigc__p_wxShowEvent
,
54847 _swigc__p_wxSizeEvent
,
54849 _swigc__p_wxSizerItem
,
54850 _swigc__p_wxStaticBox
,
54851 _swigc__p_wxStaticBoxSizer
,
54852 _swigc__p_wxStdDialogButtonSizer
,
54853 _swigc__p_wxSysColourChangedEvent
,
54854 _swigc__p_wxTIFFHandler
,
54855 _swigc__p_wxToolTip
,
54856 _swigc__p_wxUpdateUIEvent
,
54857 _swigc__p_wxValidator
,
54858 _swigc__p_wxVisualAttributes
,
54859 _swigc__p_wxWindow
,
54860 _swigc__p_wxWindowCreateEvent
,
54861 _swigc__p_wxWindowDestroyEvent
,
54862 _swigc__p_wxXPMHandler
,
54863 _swigc__p_wxZipFSHandler
,
54867 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
54869 static swig_const_info swig_const_table
[] = {
54870 {0, 0, 0, 0.0, 0, 0}};
54875 /* -----------------------------------------------------------------------------
54876 * Type initialization:
54877 * This problem is tough by the requirement that no dynamic
54878 * memory is used. Also, since swig_type_info structures store pointers to
54879 * swig_cast_info structures and swig_cast_info structures store pointers back
54880 * to swig_type_info structures, we need some lookup code at initialization.
54881 * The idea is that swig generates all the structures that are needed.
54882 * The runtime then collects these partially filled structures.
54883 * The SWIG_InitializeModule function takes these initial arrays out of
54884 * swig_module, and does all the lookup, filling in the swig_module.types
54885 * array with the correct data and linking the correct swig_cast_info
54886 * structures together.
54888 * The generated swig_type_info structures are assigned staticly to an initial
54889 * array. We just loop though that array, and handle each type individually.
54890 * First we lookup if this type has been already loaded, and if so, use the
54891 * loaded structure instead of the generated one. Then we have to fill in the
54892 * cast linked list. The cast data is initially stored in something like a
54893 * two-dimensional array. Each row corresponds to a type (there are the same
54894 * number of rows as there are in the swig_type_initial array). Each entry in
54895 * a column is one of the swig_cast_info structures for that type.
54896 * The cast_initial array is actually an array of arrays, because each row has
54897 * a variable number of columns. So to actually build the cast linked list,
54898 * we find the array of casts associated with the type, and loop through it
54899 * adding the casts to the list. The one last trick we need to do is making
54900 * sure the type pointer in the swig_cast_info struct is correct.
54902 * First off, we lookup the cast->type name to see if it is already loaded.
54903 * There are three cases to handle:
54904 * 1) If the cast->type has already been loaded AND the type we are adding
54905 * casting info to has not been loaded (it is in this module), THEN we
54906 * replace the cast->type pointer with the type pointer that has already
54908 * 2) If BOTH types (the one we are adding casting info to, and the
54909 * cast->type) are loaded, THEN the cast info has already been loaded by
54910 * the previous module so we just ignore it.
54911 * 3) Finally, if cast->type has not already been loaded, then we add that
54912 * swig_cast_info to the linked list (because the cast->type) pointer will
54914 * ----------------------------------------------------------------------------- */
54924 #define SWIGRUNTIME_DEBUG
54928 SWIG_InitializeModule(void *clientdata
) {
54930 swig_module_info
*module_head
;
54931 static int init_run
= 0;
54933 clientdata
= clientdata
;
54935 if (init_run
) return;
54938 /* Initialize the swig_module */
54939 swig_module
.type_initial
= swig_type_initial
;
54940 swig_module
.cast_initial
= swig_cast_initial
;
54942 /* Try and load any already created modules */
54943 module_head
= SWIG_GetModule(clientdata
);
54945 swig_module
.next
= module_head
->next
;
54946 module_head
->next
= &swig_module
;
54948 /* This is the first module loaded */
54949 swig_module
.next
= &swig_module
;
54950 SWIG_SetModule(clientdata
, &swig_module
);
54953 /* Now work on filling in swig_module.types */
54954 #ifdef SWIGRUNTIME_DEBUG
54955 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
54957 for (i
= 0; i
< swig_module
.size
; ++i
) {
54958 swig_type_info
*type
= 0;
54959 swig_type_info
*ret
;
54960 swig_cast_info
*cast
;
54962 #ifdef SWIGRUNTIME_DEBUG
54963 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
54966 /* if there is another module already loaded */
54967 if (swig_module
.next
!= &swig_module
) {
54968 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
54971 /* Overwrite clientdata field */
54972 #ifdef SWIGRUNTIME_DEBUG
54973 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
54975 if (swig_module
.type_initial
[i
]->clientdata
) {
54976 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
54977 #ifdef SWIGRUNTIME_DEBUG
54978 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
54982 type
= swig_module
.type_initial
[i
];
54985 /* Insert casting types */
54986 cast
= swig_module
.cast_initial
[i
];
54987 while (cast
->type
) {
54988 /* Don't need to add information already in the list */
54990 #ifdef SWIGRUNTIME_DEBUG
54991 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
54993 if (swig_module
.next
!= &swig_module
) {
54994 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
54995 #ifdef SWIGRUNTIME_DEBUG
54996 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
55000 if (type
== swig_module
.type_initial
[i
]) {
55001 #ifdef SWIGRUNTIME_DEBUG
55002 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
55007 /* Check for casting already in the list */
55008 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
55009 #ifdef SWIGRUNTIME_DEBUG
55010 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
55012 if (!ocast
) ret
= 0;
55017 #ifdef SWIGRUNTIME_DEBUG
55018 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
55021 type
->cast
->prev
= cast
;
55022 cast
->next
= type
->cast
;
55028 /* Set entry in modules->types array equal to the type */
55029 swig_module
.types
[i
] = type
;
55031 swig_module
.types
[i
] = 0;
55033 #ifdef SWIGRUNTIME_DEBUG
55034 printf("**** SWIG_InitializeModule: Cast List ******\n");
55035 for (i
= 0; i
< swig_module
.size
; ++i
) {
55037 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
55038 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55039 while (cast
->type
) {
55040 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
55044 printf("---- Total casts: %d\n",j
);
55046 printf("**** SWIG_InitializeModule: Cast List ******\n");
55050 /* This function will propagate the clientdata field of type to
55051 * any new swig_type_info structures that have been added into the list
55052 * of equivalent types. It is like calling
55053 * SWIG_TypeClientData(type, clientdata) a second time.
55056 SWIG_PropagateClientData(void) {
55058 swig_cast_info
*equiv
;
55059 static int init_run
= 0;
55061 if (init_run
) return;
55064 for (i
= 0; i
< swig_module
.size
; i
++) {
55065 if (swig_module
.types
[i
]->clientdata
) {
55066 equiv
= swig_module
.types
[i
]->cast
;
55068 if (!equiv
->converter
) {
55069 if (equiv
->type
&& !equiv
->type
->clientdata
)
55070 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
55072 equiv
= equiv
->next
;
55092 /* Python-specific SWIG API */
55093 #define SWIG_newvarlink() SWIG_Python_newvarlink()
55094 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
55095 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
55097 /* -----------------------------------------------------------------------------
55098 * global variable support code.
55099 * ----------------------------------------------------------------------------- */
55101 typedef struct swig_globalvar
{
55102 char *name
; /* Name of global variable */
55103 PyObject
*(*get_attr
)(void); /* Return the current value */
55104 int (*set_attr
)(PyObject
*); /* Set the value */
55105 struct swig_globalvar
*next
;
55108 typedef struct swig_varlinkobject
{
55110 swig_globalvar
*vars
;
55111 } swig_varlinkobject
;
55113 SWIGINTERN PyObject
*
55114 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
55115 return PyString_FromString("<Swig global variables>");
55118 SWIGINTERN PyObject
*
55119 swig_varlink_str(swig_varlinkobject
*v
) {
55120 PyObject
*str
= PyString_FromString("(");
55121 swig_globalvar
*var
;
55122 for (var
= v
->vars
; var
; var
=var
->next
) {
55123 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
55124 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
55126 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
55131 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
55132 PyObject
*str
= swig_varlink_str(v
);
55133 fprintf(fp
,"Swig global variables ");
55134 fprintf(fp
,"%s\n", PyString_AsString(str
));
55140 swig_varlink_dealloc(swig_varlinkobject
*v
) {
55141 swig_globalvar
*var
= v
->vars
;
55143 swig_globalvar
*n
= var
->next
;
55150 SWIGINTERN PyObject
*
55151 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
55152 PyObject
*res
= NULL
;
55153 swig_globalvar
*var
= v
->vars
;
55155 if (strcmp(var
->name
,n
) == 0) {
55156 res
= (*var
->get_attr
)();
55161 if (res
== NULL
&& !PyErr_Occurred()) {
55162 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55168 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
55170 swig_globalvar
*var
= v
->vars
;
55172 if (strcmp(var
->name
,n
) == 0) {
55173 res
= (*var
->set_attr
)(p
);
55178 if (res
== 1 && !PyErr_Occurred()) {
55179 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55184 SWIGINTERN PyTypeObject
*
55185 swig_varlink_type(void) {
55186 static char varlink__doc__
[] = "Swig var link object";
55187 static PyTypeObject varlink_type
;
55188 static int type_init
= 0;
55190 const PyTypeObject tmp
55192 PyObject_HEAD_INIT(NULL
)
55193 0, /* Number of items in variable part (ob_size) */
55194 (char *)"swigvarlink", /* Type name (tp_name) */
55195 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
55196 0, /* Itemsize (tp_itemsize) */
55197 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
55198 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
55199 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
55200 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
55201 0, /* tp_compare */
55202 (reprfunc
) swig_varlink_repr
, /* tp_repr */
55203 0, /* tp_as_number */
55204 0, /* tp_as_sequence */
55205 0, /* tp_as_mapping */
55208 (reprfunc
)swig_varlink_str
, /* tp_str */
55209 0, /* tp_getattro */
55210 0, /* tp_setattro */
55211 0, /* tp_as_buffer */
55213 varlink__doc__
, /* tp_doc */
55214 0, /* tp_traverse */
55216 0, /* tp_richcompare */
55217 0, /* tp_weaklistoffset */
55218 #if PY_VERSION_HEX >= 0x02020000
55219 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
55221 #if PY_VERSION_HEX >= 0x02030000
55224 #ifdef COUNT_ALLOCS
55225 0,0,0,0 /* tp_alloc -> tp_next */
55228 varlink_type
= tmp
;
55229 varlink_type
.ob_type
= &PyType_Type
;
55232 return &varlink_type
;
55235 /* Create a variable linking object for use later */
55236 SWIGINTERN PyObject
*
55237 SWIG_Python_newvarlink(void) {
55238 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
55242 return ((PyObject
*) result
);
55246 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
55247 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
55248 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
55250 size_t size
= strlen(name
)+1;
55251 gv
->name
= (char *)malloc(size
);
55253 strncpy(gv
->name
,name
,size
);
55254 gv
->get_attr
= get_attr
;
55255 gv
->set_attr
= set_attr
;
55256 gv
->next
= v
->vars
;
55262 SWIGINTERN PyObject
*
55264 static PyObject
*_SWIG_globals
= 0;
55265 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
55266 return _SWIG_globals
;
55269 /* -----------------------------------------------------------------------------
55270 * constants/methods manipulation
55271 * ----------------------------------------------------------------------------- */
55273 /* Install Constants */
55275 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
55278 for (i
= 0; constants
[i
].type
; ++i
) {
55279 switch(constants
[i
].type
) {
55280 case SWIG_PY_POINTER
:
55281 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
55283 case SWIG_PY_BINARY
:
55284 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
55291 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
55297 /* -----------------------------------------------------------------------------*/
55298 /* Fix SwigMethods to carry the callback ptrs when needed */
55299 /* -----------------------------------------------------------------------------*/
55302 SWIG_Python_FixMethods(PyMethodDef
*methods
,
55303 swig_const_info
*const_table
,
55304 swig_type_info
**types
,
55305 swig_type_info
**types_initial
) {
55307 for (i
= 0; methods
[i
].ml_name
; ++i
) {
55308 char *c
= methods
[i
].ml_doc
;
55309 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
55311 swig_const_info
*ci
= 0;
55312 char *name
= c
+ 10;
55313 for (j
= 0; const_table
[j
].type
; ++j
) {
55314 if (strncmp(const_table
[j
].name
, name
,
55315 strlen(const_table
[j
].name
)) == 0) {
55316 ci
= &(const_table
[j
]);
55321 size_t shift
= (ci
->ptype
) - types
;
55322 swig_type_info
*ty
= types_initial
[shift
];
55323 size_t ldoc
= (c
- methods
[i
].ml_doc
);
55324 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
55325 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
55328 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
55330 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
55332 strncpy(buff
, "swig_ptr: ", 10);
55334 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
55335 methods
[i
].ml_doc
= ndoc
;
55347 /* -----------------------------------------------------------------------------*
55348 * Partial Init method
55349 * -----------------------------------------------------------------------------*/
55354 SWIGEXPORT
void SWIG_init(void) {
55357 /* Fix SwigMethods to carry the callback ptrs when needed */
55358 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
55360 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
55361 d
= PyModule_GetDict(m
);
55363 SWIG_InitializeModule(0);
55364 SWIG_InstallConstants(d
,swig_const_table
);
55368 #ifndef wxPyUSE_EXPORT
55369 // Make our API structure a CObject so other modules can import it
55370 // from this module.
55371 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
55372 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
55376 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
55377 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
55378 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
55379 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
55380 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
55381 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
55382 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
55383 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
55384 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
55385 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
55386 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
55387 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
55388 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
55389 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
55390 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
55391 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
55392 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
55393 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
55394 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
55395 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
55396 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
55397 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
55398 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
55399 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
55400 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
55401 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
55402 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
55403 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
55404 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
55405 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
55406 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
55407 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
55408 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
55409 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
55410 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
55411 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
55412 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
55413 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
55414 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
55415 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
55416 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
55417 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
55418 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
55419 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
55420 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
55421 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
55422 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
55423 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
55424 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
55425 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
55426 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
55427 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
55428 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
55429 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
55430 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
55431 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
55432 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
55433 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
55434 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
55435 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
55436 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
55437 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
55438 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
55439 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
55440 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
55441 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
55442 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
55443 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
55444 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
55445 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
55446 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
55447 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
55448 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
55449 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
55450 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
55451 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
55452 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
55453 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
55454 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
55455 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
55456 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
55457 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
55458 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
55459 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
55460 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
55461 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
55462 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
55463 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
55464 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
55465 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
55466 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
55467 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
55468 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
55469 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
55470 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
55471 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
55472 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
55473 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
55474 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
55475 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
55476 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
55477 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
55478 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
55479 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
55480 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
55481 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
55482 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
55483 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
55484 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
55485 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
55486 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
55487 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
55488 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
55489 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
55490 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
55491 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
55492 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
55493 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
55494 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
55495 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
55496 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
55497 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
55498 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
55499 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
55500 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
55501 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
55502 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
55503 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
55504 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
55505 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
55506 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
55507 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
55508 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
55509 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
55510 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
55511 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
55512 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
55513 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
55514 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
55515 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
55516 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
55517 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
55518 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
55519 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
55520 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
55521 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
55522 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
55523 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
55524 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
55525 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
55526 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
55527 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
55528 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
55529 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
55530 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
55531 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
55532 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
55533 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
55534 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
55535 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
55536 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
55537 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
55538 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
55539 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
55540 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
55541 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
55542 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
55543 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
55544 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
55545 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
55546 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
55547 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
55548 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
55549 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
55550 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
55551 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
55552 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
55553 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
55554 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
55555 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
55556 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
55557 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
55558 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
55559 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
55560 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
55561 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
55562 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
55563 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
55564 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
55565 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
55566 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
55567 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
55568 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
55569 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
55570 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
55571 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
55572 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
55573 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
55574 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
55575 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
55576 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
55577 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
55578 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
55579 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
55580 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
55581 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
55582 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
55583 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
55584 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
55585 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
55586 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
55587 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
55588 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
55589 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
55590 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
55591 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
55592 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
55593 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
55594 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
55595 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
55596 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
55597 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
55598 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
55599 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
55600 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
55601 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
55602 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
55603 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
55604 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
55605 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
55606 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
55607 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
55608 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
55609 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
55610 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
55611 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
55612 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
55613 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
55614 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
55615 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
55616 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
55617 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
55618 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
55619 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
55620 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
55621 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
55622 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
55623 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
55624 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
55625 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
55626 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
55627 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
55628 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
55629 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
55630 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
55631 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
55632 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
55633 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
55634 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
55635 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
55636 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
55637 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
55638 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
55639 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
55640 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
55641 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
55642 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
55643 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
55644 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
55645 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
55646 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
55647 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
55648 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
55649 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
55650 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
55651 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
55652 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
55653 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
55654 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
55655 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
55656 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
55657 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
55658 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
55659 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
55660 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
55661 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
55662 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
55663 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
55664 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
55665 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
55666 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
55667 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
55668 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
55669 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
55670 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
55671 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
55672 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
55673 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
55674 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
55675 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
55676 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
55677 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
55678 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
55679 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
55680 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
55681 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
55682 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
55683 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
55684 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
55685 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
55686 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
55687 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
55688 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
55689 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
55690 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
55691 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
55692 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
55693 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
55694 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
55695 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
55696 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
55697 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
55698 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
55699 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
55700 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
55701 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
55702 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
55703 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
55704 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
55705 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
55706 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
55707 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
55708 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
55709 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
55710 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
55711 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
55712 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
55713 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
55714 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
55715 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
55716 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
55717 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
55718 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
55719 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
55720 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
55721 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
55722 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
55723 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
55724 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
55725 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
55726 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
55727 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
55728 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
55729 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
55730 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
55731 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
55732 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
55733 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
55734 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
55735 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
55736 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
55737 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
55738 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
55739 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
55740 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
55741 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
55742 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
55743 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
55744 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
55745 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
55746 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
55747 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
55748 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
55749 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
55750 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
55751 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
55752 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
55753 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
55754 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
55755 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
55756 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
55757 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
55758 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
55759 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
55760 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
55761 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
55762 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
55763 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
55764 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
55765 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
55766 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
55767 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
55768 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
55769 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
55770 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
55771 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
55772 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
55773 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
55774 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
55775 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
55776 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
55777 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
55778 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
55779 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
55780 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
55781 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
55782 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
55783 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
55784 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
55785 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
55786 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
55787 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
55788 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
55789 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
55790 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
55791 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
55792 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
55793 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
55794 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
55795 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
55796 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
55797 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
55798 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
55799 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
55800 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
55801 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
55802 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
55803 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
55804 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
55805 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
55806 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
55807 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
55808 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
55809 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
55810 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
55811 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
55812 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
55813 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
55814 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
55815 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
55816 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
55817 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
55818 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
55819 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
55820 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
55821 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
55822 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
55823 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
55824 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
55825 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
55826 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
55827 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
55828 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
55829 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
55830 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
55831 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
55832 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
55833 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
55834 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
55835 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
55836 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
55837 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
55838 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
55839 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
55840 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
55841 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
55842 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
55843 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
55844 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
55845 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
55846 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
55847 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
55848 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
55849 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
55850 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
55851 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
55852 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
55853 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
55854 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
55855 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
55856 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
55857 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
55858 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
55859 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
55860 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
55861 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
55862 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
55863 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
55864 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
55865 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
55866 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
55867 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
55868 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
55869 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
55870 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
55871 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
55872 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
55873 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
55874 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
55875 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
55876 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
55877 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
55878 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
55879 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
55880 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
55881 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
55882 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
55883 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
55884 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
55885 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
55886 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
55887 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
55888 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
55889 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
55890 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
55891 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
55892 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
55893 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
55894 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
55895 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
55896 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
55897 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
55898 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
55899 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
55900 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
55901 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
55902 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
55903 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
55904 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
55905 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
55906 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
55907 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
55908 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
55909 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
55910 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
55911 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
55912 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
55913 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
55914 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
55915 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
55916 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
55917 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
55918 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
55919 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
55920 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
55921 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
55922 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
55923 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
55924 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
55925 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
55926 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
55927 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
55928 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
55929 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
55930 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
55931 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
55932 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
55933 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
55934 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
55935 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
55936 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
55937 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
55938 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
55939 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
55940 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
55941 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
55942 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
55943 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
55944 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
55945 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
55946 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
55947 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
55948 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
55949 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
55950 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
55951 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
55952 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
55953 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
55954 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
55955 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
55956 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
55957 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
55958 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
55959 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
55960 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
55961 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
55962 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
55963 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
55964 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
55965 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
55966 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
55967 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
55968 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
55969 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
55970 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
55971 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
55972 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
55973 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
55974 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
55975 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
55976 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
55977 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
55978 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
55979 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
55980 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
55981 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
55982 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
55983 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
55984 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
55985 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
55986 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
55987 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
55988 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
55989 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
55990 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
55991 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
55992 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
55993 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
55994 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
55995 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
55996 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
55997 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
55998 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
55999 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
56000 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
56001 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
56002 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
56003 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
56004 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
56005 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
56006 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
56007 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
56008 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
56009 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
56010 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
56011 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
56012 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
56013 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
56014 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
56015 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
56016 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
56017 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
56018 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
56019 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
56020 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
56021 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
56022 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
56023 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
56024 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
56025 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
56026 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
56027 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
56028 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
56029 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
56030 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
56031 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
56032 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
56033 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
56034 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
56035 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
56036 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
56037 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
56038 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
56039 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
56040 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
56041 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
56042 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
56043 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
56044 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
56046 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
56049 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
56051 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
56052 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
56053 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
56054 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
56055 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
56056 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
56057 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
56058 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
56059 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
56060 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
56061 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
56062 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
56063 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
56064 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
56065 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
56066 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
56067 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
56068 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
56069 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
56070 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
56071 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
56072 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
56073 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
56074 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
56075 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
56076 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
56077 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
56078 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
56079 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
56080 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
56081 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
56082 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
56083 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
56084 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
56085 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
56086 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
56087 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
56088 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
56089 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
56090 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
56091 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
56092 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
56093 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
56094 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
56095 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
56096 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
56097 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
56098 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
56099 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
56100 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
56101 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
56102 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
56103 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
56104 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
56105 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
56106 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
56107 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
56108 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
56109 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
56110 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
56111 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
56112 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
56113 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
56114 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
56115 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
56116 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
56117 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
56118 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
56119 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
56120 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
56121 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
56122 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
56123 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
56124 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
56125 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
56126 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
56127 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
56128 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
56129 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
56130 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
56131 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
56132 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
56133 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
56134 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
56135 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
56136 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
56137 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
56138 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
56139 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
56140 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
56141 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
56142 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
56143 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
56144 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
56145 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
56146 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
56147 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
56148 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
56149 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
56150 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
56151 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
56152 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
56153 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
56154 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
56155 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
56156 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
56157 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
56158 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
56159 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
56160 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
56161 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
56162 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
56163 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
56164 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
56165 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
56166 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
56167 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
56168 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
56169 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
56170 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
56171 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
56172 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
56173 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
56174 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
56175 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
56176 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
56177 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
56178 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
56179 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
56180 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
56181 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
56182 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
56183 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
56184 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
56185 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
56186 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
56187 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
56188 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
56189 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
56190 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
56191 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
56192 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
56193 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
56194 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
56195 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
56196 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
56197 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
56198 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
56199 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
56200 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
56201 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
56202 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
56203 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
56204 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
56205 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
56206 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
56207 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
56208 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
56209 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
56210 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
56211 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
56212 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
56213 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
56214 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
56215 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
56216 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
56217 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
56218 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
56219 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
56220 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
56221 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
56222 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
56223 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
56224 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
56225 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
56226 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
56227 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
56228 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
56229 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
56230 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
56231 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
56232 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
56233 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
56234 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
56235 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
56236 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
56237 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
56238 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
56239 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
56240 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
56241 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
56242 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
56243 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
56244 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
56245 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
56246 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
56247 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
56248 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
56249 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
56250 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
56251 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
56252 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
56253 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
56254 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
56256 // Initialize threading, some globals and such
56260 // Although these are defined in __version__ they need to be here too so
56261 // that an assert can be done to ensure that the wxPython and the wxWindows
56263 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
56264 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
56265 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));