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"
2692 #include "wx/wxPython/twoitem.h"
2695 #ifndef wxPyUSE_EXPORT
2696 // Helper functions for dealing with SWIG objects and such. These are
2697 // located here so they know about the SWIG types and functions declared
2698 // in the wrapper code.
2700 #include <wx/hashmap.h>
2701 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2704 // Maintains a hashmap of className to swig_type_info pointers. Given the
2705 // name of a class either looks up the type info in the cache, or scans the
2706 // SWIG tables for it.
2707 extern PyObject
* wxPyPtrTypeMap
;
2709 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2711 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2713 if (typeInfoCache
== NULL
)
2714 typeInfoCache
= new wxPyTypeInfoHashMap
;
2716 wxString
name(className
);
2717 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2720 // it wasn't in the cache, so look it up from SWIG
2721 name
.Append(wxT(" *"));
2722 swigType
= SWIG_TypeQuery(name
.mb_str());
2724 // if it still wasn't found, try looking for a mapped name
2729 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2730 (char*)(const char*)name
.mbc_str())) != NULL
) {
2731 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2732 name
.Append(wxT(" *"));
2733 swigType
= SWIG_TypeQuery(name
.mb_str());
2737 // and add it to the map if found
2738 (*typeInfoCache
)[className
] = swigType
;
2745 // Check if a class name is a type known to SWIG
2746 bool wxPyCheckSwigType(const wxChar
* className
) {
2748 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2749 return swigType
!= NULL
;
2753 // Given a pointer to a C++ object and a class name, construct a Python proxy
2755 PyObject
* wxPyConstructObject(void* ptr
,
2756 const wxChar
* className
,
2759 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2760 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2762 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2766 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2767 // Ensures that the proxy object is of the specified (or derived) type. If
2768 // not able to perform the conversion then a Python exception is set and the
2769 // error should be handled properly in the caller. Returns True on success.
2770 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2771 const wxChar
* className
) {
2773 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2774 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2776 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2781 // Make a SWIGified pointer object suitable for a .this attribute
2782 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2784 PyObject
* robj
= NULL
;
2786 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2787 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2789 robj
= PySwigObject_New(ptr
, swigType
, 0);
2794 // Python's PyInstance_Check does not return True for instances of new-style
2795 // classes. This should get close enough for both new and old classes but I
2796 // should re-evaluate the need for doing instance checks...
2797 bool wxPyInstance_Check(PyObject
* obj
) {
2798 return PyObject_HasAttrString(obj
, "__class__") != 0;
2802 // This one checks if the object is an instance of a SWIG proxy class (it has
2803 // a .this attribute, and the .this attribute is a PySwigObject.)
2804 bool wxPySwigInstance_Check(PyObject
* obj
) {
2805 static PyObject
* this_str
= NULL
;
2806 if (this_str
== NULL
)
2807 this_str
= PyString_FromString("this");
2809 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2811 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2812 Py_DECREF(this_attr
);
2821 // Export a C API in a struct. Other modules will be able to load this from
2822 // the wx._core_ module and will then have safe access to these functions,
2823 // even if they are located in another shared library.
2824 static wxPyCoreAPI API
= {
2827 wxPyConstructObject
,
2831 wxPyBeginAllowThreads
,
2832 wxPyEndAllowThreads
,
2833 wxPyBeginBlockThreads
,
2834 wxPyEndBlockThreads
,
2846 wxPoint_LIST_helper
,
2847 wxBitmap_LIST_helper
,
2848 wxString_LIST_helper
,
2849 wxAcceleratorEntry_LIST_helper
,
2858 wxPySimple_typecheck
,
2861 wxPyCBH_setCallbackInfo
,
2862 wxPyCBH_findCallback
,
2863 wxPyCBH_callCallback
,
2864 wxPyCBH_callCallbackObj
,
2870 wxPy2int_seq_helper
,
2871 wxPy4int_seq_helper
,
2872 wxArrayString2PyList_helper
,
2873 wxArrayInt2PyList_helper
,
2875 wxPyClientData_dtor
,
2877 wxPyOORClientData_dtor
,
2879 wxPyCBInputStream_create
,
2880 wxPyCBInputStream_copy
,
2883 wxPySwigInstance_Check
,
2892 #if !WXWIN_COMPATIBILITY_2_4
2893 #define wxHIDE_READONLY 0
2897 #define SWIG_From_long PyInt_FromLong
2900 SWIGINTERNINLINE PyObject
*
2901 SWIG_From_int (int value
)
2903 return SWIG_From_long (value
);
2906 static const wxString
wxPyEmptyString(wxEmptyString
);
2907 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2908 return self
->GetClassInfo()->GetClassName();
2910 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2915 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2921 # define LLONG_MIN LONG_LONG_MIN
2924 # define LLONG_MAX LONG_LONG_MAX
2927 # define ULLONG_MAX ULONG_LONG_MAX
2932 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2934 if (PyNumber_Check(obj
)) {
2935 if (val
) *val
= PyInt_AsLong(obj
);
2938 return SWIG_TypeError
;
2943 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2946 int res
= SWIG_AsVal_long (obj
, &v
);
2947 if (SWIG_IsOK(res
)) {
2948 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2949 return SWIG_OverflowError
;
2951 if (val
) *val
= static_cast< int >(v
);
2957 SWIGINTERN
bool wxSize___eq__(wxSize
*self
,PyObject
*other
){
2958 wxSize temp
, *obj
= &temp
;
2959 if ( other
== Py_None
) return false;
2960 if ( ! wxSize_helper(other
, &obj
) ) {
2964 return self
->operator==(*obj
);
2966 SWIGINTERN
bool wxSize___ne__(wxSize
*self
,PyObject
*other
){
2967 wxSize temp
, *obj
= &temp
;
2968 if ( other
== Py_None
) return true;
2969 if ( ! wxSize_helper(other
, &obj
)) {
2973 return self
->operator!=(*obj
);
2975 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
2976 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2977 PyObject
* tup
= PyTuple_New(2);
2978 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2979 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2980 wxPyEndBlockThreads(blocked
);
2985 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2987 if (PyNumber_Check(obj
)) {
2988 if (val
) *val
= PyFloat_AsDouble(obj
);
2991 return SWIG_TypeError
;
2995 #define SWIG_From_double PyFloat_FromDouble
2997 SWIGINTERN
bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
*other
){
2998 wxRealPoint temp
, *obj
= &temp
;
2999 if ( other
== Py_None
) return false;
3000 if ( ! wxRealPoint_helper(other
, &obj
) ) {
3004 return self
->operator==(*obj
);
3006 SWIGINTERN
bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
*other
){
3007 wxRealPoint temp
, *obj
= &temp
;
3008 if ( other
== Py_None
) return true;
3009 if ( ! wxRealPoint_helper(other
, &obj
)) {
3013 return self
->operator!=(*obj
);
3015 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
3019 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
3020 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3021 PyObject
* tup
= PyTuple_New(2);
3022 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
3023 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
3024 wxPyEndBlockThreads(blocked
);
3027 SWIGINTERN
bool wxPoint___eq__(wxPoint
*self
,PyObject
*other
){
3028 wxPoint temp
, *obj
= &temp
;
3029 if ( other
== Py_None
) return false;
3030 if ( ! wxPoint_helper(other
, &obj
) ) {
3034 return self
->operator==(*obj
);
3036 SWIGINTERN
bool wxPoint___ne__(wxPoint
*self
,PyObject
*other
){
3037 wxPoint temp
, *obj
= &temp
;
3038 if ( other
== Py_None
) return true;
3039 if ( ! wxPoint_helper(other
, &obj
)) {
3043 return self
->operator!=(*obj
);
3045 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
3049 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
3050 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3051 PyObject
* tup
= PyTuple_New(2);
3052 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3053 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3054 wxPyEndBlockThreads(blocked
);
3057 SWIGINTERN
bool wxRect___eq__(wxRect
*self
,PyObject
*other
){
3058 wxRect temp
, *obj
= &temp
;
3059 if ( other
== Py_None
) return false;
3060 if ( ! wxRect_helper(other
, &obj
) ) {
3064 return self
->operator==(*obj
);
3066 SWIGINTERN
bool wxRect___ne__(wxRect
*self
,PyObject
*other
){
3067 wxRect temp
, *obj
= &temp
;
3068 if ( other
== Py_None
) return true;
3069 if ( ! wxRect_helper(other
, &obj
)) {
3073 return self
->operator!=(*obj
);
3075 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3078 self
->width
= width
;
3079 self
->height
= height
;
3081 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3083 PyObject
* tup
= PyTuple_New(4);
3084 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3085 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3086 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3087 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3088 wxPyEndBlockThreads(blocked
);
3092 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3095 wxRect
dest(0,0,0,0);
3098 reg1
.Intersect(reg2
);
3099 dest
= reg1
.GetBox();
3101 if (dest
!= wxRect(0,0,0,0)) {
3102 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3103 wxRect
* newRect
= new wxRect(dest
);
3104 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3105 wxPyEndBlockThreads(blocked
);
3112 SWIGINTERN
bool wxPoint2D___eq__(wxPoint2D
*self
,PyObject
*other
){
3113 wxPoint2D temp
, *obj
= &temp
;
3114 if ( other
== Py_None
) return false;
3115 if ( ! wxPoint2D_helper(other
, &obj
) ) {
3119 return self
->operator==(*obj
);
3121 SWIGINTERN
bool wxPoint2D___ne__(wxPoint2D
*self
,PyObject
*other
){
3122 wxPoint2D temp
, *obj
= &temp
;
3123 if ( other
== Py_None
) return true;
3124 if ( ! wxPoint2D_helper(other
, &obj
)) {
3128 return self
->operator!=(*obj
);
3130 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3134 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3136 PyObject
* tup
= PyTuple_New(2);
3137 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3138 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3139 wxPyEndBlockThreads(blocked
);
3143 #include "wx/wxPython/pyistream.h"
3145 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3146 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3148 return new wxPyInputStream(wxis
);
3153 SWIGINTERN swig_type_info
*
3154 SWIG_pchar_descriptor()
3156 static int init
= 0;
3157 static swig_type_info
* info
= 0;
3159 info
= SWIG_TypeQuery("_p_char");
3166 SWIGINTERNINLINE PyObject
*
3167 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3170 if (size
> INT_MAX
) {
3171 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3172 return pchar_descriptor
?
3173 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3175 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3178 return SWIG_Py_Void();
3183 SWIGINTERNINLINE PyObject
*
3184 SWIG_From_char (char c
)
3186 return SWIG_FromCharPtrAndSize(&c
,1);
3190 SWIGINTERNINLINE PyObject
*
3191 SWIG_From_unsigned_SS_long (unsigned long value
)
3193 return (value
> LONG_MAX
) ?
3194 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3198 SWIGINTERNINLINE PyObject
*
3199 SWIG_From_size_t (size_t value
)
3201 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3206 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3208 if (PyString_Check(obj
)) {
3209 char *cstr
; int len
;
3210 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3214 In python the user should not be able to modify the inner
3215 string representation. To warranty that, if you define
3216 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3217 buffer is always returned.
3219 The default behavior is just to return the pointer value,
3222 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3223 if (*alloc
!= SWIG_OLDOBJ
)
3225 if (*alloc
== SWIG_NEWOBJ
)
3228 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3229 *alloc
= SWIG_NEWOBJ
;
3233 *alloc
= SWIG_OLDOBJ
;
3236 *cptr
= PyString_AsString(obj
);
3239 if (psize
) *psize
= len
+ 1;
3242 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3243 if (pchar_descriptor
) {
3245 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3246 if (cptr
) *cptr
= (char *) vptr
;
3247 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3248 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3253 return SWIG_TypeError
;
3258 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3260 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3261 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3262 if (SWIG_IsOK(res
)) {
3263 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3264 if (csize
<= size
) {
3266 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3267 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3269 if (alloc
== SWIG_NEWOBJ
) {
3271 res
= SWIG_DelNewMask(res
);
3275 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3277 return SWIG_TypeError
;
3282 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3284 int res
= SWIG_AsCharArray(obj
, val
, 1);
3285 if (!SWIG_IsOK(res
)) {
3287 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3288 if (SWIG_IsOK(res
)) {
3289 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3290 if (val
) *val
= static_cast< char >(v
);
3292 res
= SWIG_OverflowError
;
3299 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3300 // We use only strings for the streams, not unicode
3301 PyObject
* str
= PyObject_Str(obj
);
3303 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3306 self
->Write(PyString_AS_STRING(str
),
3307 PyString_GET_SIZE(str
));
3311 #include "wx/wxPython/pyistream.h"
3314 class wxPyFileSystemHandler
: public wxFileSystemHandler
3317 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3319 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3320 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3321 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3322 DEC_PYCALLBACK_STRING__pure(FindNext
);
3324 wxString
GetProtocol(const wxString
& location
) {
3325 return wxFileSystemHandler::GetProtocol(location
);
3328 wxString
GetLeftLocation(const wxString
& location
) {
3329 return wxFileSystemHandler::GetLeftLocation(location
);
3332 wxString
GetAnchor(const wxString
& location
) {
3333 return wxFileSystemHandler::GetAnchor(location
);
3336 wxString
GetRightLocation(const wxString
& location
) {
3337 return wxFileSystemHandler::GetRightLocation(location
);
3340 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3341 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3348 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3349 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3350 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3351 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3355 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3357 if (obj
== Py_True
) {
3358 if (val
) *val
= true;
3360 } else if (obj
== Py_False
) {
3361 if (val
) *val
= false;
3365 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3366 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3371 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3372 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3373 return fname
.GetFullPath();
3376 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3379 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3382 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3383 const wxBitmap
& bitmap
,
3385 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3388 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3390 if (! PyString_Check(data
)) {
3391 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3392 "Expected string object"));
3396 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3397 void* ptr
= (void*)PyString_AsString(data
);
3398 size_t size
= PyString_Size(data
);
3399 wxPyEndBlockThreads(blocked
);
3401 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3405 #include "wx/wxPython/pyistream.h"
3409 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3412 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3413 return SWIG_TypeError
;
3416 *val
= (unsigned long)v
;
3422 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3425 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3426 if (SWIG_IsOK(res
)) {
3427 if ((v
> UCHAR_MAX
)) {
3428 return SWIG_OverflowError
;
3430 if (val
) *val
= static_cast< unsigned char >(v
);
3437 SWIGINTERNINLINE PyObject
*
3438 SWIG_From_unsigned_SS_char (unsigned char value
)
3440 return SWIG_From_unsigned_SS_long (value
);
3443 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3444 wxImageHistogramEntry e
= (*self
)[key
];
3447 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3448 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3449 wxImageHistogramEntry e
= (*self
)[key
];
3452 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3453 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3456 wxImageHistogramEntry e
= (*self
)[key
];
3460 typedef unsigned char* buffer
;
3463 // Pull the nested class out to the top level for SWIG's sake
3464 #define wxImage_RGBValue wxImage::RGBValue
3465 #define wxImage_HSVValue wxImage::HSVValue
3467 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3468 if (width
> 0 && height
> 0)
3469 return new wxImage(width
, height
, clear
);
3473 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3474 return new wxImage(bitmap
.ConvertToImage());
3476 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3477 if (DATASIZE
!= width
*height
*3) {
3478 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3482 // Copy the source data so the wxImage can clean it up later
3483 buffer copy
= (buffer
)malloc(DATASIZE
);
3485 wxPyBLOCK_THREADS(PyErr_NoMemory());
3488 memcpy(copy
, data
, DATASIZE
);
3489 return new wxImage(width
, height
, copy
, false);
3491 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3492 if (DATASIZE
!= width
*height
*3) {
3493 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3496 if (ALPHASIZE
!= width
*height
) {
3497 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3501 // Copy the source data so the wxImage can clean it up later
3502 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3503 if (dcopy
== NULL
) {
3504 wxPyBLOCK_THREADS(PyErr_NoMemory());
3507 memcpy(dcopy
, data
, DATASIZE
);
3509 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3510 if (acopy
== NULL
) {
3511 wxPyBLOCK_THREADS(PyErr_NoMemory());
3514 memcpy(acopy
, alpha
, ALPHASIZE
);
3516 return new wxImage(width
, height
, dcopy
, acopy
, false);
3518 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3519 wxSize
size(self
->GetWidth(), self
->GetHeight());
3522 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3523 buffer data
= self
->GetData();
3524 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3526 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3529 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3530 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3531 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3534 buffer copy
= (buffer
)malloc(DATASIZE
);
3536 wxPyBLOCK_THREADS(PyErr_NoMemory());
3539 memcpy(copy
, data
, DATASIZE
);
3540 self
->SetData(copy
, false);
3541 // wxImage takes ownership of copy...
3543 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3544 buffer data
= self
->GetData();
3545 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3547 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3550 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3551 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3552 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3555 self
->SetData(data
, true);
3557 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3558 buffer data
= self
->GetAlpha();
3562 int len
= self
->GetWidth() * self
->GetHeight();
3564 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3568 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3569 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3570 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3573 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3574 if (acopy
== NULL
) {
3575 wxPyBLOCK_THREADS(PyErr_NoMemory());
3578 memcpy(acopy
, alpha
, ALPHASIZE
);
3579 self
->SetAlpha(acopy
, false);
3580 // wxImage takes ownership of acopy...
3582 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3583 buffer data
= self
->GetAlpha();
3584 int len
= self
->GetWidth() * self
->GetHeight();
3586 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3589 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3590 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3591 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3594 self
->SetAlpha(alpha
, true);
3596 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3597 wxList
& list
= wxImage::GetHandlers();
3598 return wxPy_ConvertList(&list
);
3600 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3601 wxBitmap
bitmap(*self
, depth
);
3604 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3605 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3606 wxBitmap
bitmap( mono
, 1 );
3609 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3610 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3611 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3612 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3613 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3614 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3615 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3616 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3617 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3618 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3619 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3620 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3621 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3622 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3623 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3625 #include <wx/quantize.h>
3627 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3628 return wxQuantize::Quantize(src
, dest
,
3631 NULL
, // eightBitData
3634 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3635 if (PyCallable_Check(func
)) {
3636 self
->Connect(id
, lastId
, eventType
,
3637 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3638 new wxPyCallback(func
));
3640 else if (func
== Py_None
) {
3641 self
->Disconnect(id
, lastId
, eventType
,
3642 (wxObjectEventFunction
)
3643 &wxPyCallback::EventThunker
);
3647 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3650 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3651 return self
->Disconnect(id
, lastId
, eventType
,
3652 (wxObjectEventFunction
)
3653 &wxPyCallback::EventThunker
);
3655 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3656 if (_self
&& _self
!= Py_None
) {
3657 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3660 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3662 self
->SetClientObject(NULL
); // This will delete it too
3668 #define wxEVT_HOTKEY -9999
3671 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3672 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3674 Py_INCREF(data
->m_obj
);
3681 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3682 wxPyClientData
* data
= new wxPyClientData(clientData
);
3683 self
->SetClientObject(data
);
3685 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3687 return self
->GetUnicodeKey();
3693 SWIGINTERNINLINE PyObject
*
3694 SWIG_From_unsigned_SS_int (unsigned int value
)
3696 return SWIG_From_unsigned_SS_long (value
);
3701 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3704 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3705 if (SWIG_IsOK(res
)) {
3706 if ((v
> UINT_MAX
)) {
3707 return SWIG_OverflowError
;
3709 if (val
) *val
= static_cast< unsigned int >(v
);
3715 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3716 self
->m_size
= size
;
3718 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3719 int count
= self
->GetNumberOfFiles();
3720 wxString
* files
= self
->GetFiles();
3721 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3722 PyObject
* list
= PyList_New(count
);
3725 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3726 wxPyEndBlockThreads(blocked
);
3730 for (int i
=0; i
<count
; i
++) {
3731 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3733 wxPyEndBlockThreads(blocked
);
3738 SWIGINTERN wxPyApp
*new_wxPyApp(){
3739 wxPythonApp
= new wxPyApp();
3742 SWIGINTERN
int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
3744 void wxApp_CleanUp() {
3749 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3755 SWIGINTERNINLINE PyObject
*
3756 SWIG_FromCharPtr(const char *cptr
)
3758 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3762 #if 0 // #ifdef __WXMAC__
3764 // A dummy class that raises an exception if used...
3768 wxEventLoop() { wxPyRaiseNotImplemented(); }
3769 int Run() { return 0; }
3770 void Exit(int rc
= 0) {}
3771 bool Pending() const { return false; }
3772 bool Dispatch() { return false; }
3773 bool IsRunning() const { return false; }
3774 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3775 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3780 #include <wx/evtloop.h>
3786 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3787 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3788 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3789 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3790 wxWindowList
& list
= self
->GetChildren();
3791 return wxPy_ConvertList(&list
);
3793 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3795 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3800 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3807 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3808 return wxPyGetWinHandle(self
);
3810 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3811 self
->AssociateHandle((WXWidget
)handle
);
3813 SWIGINTERN
void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
3815 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3816 return wxWindow::FindWindowById(id
, parent
);
3819 wxWindow
* wxFindWindowByName( const wxString
& name
,
3820 const wxWindow
*parent
= NULL
) {
3821 return wxWindow::FindWindowByName(name
, parent
);
3824 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3825 const wxWindow
*parent
= NULL
) {
3826 return wxWindow::FindWindowByLabel(label
, parent
);
3831 #include <wx/msw/private.h> // to get wxGetWindowId
3835 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3837 WXHWND hWnd
= (WXHWND
)_hWnd
;
3838 long id
= wxGetWindowId(hWnd
);
3839 wxWindow
* win
= new wxWindow
;
3841 parent
->AddChild(win
);
3842 win
->SetEventHandler(win
);
3845 win
->SubclassWin(hWnd
);
3846 win
->AdoptAttributesFromHWND();
3847 win
->SetupColours();
3850 wxPyRaiseNotImplemented();
3856 PyObject
* GetTopLevelWindows() {
3857 return wxPy_ConvertList(&wxTopLevelWindows
);
3861 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3862 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3863 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3865 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3868 SWIGINTERNINLINE
int
3869 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3872 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3873 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3877 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3878 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3879 wxMenuItemList
& list
= self
->GetMenuItems();
3880 return wxPy_ConvertList(&list
);
3882 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3883 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3884 SWIGINTERN
void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
3885 SWIGINTERN wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
3886 SWIGINTERN
void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
3887 SWIGINTERN wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
3888 SWIGINTERN
void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
3889 SWIGINTERN wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
3890 SWIGINTERN
void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){ self
->SetBitmap( bmpChecked
); }
3891 SWIGINTERN
void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
3892 SWIGINTERN wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
3893 SWIGINTERN
void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
3894 SWIGINTERN
int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
3895 SWIGINTERN
int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
3896 SWIGINTERN
bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
3897 SWIGINTERN
void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
3898 SWIGINTERN
void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
3899 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3900 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3902 wxPyClientData
* data
= new wxPyClientData(clientData
);
3903 return self
->Append(item
, data
);
3905 return self
->Append(item
);
3907 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,unsigned int pos
,PyObject
*clientData
=NULL
){
3909 wxPyClientData
* data
= new wxPyClientData(clientData
);
3910 return self
->Insert(item
, pos
, data
);
3912 return self
->Insert(item
, pos
);
3914 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,unsigned int n
){
3915 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3917 Py_INCREF(data
->m_obj
);
3924 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,unsigned int n
,PyObject
*clientData
){
3925 wxPyClientData
* data
= new wxPyClientData(clientData
);
3926 self
->SetClientObject(n
, data
);
3930 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3931 wxPyUserData
* data
= NULL
;
3933 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3934 data
= new wxPyUserData(userData
);
3935 wxPyEndBlockThreads(blocked
);
3937 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
3939 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3940 wxPyUserData
* data
= NULL
;
3942 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3943 data
= new wxPyUserData(userData
);
3944 wxPyEndBlockThreads(blocked
);
3946 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
3948 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3949 wxPyUserData
* data
= NULL
;
3951 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3952 data
= new wxPyUserData(userData
);
3953 wxPyEndBlockThreads(blocked
);
3955 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
3962 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3965 int res
= SWIG_AsVal_double (obj
, &v
);
3966 if (SWIG_IsOK(res
)) {
3967 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3968 return SWIG_OverflowError
;
3970 if (val
) *val
= static_cast< float >(v
);
3977 SWIGINTERNINLINE PyObject
*
3978 SWIG_From_float (float value
)
3980 return SWIG_From_double (value
);
3983 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
3984 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
3986 Py_INCREF(data
->m_obj
);
3993 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
3994 wxPyUserData
* data
= NULL
;
3996 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3997 data
= new wxPyUserData(userData
);
3998 wxPyEndBlockThreads(blocked
);
4000 self
->SetUserData(data
);
4003 // Figure out the type of the sizer item
4005 struct wxPySizerItemInfo
{
4007 : window(NULL
), sizer(NULL
), gotSize(false),
4008 size(wxDefaultSize
), gotPos(false), pos(-1)
4019 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
4021 wxPySizerItemInfo info
;
4023 wxSize
* sizePtr
= &size
;
4025 // Find out what the type of the item is
4027 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
4032 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
4036 // try wxSize or (w,h)
4037 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
4038 info
.size
= *sizePtr
;
4039 info
.gotSize
= true;
4043 if (checkIdx
&& PyInt_Check(item
)) {
4044 info
.pos
= PyInt_AsLong(item
);
4050 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
4051 // no expected type, figure out what kind of error message to generate
4052 if ( !checkSize
&& !checkIdx
)
4053 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
4054 else if ( checkSize
&& !checkIdx
)
4055 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
4056 else if ( !checkSize
&& checkIdx
)
4057 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
4059 // can this one happen?
4060 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
4066 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
4067 if (!self
->GetClientObject())
4068 self
->SetClientObject(new wxPyOORClientData(_self
));
4070 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4072 wxPyUserData
* data
= NULL
;
4073 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4074 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4075 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4076 data
= new wxPyUserData(userData
);
4078 PyObject_SetAttrString(item
,"thisown",Py_False
);
4079 wxPyEndBlockThreads(blocked
);
4081 // Now call the real Add method if a valid item type was found
4083 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
4084 else if ( info
.sizer
)
4085 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
4086 else if (info
.gotSize
)
4087 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4088 proportion
, flag
, border
, data
);
4092 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4094 wxPyUserData
* data
= NULL
;
4095 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4096 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4097 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4098 data
= new wxPyUserData(userData
);
4100 PyObject_SetAttrString(item
,"thisown",Py_False
);
4101 wxPyEndBlockThreads(blocked
);
4103 // Now call the real Insert method if a valid item type was found
4105 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4106 else if ( info
.sizer
)
4107 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4108 else if (info
.gotSize
)
4109 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4110 proportion
, flag
, border
, data
);
4114 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4116 wxPyUserData
* data
= NULL
;
4117 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4118 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4119 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4120 data
= new wxPyUserData(userData
);
4122 PyObject_SetAttrString(item
,"thisown",Py_False
);
4123 wxPyEndBlockThreads(blocked
);
4125 // Now call the real Prepend method if a valid item type was found
4127 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4128 else if ( info
.sizer
)
4129 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4130 else if (info
.gotSize
)
4131 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4132 proportion
, flag
, border
, data
);
4136 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4138 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4139 wxPyEndBlockThreads(blocked
);
4141 return self
->Remove(info
.window
);
4142 else if ( info
.sizer
)
4143 return self
->Remove(info
.sizer
);
4144 else if ( info
.gotPos
)
4145 return self
->Remove(info
.pos
);
4149 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4150 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4151 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4152 wxPyEndBlockThreads(blocked
);
4154 return self
->Detach(info
.window
);
4155 else if ( info
.sizer
)
4156 return self
->Detach(info
.sizer
);
4157 else if ( info
.gotPos
)
4158 return self
->Detach(info
.pos
);
4162 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4163 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4164 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4165 wxPyEndBlockThreads(blocked
);
4167 return self
->GetItem(info
.window
);
4168 else if ( info
.sizer
)
4169 return self
->GetItem(info
.sizer
);
4170 else if ( info
.gotPos
)
4171 return self
->GetItem(info
.pos
);
4175 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4176 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4177 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4178 wxPyEndBlockThreads(blocked
);
4180 self
->SetItemMinSize(info
.window
, size
);
4181 else if ( info
.sizer
)
4182 self
->SetItemMinSize(info
.sizer
, size
);
4183 else if ( info
.gotPos
)
4184 self
->SetItemMinSize(info
.pos
, size
);
4186 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4187 wxSizerItemList
& list
= self
->GetChildren();
4188 return wxPy_ConvertList(&list
);
4190 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4192 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4193 wxPyEndBlockThreads(blocked
);
4195 return self
->Show(info
.window
, show
, recursive
);
4196 else if ( info
.sizer
)
4197 return self
->Show(info
.sizer
, show
, recursive
);
4198 else if ( info
.gotPos
)
4199 return self
->Show(info
.pos
, show
);
4203 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4204 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4205 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4206 wxPyEndBlockThreads(blocked
);
4208 return self
->IsShown(info
.window
);
4209 else if ( info
.sizer
)
4210 return self
->IsShown(info
.sizer
);
4211 else if ( info
.gotPos
)
4212 return self
->IsShown(info
.pos
);
4218 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4219 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4220 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4225 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4227 if (source
== Py_None
) {
4228 **obj
= wxGBPosition(-1,-1);
4231 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4234 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4236 if (source
== Py_None
) {
4237 **obj
= wxGBSpan(-1,-1);
4240 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4244 SWIGINTERN
bool wxGBPosition___eq__(wxGBPosition
*self
,PyObject
*other
){
4245 wxGBPosition temp
, *obj
= &temp
;
4246 if ( other
== Py_None
) return false;
4247 if ( ! wxGBPosition_helper(other
, &obj
) ) {
4251 return self
->operator==(*obj
);
4253 SWIGINTERN
bool wxGBPosition___ne__(wxGBPosition
*self
,PyObject
*other
){
4254 wxGBPosition temp
, *obj
= &temp
;
4255 if ( other
== Py_None
) return true;
4256 if ( ! wxGBPosition_helper(other
, &obj
)) {
4260 return self
->operator!=(*obj
);
4262 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4266 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4267 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4268 PyObject
* tup
= PyTuple_New(2);
4269 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4270 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4271 wxPyEndBlockThreads(blocked
);
4274 SWIGINTERN
bool wxGBSpan___eq__(wxGBSpan
*self
,PyObject
*other
){
4275 wxGBSpan temp
, *obj
= &temp
;
4276 if ( other
== Py_None
) return false;
4277 if ( ! wxGBSpan_helper(other
, &obj
) ) {
4281 return self
->operator==(*obj
);
4283 SWIGINTERN
bool wxGBSpan___ne__(wxGBSpan
*self
,PyObject
*other
){
4284 wxGBSpan temp
, *obj
= &temp
;
4285 if ( other
== Py_None
) return true;
4286 if ( ! wxGBSpan_helper(other
, &obj
)) {
4290 return self
->operator!=(*obj
);
4292 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4293 self
->SetRowspan(rowspan
);
4294 self
->SetColspan(colspan
);
4296 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4297 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4298 PyObject
* tup
= PyTuple_New(2);
4299 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4300 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4301 wxPyEndBlockThreads(blocked
);
4304 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4305 wxPyUserData
* data
= NULL
;
4307 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4308 data
= new wxPyUserData(userData
);
4309 wxPyEndBlockThreads(blocked
);
4311 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4313 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4314 wxPyUserData
* data
= NULL
;
4316 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4317 data
= new wxPyUserData(userData
);
4318 wxPyEndBlockThreads(blocked
);
4320 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4322 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4323 wxPyUserData
* data
= NULL
;
4325 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4326 data
= new wxPyUserData(userData
);
4327 wxPyEndBlockThreads(blocked
);
4329 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4331 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4333 self
->GetEndPos(row
, col
);
4334 return wxGBPosition(row
, col
);
4336 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4338 wxPyUserData
* data
= NULL
;
4339 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4340 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4341 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4342 data
= new wxPyUserData(userData
);
4344 PyObject_SetAttrString(item
,"thisown",Py_False
);
4345 wxPyEndBlockThreads(blocked
);
4347 // Now call the real Add method if a valid item type was found
4349 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4350 else if ( info
.sizer
)
4351 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4352 else if (info
.gotSize
)
4353 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4354 pos
, span
, flag
, border
, data
);
4362 SWIGINTERN
int EmptyString_set(PyObject
*) {
4363 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4368 SWIGINTERN PyObject
*EmptyString_get(void) {
4369 PyObject
*pyobj
= 0;
4373 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4375 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4382 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4383 PyObject
*resultobj
= 0;
4384 wxObject
*arg1
= (wxObject
*) 0 ;
4388 PyObject
*swig_obj
[1] ;
4390 if (!args
) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4396 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= wxObject_GetClassName(arg1
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4416 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4417 PyObject
*resultobj
= 0;
4418 wxObject
*arg1
= (wxObject
*) 0 ;
4421 PyObject
*swig_obj
[1] ;
4423 if (!args
) SWIG_fail
;
4425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4426 if (!SWIG_IsOK(res1
)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4429 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxObject_Destroy(arg1
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_Py_Void();
4443 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4446 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4447 return SWIG_Py_Void();
4450 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4451 PyObject
*resultobj
= 0;
4452 wxSize
*arg1
= (wxSize
*) 0 ;
4458 PyObject
*swig_obj
[2] ;
4460 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4462 if (!SWIG_IsOK(res1
)) {
4463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4465 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4466 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4467 if (!SWIG_IsOK(ecode2
)) {
4468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4470 arg2
= static_cast< int >(val2
);
4471 if (arg1
) (arg1
)->x
= arg2
;
4473 resultobj
= SWIG_Py_Void();
4480 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4481 PyObject
*resultobj
= 0;
4482 wxSize
*arg1
= (wxSize
*) 0 ;
4486 PyObject
*swig_obj
[1] ;
4488 if (!args
) SWIG_fail
;
4490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4491 if (!SWIG_IsOK(res1
)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4494 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4495 result
= (int) ((arg1
)->x
);
4496 resultobj
= SWIG_From_int(static_cast< int >(result
));
4503 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4504 PyObject
*resultobj
= 0;
4505 wxSize
*arg1
= (wxSize
*) 0 ;
4511 PyObject
*swig_obj
[2] ;
4513 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4515 if (!SWIG_IsOK(res1
)) {
4516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4518 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4519 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4520 if (!SWIG_IsOK(ecode2
)) {
4521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4523 arg2
= static_cast< int >(val2
);
4524 if (arg1
) (arg1
)->y
= arg2
;
4526 resultobj
= SWIG_Py_Void();
4533 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4534 PyObject
*resultobj
= 0;
4535 wxSize
*arg1
= (wxSize
*) 0 ;
4539 PyObject
*swig_obj
[1] ;
4541 if (!args
) SWIG_fail
;
4543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4544 if (!SWIG_IsOK(res1
)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4547 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4548 result
= (int) ((arg1
)->y
);
4549 resultobj
= SWIG_From_int(static_cast< int >(result
));
4556 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
= 0;
4558 int arg1
= (int) 0 ;
4559 int arg2
= (int) 0 ;
4560 wxSize
*result
= 0 ;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4567 char * kwnames
[] = {
4568 (char *) "w",(char *) "h", NULL
4571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4573 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4574 if (!SWIG_IsOK(ecode1
)) {
4575 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4577 arg1
= static_cast< int >(val1
);
4580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4581 if (!SWIG_IsOK(ecode2
)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4584 arg2
= static_cast< int >(val2
);
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4599 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4600 PyObject
*resultobj
= 0;
4601 wxSize
*arg1
= (wxSize
*) 0 ;
4604 PyObject
*swig_obj
[1] ;
4606 if (!args
) SWIG_fail
;
4608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4609 if (!SWIG_IsOK(res1
)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4612 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= SWIG_Py_Void();
4627 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
= 0;
4629 wxSize
*arg1
= (wxSize
*) 0 ;
4630 PyObject
*arg2
= (PyObject
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4636 char * kwnames
[] = {
4637 (char *) "self",(char *) "other", NULL
4640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4642 if (!SWIG_IsOK(res1
)) {
4643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4645 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4648 result
= (bool)wxSize___eq__(arg1
,arg2
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4660 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
= 0;
4662 wxSize
*arg1
= (wxSize
*) 0 ;
4663 PyObject
*arg2
= (PyObject
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 char * kwnames
[] = {
4670 (char *) "self",(char *) "other", NULL
4673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4675 if (!SWIG_IsOK(res1
)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4678 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4681 result
= (bool)wxSize___ne__(arg1
,arg2
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4693 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
= 0;
4695 wxSize
*arg1
= (wxSize
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4702 PyObject
* obj1
= 0 ;
4703 char * kwnames
[] = {
4704 (char *) "self",(char *) "sz", NULL
4707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4709 if (!SWIG_IsOK(res1
)) {
4710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4712 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4715 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4730 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
= 0;
4732 wxSize
*arg1
= (wxSize
*) 0 ;
4738 PyObject
* obj0
= 0 ;
4739 PyObject
* obj1
= 0 ;
4740 char * kwnames
[] = {
4741 (char *) "self",(char *) "sz", NULL
4744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4746 if (!SWIG_IsOK(res1
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4749 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4752 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4767 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
= 0;
4769 wxSize
*arg1
= (wxSize
*) 0 ;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 char * kwnames
[] = {
4777 (char *) "self",(char *) "sz", NULL
4780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4782 if (!SWIG_IsOK(res1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4785 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4788 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 (arg1
)->IncTo((wxSize
const &)*arg2
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= SWIG_Py_Void();
4803 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
= 0;
4805 wxSize
*arg1
= (wxSize
*) 0 ;
4810 PyObject
* obj0
= 0 ;
4811 PyObject
* obj1
= 0 ;
4812 char * kwnames
[] = {
4813 (char *) "self",(char *) "sz", NULL
4816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4818 if (!SWIG_IsOK(res1
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4821 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4824 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 (arg1
)->DecTo((wxSize
const &)*arg2
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_Py_Void();
4839 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
= 0;
4841 wxSize
*arg1
= (wxSize
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4852 PyObject
* obj2
= 0 ;
4853 char * kwnames
[] = {
4854 (char *) "self",(char *) "w",(char *) "h", NULL
4857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4859 if (!SWIG_IsOK(res1
)) {
4860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
4862 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4864 if (!SWIG_IsOK(ecode2
)) {
4865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
4867 arg2
= static_cast< int >(val2
);
4868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4869 if (!SWIG_IsOK(ecode3
)) {
4870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
4872 arg3
= static_cast< int >(val3
);
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 (arg1
)->Set(arg2
,arg3
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_Py_Void();
4886 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
= 0;
4888 wxSize
*arg1
= (wxSize
*) 0 ;
4894 PyObject
* obj0
= 0 ;
4895 PyObject
* obj1
= 0 ;
4896 char * kwnames
[] = {
4897 (char *) "self",(char *) "w", NULL
4900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4902 if (!SWIG_IsOK(res1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
4905 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4907 if (!SWIG_IsOK(ecode2
)) {
4908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
4910 arg2
= static_cast< int >(val2
);
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 (arg1
)->SetWidth(arg2
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= SWIG_Py_Void();
4924 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
= 0;
4926 wxSize
*arg1
= (wxSize
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4934 char * kwnames
[] = {
4935 (char *) "self",(char *) "h", NULL
4938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4940 if (!SWIG_IsOK(res1
)) {
4941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
4943 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4945 if (!SWIG_IsOK(ecode2
)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
4948 arg2
= static_cast< int >(val2
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 (arg1
)->SetHeight(arg2
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_Py_Void();
4962 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4963 PyObject
*resultobj
= 0;
4964 wxSize
*arg1
= (wxSize
*) 0 ;
4968 PyObject
*swig_obj
[1] ;
4970 if (!args
) SWIG_fail
;
4972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4973 if (!SWIG_IsOK(res1
)) {
4974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
4976 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (int)((wxSize
const *)arg1
)->GetWidth();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_From_int(static_cast< int >(result
));
4990 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4991 PyObject
*resultobj
= 0;
4992 wxSize
*arg1
= (wxSize
*) 0 ;
4996 PyObject
*swig_obj
[1] ;
4998 if (!args
) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
5004 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (int)((wxSize
const *)arg1
)->GetHeight();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_From_int(static_cast< int >(result
));
5018 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5019 PyObject
*resultobj
= 0;
5020 wxSize
*arg1
= (wxSize
*) 0 ;
5024 PyObject
*swig_obj
[1] ;
5026 if (!args
) SWIG_fail
;
5028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5029 if (!SWIG_IsOK(res1
)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
5032 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5048 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
= 0;
5050 wxSize
*arg1
= (wxSize
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5057 char * kwnames
[] = {
5058 (char *) "self",(char *) "size", NULL
5061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5063 if (!SWIG_IsOK(res1
)) {
5064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
5066 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= SWIG_Py_Void();
5084 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5085 PyObject
*resultobj
= 0;
5086 wxSize
*arg1
= (wxSize
*) 0 ;
5087 PyObject
*result
= 0 ;
5090 PyObject
*swig_obj
[1] ;
5092 if (!args
) SWIG_fail
;
5094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5095 if (!SWIG_IsOK(res1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
5098 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (PyObject
*)wxSize_Get(arg1
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5112 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5115 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5116 return SWIG_Py_Void();
5119 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5120 return SWIG_Python_InitShadowInstance(args
);
5123 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5124 PyObject
*resultobj
= 0;
5125 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5131 PyObject
*swig_obj
[2] ;
5133 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5138 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5139 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5140 if (!SWIG_IsOK(ecode2
)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5143 arg2
= static_cast< double >(val2
);
5144 if (arg1
) (arg1
)->x
= arg2
;
5146 resultobj
= SWIG_Py_Void();
5153 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5154 PyObject
*resultobj
= 0;
5155 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5159 PyObject
*swig_obj
[1] ;
5161 if (!args
) SWIG_fail
;
5163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5164 if (!SWIG_IsOK(res1
)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5167 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5168 result
= (double) ((arg1
)->x
);
5169 resultobj
= SWIG_From_double(static_cast< double >(result
));
5176 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5177 PyObject
*resultobj
= 0;
5178 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5184 PyObject
*swig_obj
[2] ;
5186 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5188 if (!SWIG_IsOK(res1
)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5191 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5192 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5193 if (!SWIG_IsOK(ecode2
)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5196 arg2
= static_cast< double >(val2
);
5197 if (arg1
) (arg1
)->y
= arg2
;
5199 resultobj
= SWIG_Py_Void();
5206 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5207 PyObject
*resultobj
= 0;
5208 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5212 PyObject
*swig_obj
[1] ;
5214 if (!args
) SWIG_fail
;
5216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5217 if (!SWIG_IsOK(res1
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5220 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5221 result
= (double) ((arg1
)->y
);
5222 resultobj
= SWIG_From_double(static_cast< double >(result
));
5229 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
= 0;
5231 double arg1
= (double) 0.0 ;
5232 double arg2
= (double) 0.0 ;
5233 wxRealPoint
*result
= 0 ;
5238 PyObject
* obj0
= 0 ;
5239 PyObject
* obj1
= 0 ;
5240 char * kwnames
[] = {
5241 (char *) "x",(char *) "y", NULL
5244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5246 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5247 if (!SWIG_IsOK(ecode1
)) {
5248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5250 arg1
= static_cast< double >(val1
);
5253 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5254 if (!SWIG_IsOK(ecode2
)) {
5255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5257 arg2
= static_cast< double >(val2
);
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5272 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5273 PyObject
*resultobj
= 0;
5274 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5277 PyObject
*swig_obj
[1] ;
5279 if (!args
) SWIG_fail
;
5281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5282 if (!SWIG_IsOK(res1
)) {
5283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5285 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_Py_Void();
5300 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5302 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5303 PyObject
*arg2
= (PyObject
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5308 PyObject
* obj1
= 0 ;
5309 char * kwnames
[] = {
5310 (char *) "self",(char *) "other", NULL
5313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5315 if (!SWIG_IsOK(res1
)) {
5316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5318 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5321 result
= (bool)wxRealPoint___eq__(arg1
,arg2
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5333 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
= 0;
5335 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5336 PyObject
*arg2
= (PyObject
*) 0 ;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5342 char * kwnames
[] = {
5343 (char *) "self",(char *) "other", NULL
5346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5348 if (!SWIG_IsOK(res1
)) {
5349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5351 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5354 result
= (bool)wxRealPoint___ne__(arg1
,arg2
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5366 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
= 0;
5368 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5369 wxRealPoint
*arg2
= 0 ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5376 char * kwnames
[] = {
5377 (char *) "self",(char *) "pt", NULL
5380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5382 if (!SWIG_IsOK(res1
)) {
5383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5385 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5388 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5403 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
= 0;
5405 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5406 wxRealPoint
*arg2
= 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5413 char * kwnames
[] = {
5414 (char *) "self",(char *) "pt", NULL
5417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5419 if (!SWIG_IsOK(res1
)) {
5420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5422 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5425 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5440 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
= 0;
5442 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5454 char * kwnames
[] = {
5455 (char *) "self",(char *) "x",(char *) "y", NULL
5458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5460 if (!SWIG_IsOK(res1
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5463 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5464 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5465 if (!SWIG_IsOK(ecode2
)) {
5466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5468 arg2
= static_cast< double >(val2
);
5469 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5470 if (!SWIG_IsOK(ecode3
)) {
5471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5473 arg3
= static_cast< double >(val3
);
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 wxRealPoint_Set(arg1
,arg2
,arg3
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_Py_Void();
5487 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5488 PyObject
*resultobj
= 0;
5489 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5490 PyObject
*result
= 0 ;
5493 PyObject
*swig_obj
[1] ;
5495 if (!args
) SWIG_fail
;
5497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5498 if (!SWIG_IsOK(res1
)) {
5499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5501 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5515 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5518 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5519 return SWIG_Py_Void();
5522 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5523 return SWIG_Python_InitShadowInstance(args
);
5526 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5527 PyObject
*resultobj
= 0;
5528 wxPoint
*arg1
= (wxPoint
*) 0 ;
5534 PyObject
*swig_obj
[2] ;
5536 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5538 if (!SWIG_IsOK(res1
)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5541 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5542 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5543 if (!SWIG_IsOK(ecode2
)) {
5544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5546 arg2
= static_cast< int >(val2
);
5547 if (arg1
) (arg1
)->x
= arg2
;
5549 resultobj
= SWIG_Py_Void();
5556 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5557 PyObject
*resultobj
= 0;
5558 wxPoint
*arg1
= (wxPoint
*) 0 ;
5562 PyObject
*swig_obj
[1] ;
5564 if (!args
) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5570 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5571 result
= (int) ((arg1
)->x
);
5572 resultobj
= SWIG_From_int(static_cast< int >(result
));
5579 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5580 PyObject
*resultobj
= 0;
5581 wxPoint
*arg1
= (wxPoint
*) 0 ;
5587 PyObject
*swig_obj
[2] ;
5589 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5591 if (!SWIG_IsOK(res1
)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5594 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5595 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5596 if (!SWIG_IsOK(ecode2
)) {
5597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5599 arg2
= static_cast< int >(val2
);
5600 if (arg1
) (arg1
)->y
= arg2
;
5602 resultobj
= SWIG_Py_Void();
5609 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5610 PyObject
*resultobj
= 0;
5611 wxPoint
*arg1
= (wxPoint
*) 0 ;
5615 PyObject
*swig_obj
[1] ;
5617 if (!args
) SWIG_fail
;
5619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5620 if (!SWIG_IsOK(res1
)) {
5621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5623 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5624 result
= (int) ((arg1
)->y
);
5625 resultobj
= SWIG_From_int(static_cast< int >(result
));
5632 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
= 0;
5634 int arg1
= (int) 0 ;
5635 int arg2
= (int) 0 ;
5636 wxPoint
*result
= 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5643 char * kwnames
[] = {
5644 (char *) "x",(char *) "y", NULL
5647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5650 if (!SWIG_IsOK(ecode1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5653 arg1
= static_cast< int >(val1
);
5656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5657 if (!SWIG_IsOK(ecode2
)) {
5658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5660 arg2
= static_cast< int >(val2
);
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5675 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5676 PyObject
*resultobj
= 0;
5677 wxPoint
*arg1
= (wxPoint
*) 0 ;
5680 PyObject
*swig_obj
[1] ;
5682 if (!args
) SWIG_fail
;
5684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5685 if (!SWIG_IsOK(res1
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5688 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= SWIG_Py_Void();
5703 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
= 0;
5705 wxPoint
*arg1
= (wxPoint
*) 0 ;
5706 PyObject
*arg2
= (PyObject
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5712 char * kwnames
[] = {
5713 (char *) "self",(char *) "other", NULL
5716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5721 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5724 result
= (bool)wxPoint___eq__(arg1
,arg2
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5736 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
= 0;
5738 wxPoint
*arg1
= (wxPoint
*) 0 ;
5739 PyObject
*arg2
= (PyObject
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 char * kwnames
[] = {
5746 (char *) "self",(char *) "other", NULL
5749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5751 if (!SWIG_IsOK(res1
)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5754 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5757 result
= (bool)wxPoint___ne__(arg1
,arg2
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5769 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
= 0;
5771 wxPoint
*arg1
= (wxPoint
*) 0 ;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5779 char * kwnames
[] = {
5780 (char *) "self",(char *) "pt", NULL
5783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5785 if (!SWIG_IsOK(res1
)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5788 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5791 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5806 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
= 0;
5808 wxPoint
*arg1
= (wxPoint
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "self",(char *) "pt", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5825 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5843 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
= 0;
5845 wxPoint
*arg1
= (wxPoint
*) 0 ;
5847 wxPoint
*result
= 0 ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5853 char * kwnames
[] = {
5854 (char *) "self",(char *) "pt", NULL
5857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5859 if (!SWIG_IsOK(res1
)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
5862 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
5871 result
= (wxPoint
*) &_result_ref
;
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5883 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
= 0;
5885 wxPoint
*arg1
= (wxPoint
*) 0 ;
5887 wxPoint
*result
= 0 ;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5893 char * kwnames
[] = {
5894 (char *) "self",(char *) "pt", NULL
5897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5899 if (!SWIG_IsOK(res1
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5902 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
5911 result
= (wxPoint
*) &_result_ref
;
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5923 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
= 0;
5925 wxPoint
*arg1
= (wxPoint
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5936 PyObject
* obj2
= 0 ;
5937 char * kwnames
[] = {
5938 (char *) "self",(char *) "x",(char *) "y", NULL
5941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5943 if (!SWIG_IsOK(res1
)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
5946 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5947 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5948 if (!SWIG_IsOK(ecode2
)) {
5949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
5951 arg2
= static_cast< long >(val2
);
5952 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5953 if (!SWIG_IsOK(ecode3
)) {
5954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
5956 arg3
= static_cast< long >(val3
);
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 wxPoint_Set(arg1
,arg2
,arg3
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_Py_Void();
5970 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5971 PyObject
*resultobj
= 0;
5972 wxPoint
*arg1
= (wxPoint
*) 0 ;
5973 PyObject
*result
= 0 ;
5976 PyObject
*swig_obj
[1] ;
5978 if (!args
) SWIG_fail
;
5980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5981 if (!SWIG_IsOK(res1
)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
5984 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (PyObject
*)wxPoint_Get(arg1
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5998 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6001 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
6002 return SWIG_Py_Void();
6005 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6006 return SWIG_Python_InitShadowInstance(args
);
6009 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
= 0;
6011 int arg1
= (int) 0 ;
6012 int arg2
= (int) 0 ;
6013 int arg3
= (int) 0 ;
6014 int arg4
= (int) 0 ;
6015 wxRect
*result
= 0 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6026 PyObject
* obj2
= 0 ;
6027 PyObject
* obj3
= 0 ;
6028 char * kwnames
[] = {
6029 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6035 if (!SWIG_IsOK(ecode1
)) {
6036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
6038 arg1
= static_cast< int >(val1
);
6041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6042 if (!SWIG_IsOK(ecode2
)) {
6043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
6045 arg2
= static_cast< int >(val2
);
6048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6049 if (!SWIG_IsOK(ecode3
)) {
6050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
6052 arg3
= static_cast< int >(val3
);
6055 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6056 if (!SWIG_IsOK(ecode4
)) {
6057 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
6059 arg4
= static_cast< int >(val4
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
6074 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= 0;
6078 wxRect
*result
= 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6083 char * kwnames
[] = {
6084 (char *) "topLeft",(char *) "bottomRight", NULL
6087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6090 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6109 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
= 0;
6113 wxRect
*result
= 0 ;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6118 char * kwnames
[] = {
6119 (char *) "pos",(char *) "size", NULL
6122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6125 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6144 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
= 0;
6147 wxRect
*result
= 0 ;
6149 PyObject
* obj0
= 0 ;
6150 char * kwnames
[] = {
6151 (char *) "size", NULL
6154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6157 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6172 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6173 PyObject
*resultobj
= 0;
6174 wxRect
*arg1
= (wxRect
*) 0 ;
6177 PyObject
*swig_obj
[1] ;
6179 if (!args
) SWIG_fail
;
6181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6182 if (!SWIG_IsOK(res1
)) {
6183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6185 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_Py_Void();
6200 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6201 PyObject
*resultobj
= 0;
6202 wxRect
*arg1
= (wxRect
*) 0 ;
6206 PyObject
*swig_obj
[1] ;
6208 if (!args
) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6214 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (int)((wxRect
const *)arg1
)->GetX();
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= SWIG_From_int(static_cast< int >(result
));
6228 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
= 0;
6230 wxRect
*arg1
= (wxRect
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 char * kwnames
[] = {
6239 (char *) "self",(char *) "x", NULL
6242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6244 if (!SWIG_IsOK(res1
)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6247 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6249 if (!SWIG_IsOK(ecode2
)) {
6250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6252 arg2
= static_cast< int >(val2
);
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_Py_Void();
6266 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6267 PyObject
*resultobj
= 0;
6268 wxRect
*arg1
= (wxRect
*) 0 ;
6272 PyObject
*swig_obj
[1] ;
6274 if (!args
) SWIG_fail
;
6276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6277 if (!SWIG_IsOK(res1
)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6280 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (int)(arg1
)->GetY();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_From_int(static_cast< int >(result
));
6294 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
= 0;
6296 wxRect
*arg1
= (wxRect
*) 0 ;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj1
= 0 ;
6304 char * kwnames
[] = {
6305 (char *) "self",(char *) "y", NULL
6308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6310 if (!SWIG_IsOK(res1
)) {
6311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6313 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6315 if (!SWIG_IsOK(ecode2
)) {
6316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6318 arg2
= static_cast< int >(val2
);
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 resultobj
= SWIG_Py_Void();
6332 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6333 PyObject
*resultobj
= 0;
6334 wxRect
*arg1
= (wxRect
*) 0 ;
6338 PyObject
*swig_obj
[1] ;
6340 if (!args
) SWIG_fail
;
6342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6343 if (!SWIG_IsOK(res1
)) {
6344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6346 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_From_int(static_cast< int >(result
));
6360 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
= 0;
6362 wxRect
*arg1
= (wxRect
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 char * kwnames
[] = {
6371 (char *) "self",(char *) "w", NULL
6374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6376 if (!SWIG_IsOK(res1
)) {
6377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6379 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6381 if (!SWIG_IsOK(ecode2
)) {
6382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6384 arg2
= static_cast< int >(val2
);
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 (arg1
)->SetWidth(arg2
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_Py_Void();
6398 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6399 PyObject
*resultobj
= 0;
6400 wxRect
*arg1
= (wxRect
*) 0 ;
6404 PyObject
*swig_obj
[1] ;
6406 if (!args
) SWIG_fail
;
6408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6409 if (!SWIG_IsOK(res1
)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6412 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_From_int(static_cast< int >(result
));
6426 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
= 0;
6428 wxRect
*arg1
= (wxRect
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 char * kwnames
[] = {
6437 (char *) "self",(char *) "h", NULL
6440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6442 if (!SWIG_IsOK(res1
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6445 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6447 if (!SWIG_IsOK(ecode2
)) {
6448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6450 arg2
= static_cast< int >(val2
);
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 (arg1
)->SetHeight(arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= SWIG_Py_Void();
6464 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6465 PyObject
*resultobj
= 0;
6466 wxRect
*arg1
= (wxRect
*) 0 ;
6470 PyObject
*swig_obj
[1] ;
6472 if (!args
) SWIG_fail
;
6474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6475 if (!SWIG_IsOK(res1
)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6478 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 result
= ((wxRect
const *)arg1
)->GetPosition();
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6492 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
= 0;
6494 wxRect
*arg1
= (wxRect
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 char * kwnames
[] = {
6502 (char *) "self",(char *) "p", NULL
6505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6510 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6513 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= SWIG_Py_Void();
6528 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6529 PyObject
*resultobj
= 0;
6530 wxRect
*arg1
= (wxRect
*) 0 ;
6534 PyObject
*swig_obj
[1] ;
6536 if (!args
) SWIG_fail
;
6538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6539 if (!SWIG_IsOK(res1
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6542 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= ((wxRect
const *)arg1
)->GetSize();
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6556 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
= 0;
6558 wxRect
*arg1
= (wxRect
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6565 char * kwnames
[] = {
6566 (char *) "self",(char *) "s", NULL
6569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6574 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6577 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 (arg1
)->SetSize((wxSize
const &)*arg2
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_Py_Void();
6592 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6593 PyObject
*resultobj
= 0;
6594 wxRect
*arg1
= (wxRect
*) 0 ;
6598 PyObject
*swig_obj
[1] ;
6600 if (!args
) SWIG_fail
;
6602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6603 if (!SWIG_IsOK(res1
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6606 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6622 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6623 PyObject
*resultobj
= 0;
6624 wxRect
*arg1
= (wxRect
*) 0 ;
6628 PyObject
*swig_obj
[1] ;
6630 if (!args
) SWIG_fail
;
6632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6633 if (!SWIG_IsOK(res1
)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6636 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6650 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6652 wxRect
*arg1
= (wxRect
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 char * kwnames
[] = {
6660 (char *) "self",(char *) "p", NULL
6663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6665 if (!SWIG_IsOK(res1
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6668 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_Py_Void();
6686 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6687 PyObject
*resultobj
= 0;
6688 wxRect
*arg1
= (wxRect
*) 0 ;
6692 PyObject
*swig_obj
[1] ;
6694 if (!args
) SWIG_fail
;
6696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6697 if (!SWIG_IsOK(res1
)) {
6698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6700 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6714 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxRect
*arg1
= (wxRect
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 char * kwnames
[] = {
6724 (char *) "self",(char *) "p", NULL
6727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6729 if (!SWIG_IsOK(res1
)) {
6730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6732 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_Py_Void();
6750 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6751 PyObject
*resultobj
= 0;
6752 wxRect
*arg1
= (wxRect
*) 0 ;
6756 PyObject
*swig_obj
[1] ;
6758 if (!args
) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6764 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (int)((wxRect
const *)arg1
)->GetLeft();
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_From_int(static_cast< int >(result
));
6778 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6779 PyObject
*resultobj
= 0;
6780 wxRect
*arg1
= (wxRect
*) 0 ;
6784 PyObject
*swig_obj
[1] ;
6786 if (!args
) SWIG_fail
;
6788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6789 if (!SWIG_IsOK(res1
)) {
6790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
6792 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (int)((wxRect
const *)arg1
)->GetTop();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= SWIG_From_int(static_cast< int >(result
));
6806 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6807 PyObject
*resultobj
= 0;
6808 wxRect
*arg1
= (wxRect
*) 0 ;
6812 PyObject
*swig_obj
[1] ;
6814 if (!args
) SWIG_fail
;
6816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6817 if (!SWIG_IsOK(res1
)) {
6818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
6820 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= (int)((wxRect
const *)arg1
)->GetBottom();
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= SWIG_From_int(static_cast< int >(result
));
6834 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6835 PyObject
*resultobj
= 0;
6836 wxRect
*arg1
= (wxRect
*) 0 ;
6840 PyObject
*swig_obj
[1] ;
6842 if (!args
) SWIG_fail
;
6844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6845 if (!SWIG_IsOK(res1
)) {
6846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6848 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (int)((wxRect
const *)arg1
)->GetRight();
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_From_int(static_cast< int >(result
));
6862 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
= 0;
6864 wxRect
*arg1
= (wxRect
*) 0 ;
6870 PyObject
* obj0
= 0 ;
6871 PyObject
* obj1
= 0 ;
6872 char * kwnames
[] = {
6873 (char *) "self",(char *) "left", NULL
6876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6878 if (!SWIG_IsOK(res1
)) {
6879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6881 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6883 if (!SWIG_IsOK(ecode2
)) {
6884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
6886 arg2
= static_cast< int >(val2
);
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 (arg1
)->SetLeft(arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_Py_Void();
6900 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
= 0;
6902 wxRect
*arg1
= (wxRect
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6910 char * kwnames
[] = {
6911 (char *) "self",(char *) "right", NULL
6914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6916 if (!SWIG_IsOK(res1
)) {
6917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
6919 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6921 if (!SWIG_IsOK(ecode2
)) {
6922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
6924 arg2
= static_cast< int >(val2
);
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 (arg1
)->SetRight(arg2
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= SWIG_Py_Void();
6938 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
= 0;
6940 wxRect
*arg1
= (wxRect
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 char * kwnames
[] = {
6949 (char *) "self",(char *) "top", NULL
6952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6954 if (!SWIG_IsOK(res1
)) {
6955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
6957 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6959 if (!SWIG_IsOK(ecode2
)) {
6960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
6962 arg2
= static_cast< int >(val2
);
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 (arg1
)->SetTop(arg2
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_Py_Void();
6976 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
= 0;
6978 wxRect
*arg1
= (wxRect
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6985 PyObject
* obj1
= 0 ;
6986 char * kwnames
[] = {
6987 (char *) "self",(char *) "bottom", NULL
6990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6992 if (!SWIG_IsOK(res1
)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
6995 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6997 if (!SWIG_IsOK(ecode2
)) {
6998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
7000 arg2
= static_cast< int >(val2
);
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 (arg1
)->SetBottom(arg2
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= SWIG_Py_Void();
7014 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
= 0;
7016 wxRect
*arg1
= (wxRect
*) 0 ;
7019 wxRect
*result
= 0 ;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7028 PyObject
* obj2
= 0 ;
7029 char * kwnames
[] = {
7030 (char *) "self",(char *) "dx",(char *) "dy", NULL
7033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7035 if (!SWIG_IsOK(res1
)) {
7036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
7038 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7040 if (!SWIG_IsOK(ecode2
)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
7043 arg2
= static_cast< int >(val2
);
7044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7045 if (!SWIG_IsOK(ecode3
)) {
7046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
7048 arg3
= static_cast< int >(val3
);
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
7053 result
= (wxRect
*) &_result_ref
;
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7065 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
= 0;
7067 wxRect
*arg1
= (wxRect
*) 0 ;
7070 wxRect
*result
= 0 ;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7079 PyObject
* obj2
= 0 ;
7080 char * kwnames
[] = {
7081 (char *) "self",(char *) "dx",(char *) "dy", NULL
7084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7086 if (!SWIG_IsOK(res1
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
7089 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7091 if (!SWIG_IsOK(ecode2
)) {
7092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7094 arg2
= static_cast< int >(val2
);
7095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7096 if (!SWIG_IsOK(ecode3
)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7099 arg3
= static_cast< int >(val3
);
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7104 result
= (wxRect
*) &_result_ref
;
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7116 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
= 0;
7118 wxRect
*arg1
= (wxRect
*) 0 ;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7129 PyObject
* obj2
= 0 ;
7130 char * kwnames
[] = {
7131 (char *) "self",(char *) "dx",(char *) "dy", NULL
7134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7136 if (!SWIG_IsOK(res1
)) {
7137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7139 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7141 if (!SWIG_IsOK(ecode2
)) {
7142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7144 arg2
= static_cast< int >(val2
);
7145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7146 if (!SWIG_IsOK(ecode3
)) {
7147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7149 arg3
= static_cast< int >(val3
);
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 (arg1
)->Offset(arg2
,arg3
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= SWIG_Py_Void();
7163 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
= 0;
7165 wxRect
*arg1
= (wxRect
*) 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7172 char * kwnames
[] = {
7173 (char *) "self",(char *) "pt", NULL
7176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7178 if (!SWIG_IsOK(res1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7181 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7184 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 (arg1
)->Offset((wxPoint
const &)*arg2
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_Py_Void();
7199 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
= 0;
7201 wxRect
*arg1
= (wxRect
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7209 char * kwnames
[] = {
7210 (char *) "self",(char *) "rect", NULL
7213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7215 if (!SWIG_IsOK(res1
)) {
7216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7218 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7221 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7236 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
= 0;
7238 wxRect
*arg1
= (wxRect
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7246 char * kwnames
[] = {
7247 (char *) "self",(char *) "rect", NULL
7250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7252 if (!SWIG_IsOK(res1
)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7255 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7258 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7273 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
= 0;
7275 wxRect
*arg1
= (wxRect
*) 0 ;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "self",(char *) "rect", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7289 if (!SWIG_IsOK(res1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7292 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7295 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7310 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
= 0;
7312 wxRect
*arg1
= (wxRect
*) 0 ;
7314 wxRect
*result
= 0 ;
7318 PyObject
* obj0
= 0 ;
7319 PyObject
* obj1
= 0 ;
7320 char * kwnames
[] = {
7321 (char *) "self",(char *) "rect", NULL
7324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7326 if (!SWIG_IsOK(res1
)) {
7327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7329 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7332 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7338 result
= (wxRect
*) &_result_ref
;
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7350 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
= 0;
7352 wxRect
*arg1
= (wxRect
*) 0 ;
7353 PyObject
*arg2
= (PyObject
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7358 PyObject
* obj1
= 0 ;
7359 char * kwnames
[] = {
7360 (char *) "self",(char *) "other", NULL
7363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7365 if (!SWIG_IsOK(res1
)) {
7366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect *""'");
7368 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7371 result
= (bool)wxRect___eq__(arg1
,arg2
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7383 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
= 0;
7385 wxRect
*arg1
= (wxRect
*) 0 ;
7386 PyObject
*arg2
= (PyObject
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7392 char * kwnames
[] = {
7393 (char *) "self",(char *) "other", NULL
7396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7398 if (!SWIG_IsOK(res1
)) {
7399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect *""'");
7401 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7404 result
= (bool)wxRect___ne__(arg1
,arg2
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 SWIGINTERN PyObject
*_wrap_Rect_InsideXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
= 0;
7418 wxRect
*arg1
= (wxRect
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7430 PyObject
* obj2
= 0 ;
7431 char * kwnames
[] = {
7432 (char *) "self",(char *) "x",(char *) "y", NULL
7435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7437 if (!SWIG_IsOK(res1
)) {
7438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_InsideXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7440 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7442 if (!SWIG_IsOK(ecode2
)) {
7443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_InsideXY" "', expected argument " "2"" of type '" "int""'");
7445 arg2
= static_cast< int >(val2
);
7446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7447 if (!SWIG_IsOK(ecode3
)) {
7448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_InsideXY" "', expected argument " "3"" of type '" "int""'");
7450 arg3
= static_cast< int >(val3
);
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7466 SWIGINTERN PyObject
*_wrap_Rect_Inside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
= 0;
7468 wxRect
*arg1
= (wxRect
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7476 char * kwnames
[] = {
7477 (char *) "self",(char *) "pt", NULL
7480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7482 if (!SWIG_IsOK(res1
)) {
7483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inside" "', expected argument " "1"" of type '" "wxRect const *""'");
7485 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7505 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
= 0;
7507 wxRect
*arg1
= (wxRect
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7515 char * kwnames
[] = {
7516 (char *) "self",(char *) "rect", NULL
7519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7521 if (!SWIG_IsOK(res1
)) {
7522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7524 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7527 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7544 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
= 0;
7546 wxRect
*arg1
= (wxRect
*) 0 ;
7548 int arg3
= (int) wxBOTH
;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 PyObject
* obj2
= 0 ;
7558 char * kwnames
[] = {
7559 (char *) "self",(char *) "r",(char *) "dir", NULL
7562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7567 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7570 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7574 if (!SWIG_IsOK(ecode3
)) {
7575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7577 arg3
= static_cast< int >(val3
);
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7592 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7593 PyObject
*resultobj
= 0;
7594 wxRect
*arg1
= (wxRect
*) 0 ;
7600 PyObject
*swig_obj
[2] ;
7602 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7604 if (!SWIG_IsOK(res1
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7607 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7608 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7609 if (!SWIG_IsOK(ecode2
)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7612 arg2
= static_cast< int >(val2
);
7613 if (arg1
) (arg1
)->x
= arg2
;
7615 resultobj
= SWIG_Py_Void();
7622 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7623 PyObject
*resultobj
= 0;
7624 wxRect
*arg1
= (wxRect
*) 0 ;
7628 PyObject
*swig_obj
[1] ;
7630 if (!args
) SWIG_fail
;
7632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7633 if (!SWIG_IsOK(res1
)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7636 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7637 result
= (int) ((arg1
)->x
);
7638 resultobj
= SWIG_From_int(static_cast< int >(result
));
7645 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7646 PyObject
*resultobj
= 0;
7647 wxRect
*arg1
= (wxRect
*) 0 ;
7653 PyObject
*swig_obj
[2] ;
7655 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7660 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7661 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7662 if (!SWIG_IsOK(ecode2
)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7665 arg2
= static_cast< int >(val2
);
7666 if (arg1
) (arg1
)->y
= arg2
;
7668 resultobj
= SWIG_Py_Void();
7675 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7676 PyObject
*resultobj
= 0;
7677 wxRect
*arg1
= (wxRect
*) 0 ;
7681 PyObject
*swig_obj
[1] ;
7683 if (!args
) SWIG_fail
;
7685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7686 if (!SWIG_IsOK(res1
)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
7689 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7690 result
= (int) ((arg1
)->y
);
7691 resultobj
= SWIG_From_int(static_cast< int >(result
));
7698 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7699 PyObject
*resultobj
= 0;
7700 wxRect
*arg1
= (wxRect
*) 0 ;
7706 PyObject
*swig_obj
[2] ;
7708 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
7709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7710 if (!SWIG_IsOK(res1
)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
7713 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7714 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7715 if (!SWIG_IsOK(ecode2
)) {
7716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
7718 arg2
= static_cast< int >(val2
);
7719 if (arg1
) (arg1
)->width
= arg2
;
7721 resultobj
= SWIG_Py_Void();
7728 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7729 PyObject
*resultobj
= 0;
7730 wxRect
*arg1
= (wxRect
*) 0 ;
7734 PyObject
*swig_obj
[1] ;
7736 if (!args
) SWIG_fail
;
7738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7739 if (!SWIG_IsOK(res1
)) {
7740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
7742 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7743 result
= (int) ((arg1
)->width
);
7744 resultobj
= SWIG_From_int(static_cast< int >(result
));
7751 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7752 PyObject
*resultobj
= 0;
7753 wxRect
*arg1
= (wxRect
*) 0 ;
7759 PyObject
*swig_obj
[2] ;
7761 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
7762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7763 if (!SWIG_IsOK(res1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
7766 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7767 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7768 if (!SWIG_IsOK(ecode2
)) {
7769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
7771 arg2
= static_cast< int >(val2
);
7772 if (arg1
) (arg1
)->height
= arg2
;
7774 resultobj
= SWIG_Py_Void();
7781 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7782 PyObject
*resultobj
= 0;
7783 wxRect
*arg1
= (wxRect
*) 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_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
7795 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7796 result
= (int) ((arg1
)->height
);
7797 resultobj
= SWIG_From_int(static_cast< int >(result
));
7804 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxRect
*arg1
= (wxRect
*) 0 ;
7807 int arg2
= (int) 0 ;
7808 int arg3
= (int) 0 ;
7809 int arg4
= (int) 0 ;
7810 int arg5
= (int) 0 ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7823 PyObject
* obj2
= 0 ;
7824 PyObject
* obj3
= 0 ;
7825 PyObject
* obj4
= 0 ;
7826 char * kwnames
[] = {
7827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7832 if (!SWIG_IsOK(res1
)) {
7833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
7835 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7838 if (!SWIG_IsOK(ecode2
)) {
7839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
7841 arg2
= static_cast< int >(val2
);
7844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7845 if (!SWIG_IsOK(ecode3
)) {
7846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
7848 arg3
= static_cast< int >(val3
);
7851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7852 if (!SWIG_IsOK(ecode4
)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
7855 arg4
= static_cast< int >(val4
);
7858 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7859 if (!SWIG_IsOK(ecode5
)) {
7860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
7862 arg5
= static_cast< int >(val5
);
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_Py_Void();
7877 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7878 PyObject
*resultobj
= 0;
7879 wxRect
*arg1
= (wxRect
*) 0 ;
7880 PyObject
*result
= 0 ;
7883 PyObject
*swig_obj
[1] ;
7885 if (!args
) SWIG_fail
;
7887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7888 if (!SWIG_IsOK(res1
)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
7891 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (PyObject
*)wxRect_Get(arg1
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7905 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7908 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
7909 return SWIG_Py_Void();
7912 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7913 return SWIG_Python_InitShadowInstance(args
);
7916 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7917 PyObject
*resultobj
= 0;
7918 wxRect
*arg1
= (wxRect
*) 0 ;
7919 wxRect
*arg2
= (wxRect
*) 0 ;
7920 PyObject
*result
= 0 ;
7925 PyObject
* obj0
= 0 ;
7926 PyObject
* obj1
= 0 ;
7927 char * kwnames
[] = {
7928 (char *) "r1",(char *) "r2", NULL
7931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7933 if (!SWIG_IsOK(res1
)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
7936 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
7938 if (!SWIG_IsOK(res2
)) {
7939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
7941 arg2
= reinterpret_cast< wxRect
* >(argp2
);
7943 if (!wxPyCheckForApp()) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7956 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
= 0;
7958 double arg1
= (double) 0.0 ;
7959 double arg2
= (double) 0.0 ;
7960 wxPoint2D
*result
= 0 ;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7967 char * kwnames
[] = {
7968 (char *) "x",(char *) "y", NULL
7971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7973 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
7974 if (!SWIG_IsOK(ecode1
)) {
7975 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
7977 arg1
= static_cast< double >(val1
);
7980 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
7981 if (!SWIG_IsOK(ecode2
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
7984 arg2
= static_cast< double >(val2
);
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
7999 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
= 0;
8001 wxPoint2D
*arg1
= 0 ;
8002 wxPoint2D
*result
= 0 ;
8004 PyObject
* obj0
= 0 ;
8005 char * kwnames
[] = {
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
8012 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8027 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
= 0;
8030 wxPoint2D
*result
= 0 ;
8032 PyObject
* obj0
= 0 ;
8033 char * kwnames
[] = {
8037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
8040 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8055 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8056 PyObject
*resultobj
= 0;
8057 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8058 int *arg2
= (int *) 0 ;
8059 int *arg3
= (int *) 0 ;
8063 int res2
= SWIG_TMPOBJ
;
8065 int res3
= SWIG_TMPOBJ
;
8066 PyObject
*swig_obj
[1] ;
8070 if (!args
) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8076 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_Py_Void();
8084 if (SWIG_IsTmpObj(res2
)) {
8085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8087 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8090 if (SWIG_IsTmpObj(res3
)) {
8091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8093 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8102 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8103 PyObject
*resultobj
= 0;
8104 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8105 int *arg2
= (int *) 0 ;
8106 int *arg3
= (int *) 0 ;
8110 int res2
= SWIG_TMPOBJ
;
8112 int res3
= SWIG_TMPOBJ
;
8113 PyObject
*swig_obj
[1] ;
8117 if (!args
) SWIG_fail
;
8119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8120 if (!SWIG_IsOK(res1
)) {
8121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8123 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_Py_Void();
8131 if (SWIG_IsTmpObj(res2
)) {
8132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8134 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8137 if (SWIG_IsTmpObj(res3
)) {
8138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8140 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8149 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8150 PyObject
*resultobj
= 0;
8151 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8155 PyObject
*swig_obj
[1] ;
8157 if (!args
) SWIG_fail
;
8159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8160 if (!SWIG_IsOK(res1
)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8163 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_From_double(static_cast< double >(result
));
8177 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8178 PyObject
*resultobj
= 0;
8179 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8183 PyObject
*swig_obj
[1] ;
8185 if (!args
) SWIG_fail
;
8187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8188 if (!SWIG_IsOK(res1
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8191 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= SWIG_From_double(static_cast< double >(result
));
8205 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
= 0;
8207 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8214 PyObject
* obj1
= 0 ;
8215 char * kwnames
[] = {
8216 (char *) "self",(char *) "length", NULL
8219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8221 if (!SWIG_IsOK(res1
)) {
8222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8224 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8225 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8226 if (!SWIG_IsOK(ecode2
)) {
8227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8229 arg2
= static_cast< double >(val2
);
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 (arg1
)->SetVectorLength(arg2
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_Py_Void();
8243 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
= 0;
8245 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 char * kwnames
[] = {
8254 (char *) "self",(char *) "degrees", NULL
8257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8259 if (!SWIG_IsOK(res1
)) {
8260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8262 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8263 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8264 if (!SWIG_IsOK(ecode2
)) {
8265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8267 arg2
= static_cast< double >(val2
);
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 (arg1
)->SetVectorAngle(arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_Py_Void();
8281 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
= 0;
8283 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8284 wxPoint2D
*arg2
= 0 ;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8291 char * kwnames
[] = {
8292 (char *) "self",(char *) "pt", NULL
8295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8297 if (!SWIG_IsOK(res1
)) {
8298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8300 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8303 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= SWIG_From_double(static_cast< double >(result
));
8318 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
= 0;
8320 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8321 wxPoint2D
*arg2
= 0 ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8328 char * kwnames
[] = {
8329 (char *) "self",(char *) "pt", NULL
8332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8334 if (!SWIG_IsOK(res1
)) {
8335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8337 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8340 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 resultobj
= SWIG_From_double(static_cast< double >(result
));
8355 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
= 0;
8357 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8358 wxPoint2D
*arg2
= 0 ;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8365 char * kwnames
[] = {
8366 (char *) "self",(char *) "vec", NULL
8369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8371 if (!SWIG_IsOK(res1
)) {
8372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8374 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8377 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_From_double(static_cast< double >(result
));
8392 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
= 0;
8394 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8395 wxPoint2D
*arg2
= 0 ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 char * kwnames
[] = {
8403 (char *) "self",(char *) "vec", NULL
8406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8408 if (!SWIG_IsOK(res1
)) {
8409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8411 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8414 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 resultobj
= SWIG_From_double(static_cast< double >(result
));
8429 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8430 PyObject
*resultobj
= 0;
8431 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8435 PyObject
*swig_obj
[1] ;
8437 if (!args
) SWIG_fail
;
8439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8440 if (!SWIG_IsOK(res1
)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8443 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (arg1
)->operator -();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8457 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
= 0;
8459 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8460 wxPoint2D
*arg2
= 0 ;
8461 wxPoint2D
*result
= 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 char * kwnames
[] = {
8468 (char *) "self",(char *) "pt", NULL
8471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8476 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8479 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8485 result
= (wxPoint2D
*) &_result_ref
;
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8497 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
= 0;
8499 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8500 wxPoint2D
*arg2
= 0 ;
8501 wxPoint2D
*result
= 0 ;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8507 char * kwnames
[] = {
8508 (char *) "self",(char *) "pt", NULL
8511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8516 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8519 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8525 result
= (wxPoint2D
*) &_result_ref
;
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8537 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
= 0;
8539 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8540 wxPoint2D
*arg2
= 0 ;
8541 wxPoint2D
*result
= 0 ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 char * kwnames
[] = {
8548 (char *) "self",(char *) "pt", NULL
8551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8553 if (!SWIG_IsOK(res1
)) {
8554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8556 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8559 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8565 result
= (wxPoint2D
*) &_result_ref
;
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8577 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
= 0;
8579 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8580 wxPoint2D
*arg2
= 0 ;
8581 wxPoint2D
*result
= 0 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8587 char * kwnames
[] = {
8588 (char *) "self",(char *) "pt", NULL
8591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8593 if (!SWIG_IsOK(res1
)) {
8594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8596 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8599 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8605 result
= (wxPoint2D
*) &_result_ref
;
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8617 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
= 0;
8619 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8620 PyObject
*arg2
= (PyObject
*) 0 ;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8626 char * kwnames
[] = {
8627 (char *) "self",(char *) "other", NULL
8630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8632 if (!SWIG_IsOK(res1
)) {
8633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8635 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8638 result
= (bool)wxPoint2D___eq__(arg1
,arg2
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8650 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
= 0;
8652 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8653 PyObject
*arg2
= (PyObject
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 char * kwnames
[] = {
8660 (char *) "self",(char *) "other", NULL
8663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8665 if (!SWIG_IsOK(res1
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8668 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8671 result
= (bool)wxPoint2D___ne__(arg1
,arg2
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8683 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8684 PyObject
*resultobj
= 0;
8685 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8691 PyObject
*swig_obj
[2] ;
8693 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
8694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8695 if (!SWIG_IsOK(res1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8698 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8699 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8700 if (!SWIG_IsOK(ecode2
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
8703 arg2
= static_cast< double >(val2
);
8704 if (arg1
) (arg1
)->m_x
= arg2
;
8706 resultobj
= SWIG_Py_Void();
8713 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8714 PyObject
*resultobj
= 0;
8715 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8719 PyObject
*swig_obj
[1] ;
8721 if (!args
) SWIG_fail
;
8723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8724 if (!SWIG_IsOK(res1
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8727 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8728 result
= (double) ((arg1
)->m_x
);
8729 resultobj
= SWIG_From_double(static_cast< double >(result
));
8736 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8737 PyObject
*resultobj
= 0;
8738 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8744 PyObject
*swig_obj
[2] ;
8746 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
8747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8748 if (!SWIG_IsOK(res1
)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8751 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8752 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8753 if (!SWIG_IsOK(ecode2
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
8756 arg2
= static_cast< double >(val2
);
8757 if (arg1
) (arg1
)->m_y
= arg2
;
8759 resultobj
= SWIG_Py_Void();
8766 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8767 PyObject
*resultobj
= 0;
8768 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8772 PyObject
*swig_obj
[1] ;
8774 if (!args
) SWIG_fail
;
8776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8777 if (!SWIG_IsOK(res1
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8780 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8781 result
= (double) ((arg1
)->m_y
);
8782 resultobj
= SWIG_From_double(static_cast< double >(result
));
8789 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= 0;
8791 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8792 double arg2
= (double) 0 ;
8793 double arg3
= (double) 0 ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 PyObject
* obj2
= 0 ;
8803 char * kwnames
[] = {
8804 (char *) "self",(char *) "x",(char *) "y", NULL
8807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8812 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8814 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8815 if (!SWIG_IsOK(ecode2
)) {
8816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
8818 arg2
= static_cast< double >(val2
);
8821 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
8822 if (!SWIG_IsOK(ecode3
)) {
8823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
8825 arg3
= static_cast< double >(val3
);
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 wxPoint2D_Set(arg1
,arg2
,arg3
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= SWIG_Py_Void();
8840 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8841 PyObject
*resultobj
= 0;
8842 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8843 PyObject
*result
= 0 ;
8846 PyObject
*swig_obj
[1] ;
8848 if (!args
) SWIG_fail
;
8850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8851 if (!SWIG_IsOK(res1
)) {
8852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8854 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 result
= (PyObject
*)wxPoint2D_Get(arg1
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8868 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8871 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
8872 return SWIG_Py_Void();
8875 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8876 return SWIG_Python_InitShadowInstance(args
);
8879 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
8880 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
8885 SWIGINTERN PyObject
*DefaultPosition_get(void) {
8886 PyObject
*pyobj
= 0;
8888 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
8893 SWIGINTERN
int DefaultSize_set(PyObject
*) {
8894 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
8899 SWIGINTERN PyObject
*DefaultSize_get(void) {
8900 PyObject
*pyobj
= 0;
8902 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
8907 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
= 0;
8909 PyObject
*arg1
= (PyObject
*) 0 ;
8910 wxPyInputStream
*result
= 0 ;
8911 PyObject
* obj0
= 0 ;
8912 char * kwnames
[] = {
8916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
8931 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8932 PyObject
*resultobj
= 0;
8933 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8936 PyObject
*swig_obj
[1] ;
8938 if (!args
) SWIG_fail
;
8940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
8941 if (!SWIG_IsOK(res1
)) {
8942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8944 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8952 resultobj
= SWIG_Py_Void();
8959 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8960 PyObject
*resultobj
= 0;
8961 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8964 PyObject
*swig_obj
[1] ;
8966 if (!args
) SWIG_fail
;
8968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8969 if (!SWIG_IsOK(res1
)) {
8970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8972 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= SWIG_Py_Void();
8986 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8987 PyObject
*resultobj
= 0;
8988 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8991 PyObject
*swig_obj
[1] ;
8993 if (!args
) SWIG_fail
;
8995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8996 if (!SWIG_IsOK(res1
)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8999 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_Py_Void();
9013 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9014 PyObject
*resultobj
= 0;
9015 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9019 PyObject
*swig_obj
[1] ;
9021 if (!args
) SWIG_fail
;
9023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9024 if (!SWIG_IsOK(res1
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9027 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (bool)(arg1
)->eof();
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9043 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= 0;
9045 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9046 int arg2
= (int) -1 ;
9047 PyObject
*result
= 0 ;
9052 PyObject
* obj0
= 0 ;
9053 PyObject
* obj1
= 0 ;
9054 char * kwnames
[] = {
9055 (char *) "self",(char *) "size", NULL
9058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9063 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9066 if (!SWIG_IsOK(ecode2
)) {
9067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
9069 arg2
= static_cast< int >(val2
);
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (PyObject
*)(arg1
)->read(arg2
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9084 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
= 0;
9086 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9087 int arg2
= (int) -1 ;
9088 PyObject
*result
= 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "self",(char *) "size", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9104 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_readline" "', expected argument " "2"" of type '" "int""'");
9110 arg2
= static_cast< int >(val2
);
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (PyObject
*)(arg1
)->readline(arg2
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9125 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
= 0;
9127 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9128 int arg2
= (int) -1 ;
9129 PyObject
*result
= 0 ;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 char * kwnames
[] = {
9137 (char *) "self",(char *) "sizehint", NULL
9140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9142 if (!SWIG_IsOK(res1
)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9145 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9148 if (!SWIG_IsOK(ecode2
)) {
9149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
9151 arg2
= static_cast< int >(val2
);
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= (PyObject
*)(arg1
)->readlines(arg2
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9166 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
= 0;
9168 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9170 int arg3
= (int) 0 ;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9179 PyObject
* obj2
= 0 ;
9180 char * kwnames
[] = {
9181 (char *) "self",(char *) "offset",(char *) "whence", NULL
9184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9186 if (!SWIG_IsOK(res1
)) {
9187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9189 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9191 if (!SWIG_IsOK(ecode2
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
9194 arg2
= static_cast< int >(val2
);
9196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9197 if (!SWIG_IsOK(ecode3
)) {
9198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
9200 arg3
= static_cast< int >(val3
);
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 (arg1
)->seek(arg2
,arg3
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_Py_Void();
9215 SWIGINTERN PyObject
*_wrap_InputStream_tell(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_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9229 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (int)(arg1
)->tell();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_From_int(static_cast< int >(result
));
9243 SWIGINTERN PyObject
*_wrap_InputStream_Peek(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_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9257 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (char)(arg1
)->Peek();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_From_char(static_cast< char >(result
));
9271 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9272 PyObject
*resultobj
= 0;
9273 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9277 PyObject
*swig_obj
[1] ;
9279 if (!args
) SWIG_fail
;
9281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9282 if (!SWIG_IsOK(res1
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9285 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (char)(arg1
)->GetC();
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_From_char(static_cast< char >(result
));
9299 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9300 PyObject
*resultobj
= 0;
9301 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9305 PyObject
*swig_obj
[1] ;
9307 if (!args
) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9313 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (size_t)(arg1
)->LastRead();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9327 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9328 PyObject
*resultobj
= 0;
9329 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9333 PyObject
*swig_obj
[1] ;
9335 if (!args
) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9341 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->CanRead();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9357 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9358 PyObject
*resultobj
= 0;
9359 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9363 PyObject
*swig_obj
[1] ;
9365 if (!args
) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9371 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)(arg1
)->Eof();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9387 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
= 0;
9389 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 char * kwnames
[] = {
9399 (char *) "self",(char *) "c", NULL
9402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9404 if (!SWIG_IsOK(res1
)) {
9405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9407 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9408 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9409 if (!SWIG_IsOK(ecode2
)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
9412 arg2
= static_cast< char >(val2
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (bool)(arg1
)->Ungetch(arg2
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9428 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
= 0;
9430 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9432 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
9440 PyObject
* obj0
= 0 ;
9441 PyObject
* obj1
= 0 ;
9442 PyObject
* obj2
= 0 ;
9443 char * kwnames
[] = {
9444 (char *) "self",(char *) "pos",(char *) "mode", NULL
9447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9449 if (!SWIG_IsOK(res1
)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9452 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9454 if (!SWIG_IsOK(ecode2
)) {
9455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
9457 arg2
= static_cast< long >(val2
);
9459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9460 if (!SWIG_IsOK(ecode3
)) {
9461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
9463 arg3
= static_cast< wxSeekMode
>(val3
);
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= SWIG_From_long(static_cast< long >(result
));
9478 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9479 PyObject
*resultobj
= 0;
9480 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9484 PyObject
*swig_obj
[1] ;
9486 if (!args
) SWIG_fail
;
9488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9489 if (!SWIG_IsOK(res1
)) {
9490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9492 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (long)(arg1
)->TellI();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_From_long(static_cast< long >(result
));
9506 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9509 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
9510 return SWIG_Py_Void();
9513 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9514 return SWIG_Python_InitShadowInstance(args
);
9517 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
= 0;
9519 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9520 PyObject
*arg2
= (PyObject
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9525 char * kwnames
[] = {
9526 (char *) "self",(char *) "obj", NULL
9529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9531 if (!SWIG_IsOK(res1
)) {
9532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
9534 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 wxOutputStream_write(arg1
,arg2
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= SWIG_Py_Void();
9549 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9550 PyObject
*resultobj
= 0;
9551 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9555 PyObject
*swig_obj
[1] ;
9557 if (!args
) SWIG_fail
;
9559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9560 if (!SWIG_IsOK(res1
)) {
9561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
9563 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9577 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9580 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
9581 return SWIG_Py_Void();
9584 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= 0;
9586 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
9587 wxString
*arg2
= 0 ;
9588 wxString
*arg3
= 0 ;
9589 wxString
*arg4
= 0 ;
9591 wxFSFile
*result
= 0 ;
9592 wxPyInputStream
*temp1
;
9593 bool temp2
= false ;
9594 bool temp3
= false ;
9595 bool temp4
= false ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9601 PyObject
* obj3
= 0 ;
9602 PyObject
* obj4
= 0 ;
9603 char * kwnames
[] = {
9604 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
9607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9609 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9610 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
9612 PyErr_Clear(); // clear the failure of the wxPyConvert above
9613 arg1
= wxPyCBInputStream_create(obj0
, true);
9615 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
9621 arg2
= wxString_in_helper(obj1
);
9622 if (arg2
== NULL
) SWIG_fail
;
9626 arg3
= wxString_in_helper(obj2
);
9627 if (arg3
== NULL
) SWIG_fail
;
9631 arg4
= wxString_in_helper(obj3
);
9632 if (arg4
== NULL
) SWIG_fail
;
9636 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
9637 if (!SWIG_IsOK(res5
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9643 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
9645 if (SWIG_IsNewObj(res5
)) delete temp
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
9687 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9688 PyObject
*resultobj
= 0;
9689 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9692 PyObject
*swig_obj
[1] ;
9694 if (!args
) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
9700 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_Py_Void();
9715 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9716 PyObject
*resultobj
= 0;
9717 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9718 wxInputStream
*result
= 0 ;
9721 PyObject
*swig_obj
[1] ;
9723 if (!args
) SWIG_fail
;
9725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9726 if (!SWIG_IsOK(res1
)) {
9727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
9729 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (wxInputStream
*)(arg1
)->GetStream();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 wxPyInputStream
* _ptr
= NULL
;
9740 _ptr
= new wxPyInputStream(result
);
9742 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9750 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9751 PyObject
*resultobj
= 0;
9752 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9753 wxString
*result
= 0 ;
9756 PyObject
*swig_obj
[1] ;
9758 if (!args
) SWIG_fail
;
9760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9761 if (!SWIG_IsOK(res1
)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
9764 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 wxString
const &_result_ref
= (arg1
)->GetMimeType();
9769 result
= (wxString
*) &_result_ref
;
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9778 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9787 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9788 PyObject
*resultobj
= 0;
9789 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9790 wxString
*result
= 0 ;
9793 PyObject
*swig_obj
[1] ;
9795 if (!args
) SWIG_fail
;
9797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9798 if (!SWIG_IsOK(res1
)) {
9799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
9801 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 wxString
const &_result_ref
= (arg1
)->GetLocation();
9806 result
= (wxString
*) &_result_ref
;
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9815 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9824 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9825 PyObject
*resultobj
= 0;
9826 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9827 wxString
*result
= 0 ;
9830 PyObject
*swig_obj
[1] ;
9832 if (!args
) SWIG_fail
;
9834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9835 if (!SWIG_IsOK(res1
)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
9838 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 wxString
const &_result_ref
= (arg1
)->GetAnchor();
9843 result
= (wxString
*) &_result_ref
;
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9861 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9862 PyObject
*resultobj
= 0;
9863 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9867 PyObject
*swig_obj
[1] ;
9869 if (!args
) SWIG_fail
;
9871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9872 if (!SWIG_IsOK(res1
)) {
9873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
9875 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (arg1
)->GetModificationTime();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
9889 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9892 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
9893 return SWIG_Py_Void();
9896 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9897 return SWIG_Python_InitShadowInstance(args
);
9900 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9901 PyObject
*resultobj
= 0;
9902 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9905 PyObject
*swig_obj
[1] ;
9907 if (!args
) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
9913 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_Py_Void();
9928 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9931 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
9932 return SWIG_Py_Void();
9935 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9936 PyObject
*resultobj
= 0;
9937 wxPyFileSystemHandler
*result
= 0 ;
9939 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
9953 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9956 PyObject
*arg2
= (PyObject
*) 0 ;
9957 PyObject
*arg3
= (PyObject
*) 0 ;
9960 PyObject
* obj0
= 0 ;
9961 PyObject
* obj1
= 0 ;
9962 PyObject
* obj2
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "self",(char *) "self",(char *) "_class", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9969 if (!SWIG_IsOK(res1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9972 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_Py_Void();
9988 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
= 0;
9990 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9991 wxString
*arg2
= 0 ;
9995 bool temp2
= false ;
9996 PyObject
* obj0
= 0 ;
9997 PyObject
* obj1
= 0 ;
9998 char * kwnames
[] = {
9999 (char *) "self",(char *) "location", NULL
10002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10004 if (!SWIG_IsOK(res1
)) {
10005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10007 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10009 arg2
= wxString_in_helper(obj1
);
10010 if (arg2
== NULL
) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10036 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
= 0;
10038 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10039 wxFileSystem
*arg2
= 0 ;
10040 wxString
*arg3
= 0 ;
10041 wxFSFile
*result
= 0 ;
10046 bool temp3
= false ;
10047 PyObject
* obj0
= 0 ;
10048 PyObject
* obj1
= 0 ;
10049 PyObject
* obj2
= 0 ;
10050 char * kwnames
[] = {
10051 (char *) "self",(char *) "fs",(char *) "location", NULL
10054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10056 if (!SWIG_IsOK(res1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10059 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10061 if (!SWIG_IsOK(res2
)) {
10062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10067 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10069 arg3
= wxString_in_helper(obj2
);
10070 if (arg3
== NULL
) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10096 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
= 0;
10098 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10099 wxString
*arg2
= 0 ;
10100 int arg3
= (int) 0 ;
10104 bool temp2
= false ;
10107 PyObject
* obj0
= 0 ;
10108 PyObject
* obj1
= 0 ;
10109 PyObject
* obj2
= 0 ;
10110 char * kwnames
[] = {
10111 (char *) "self",(char *) "spec",(char *) "flags", NULL
10114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10116 if (!SWIG_IsOK(res1
)) {
10117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10119 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10121 arg2
= wxString_in_helper(obj1
);
10122 if (arg2
== NULL
) SWIG_fail
;
10126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10127 if (!SWIG_IsOK(ecode3
)) {
10128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
10130 arg3
= static_cast< int >(val3
);
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10159 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 PyObject
*resultobj
= 0;
10161 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10165 PyObject
*swig_obj
[1] ;
10167 if (!args
) SWIG_fail
;
10168 swig_obj
[0] = args
;
10169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10173 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (arg1
)->FindNext();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10193 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
= 0;
10195 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10196 wxString
*arg2
= 0 ;
10200 bool temp2
= false ;
10201 PyObject
* obj0
= 0 ;
10202 PyObject
* obj1
= 0 ;
10203 char * kwnames
[] = {
10204 (char *) "self",(char *) "location", NULL
10207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10212 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10214 arg2
= wxString_in_helper(obj1
);
10215 if (arg2
== NULL
) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10245 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
= 0;
10247 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10248 wxString
*arg2
= 0 ;
10252 bool temp2
= false ;
10253 PyObject
* obj0
= 0 ;
10254 PyObject
* obj1
= 0 ;
10255 char * kwnames
[] = {
10256 (char *) "self",(char *) "location", NULL
10259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10261 if (!SWIG_IsOK(res1
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10264 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10266 arg2
= wxString_in_helper(obj1
);
10267 if (arg2
== NULL
) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10297 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
= 0;
10299 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10300 wxString
*arg2
= 0 ;
10304 bool temp2
= false ;
10305 PyObject
* obj0
= 0 ;
10306 PyObject
* obj1
= 0 ;
10307 char * kwnames
[] = {
10308 (char *) "self",(char *) "location", NULL
10311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10313 if (!SWIG_IsOK(res1
)) {
10314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10316 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10318 arg2
= wxString_in_helper(obj1
);
10319 if (arg2
== NULL
) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10349 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10352 wxString
*arg2
= 0 ;
10356 bool temp2
= false ;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "location", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10368 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10370 arg2
= wxString_in_helper(obj1
);
10371 if (arg2
== NULL
) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10401 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
= 0;
10403 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10404 wxString
*arg2
= 0 ;
10408 bool temp2
= false ;
10409 PyObject
* obj0
= 0 ;
10410 PyObject
* obj1
= 0 ;
10411 char * kwnames
[] = {
10412 (char *) "self",(char *) "location", NULL
10415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10417 if (!SWIG_IsOK(res1
)) {
10418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10420 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10422 arg2
= wxString_in_helper(obj1
);
10423 if (arg2
== NULL
) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10453 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10456 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
10457 return SWIG_Py_Void();
10460 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10461 return SWIG_Python_InitShadowInstance(args
);
10464 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10465 PyObject
*resultobj
= 0;
10466 wxFileSystem
*result
= 0 ;
10468 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (wxFileSystem
*)new wxFileSystem();
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
10484 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 PyObject
*resultobj
= 0;
10486 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10489 PyObject
*swig_obj
[1] ;
10491 if (!args
) SWIG_fail
;
10492 swig_obj
[0] = args
;
10493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10497 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_Py_Void();
10512 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
= 0;
10514 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10515 wxString
*arg2
= 0 ;
10516 bool arg3
= (bool) false ;
10519 bool temp2
= false ;
10522 PyObject
* obj0
= 0 ;
10523 PyObject
* obj1
= 0 ;
10524 PyObject
* obj2
= 0 ;
10525 char * kwnames
[] = {
10526 (char *) "self",(char *) "location",(char *) "is_dir", NULL
10529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10531 if (!SWIG_IsOK(res1
)) {
10532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10534 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10536 arg2
= wxString_in_helper(obj1
);
10537 if (arg2
== NULL
) SWIG_fail
;
10541 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10542 if (!SWIG_IsOK(ecode3
)) {
10543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
10545 arg3
= static_cast< bool >(val3
);
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= SWIG_Py_Void();
10568 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10569 PyObject
*resultobj
= 0;
10570 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10574 PyObject
*swig_obj
[1] ;
10576 if (!args
) SWIG_fail
;
10577 swig_obj
[0] = args
;
10578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10579 if (!SWIG_IsOK(res1
)) {
10580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10582 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (arg1
)->GetPath();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10602 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
= 0;
10604 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10605 wxString
*arg2
= 0 ;
10606 wxFSFile
*result
= 0 ;
10609 bool temp2
= false ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char * kwnames
[] = {
10613 (char *) "self",(char *) "location", NULL
10616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10621 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10623 arg2
= wxString_in_helper(obj1
);
10624 if (arg2
== NULL
) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10650 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
= 0;
10652 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10653 wxString
*arg2
= 0 ;
10654 int arg3
= (int) 0 ;
10658 bool temp2
= false ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 PyObject
* obj2
= 0 ;
10664 char * kwnames
[] = {
10665 (char *) "self",(char *) "spec",(char *) "flags", NULL
10668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10670 if (!SWIG_IsOK(res1
)) {
10671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10673 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10675 arg2
= wxString_in_helper(obj1
);
10676 if (arg2
== NULL
) SWIG_fail
;
10680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10681 if (!SWIG_IsOK(ecode3
)) {
10682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
10684 arg3
= static_cast< int >(val3
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10713 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10714 PyObject
*resultobj
= 0;
10715 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10719 PyObject
*swig_obj
[1] ;
10721 if (!args
) SWIG_fail
;
10722 swig_obj
[0] = args
;
10723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10724 if (!SWIG_IsOK(res1
)) {
10725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10727 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (arg1
)->FindNext();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10747 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
= 0;
10749 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
10751 PyObject
* obj0
= 0 ;
10752 char * kwnames
[] = {
10753 (char *) "handler", NULL
10756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
10757 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
10758 if (!SWIG_IsOK(res1
)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 wxFileSystem::AddHandler(arg1
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= SWIG_Py_Void();
10774 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10775 PyObject
*resultobj
= 0;
10777 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 wxFileSystem::CleanUpHandlers();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_Py_Void();
10791 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
= 0;
10793 wxString
*arg1
= 0 ;
10795 bool temp1
= false ;
10796 PyObject
* obj0
= 0 ;
10797 char * kwnames
[] = {
10798 (char *) "filename", NULL
10801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
10803 arg1
= wxString_in_helper(obj0
);
10804 if (arg1
== NULL
) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10834 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
= 0;
10836 wxString
*arg1
= 0 ;
10838 bool temp1
= false ;
10839 PyObject
* obj0
= 0 ;
10840 char * kwnames
[] = {
10841 (char *) "url", NULL
10844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
10846 arg1
= wxString_in_helper(obj0
);
10847 if (arg1
== NULL
) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10877 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10880 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
10881 return SWIG_Py_Void();
10884 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10885 return SWIG_Python_InitShadowInstance(args
);
10888 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10889 PyObject
*resultobj
= 0;
10890 wxInternetFSHandler
*result
= 0 ;
10892 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
10906 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= 0;
10908 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10909 wxString
*arg2
= 0 ;
10913 bool temp2
= false ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "location", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10925 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10927 arg2
= wxString_in_helper(obj1
);
10928 if (arg2
== NULL
) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10954 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
= 0;
10956 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10957 wxFileSystem
*arg2
= 0 ;
10958 wxString
*arg3
= 0 ;
10959 wxFSFile
*result
= 0 ;
10964 bool temp3
= false ;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 PyObject
* obj2
= 0 ;
10968 char * kwnames
[] = {
10969 (char *) "self",(char *) "fs",(char *) "location", NULL
10972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10977 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10979 if (!SWIG_IsOK(res2
)) {
10980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10985 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10987 arg3
= wxString_in_helper(obj2
);
10988 if (arg3
== NULL
) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11014 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11017 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
11018 return SWIG_Py_Void();
11021 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11022 return SWIG_Python_InitShadowInstance(args
);
11025 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11026 PyObject
*resultobj
= 0;
11027 wxZipFSHandler
*result
= 0 ;
11029 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (wxZipFSHandler
*)new wxZipFSHandler();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
11043 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
= 0;
11045 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11046 wxString
*arg2
= 0 ;
11050 bool temp2
= false ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char * kwnames
[] = {
11054 (char *) "self",(char *) "location", NULL
11057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11059 if (!SWIG_IsOK(res1
)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11062 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11064 arg2
= wxString_in_helper(obj1
);
11065 if (arg2
== NULL
) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11094 wxFileSystem
*arg2
= 0 ;
11095 wxString
*arg3
= 0 ;
11096 wxFSFile
*result
= 0 ;
11101 bool temp3
= false ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 PyObject
* obj2
= 0 ;
11105 char * kwnames
[] = {
11106 (char *) "self",(char *) "fs",(char *) "location", NULL
11109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11111 if (!SWIG_IsOK(res1
)) {
11112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11114 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11116 if (!SWIG_IsOK(res2
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11122 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11124 arg3
= wxString_in_helper(obj2
);
11125 if (arg3
== NULL
) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11151 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
= 0;
11153 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11154 wxString
*arg2
= 0 ;
11155 int arg3
= (int) 0 ;
11159 bool temp2
= false ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 PyObject
* obj2
= 0 ;
11165 char * kwnames
[] = {
11166 (char *) "self",(char *) "spec",(char *) "flags", NULL
11169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11174 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11176 arg2
= wxString_in_helper(obj1
);
11177 if (arg2
== NULL
) SWIG_fail
;
11181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11182 if (!SWIG_IsOK(ecode3
)) {
11183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11185 arg3
= static_cast< int >(val3
);
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11214 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11215 PyObject
*resultobj
= 0;
11216 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11220 PyObject
*swig_obj
[1] ;
11222 if (!args
) SWIG_fail
;
11223 swig_obj
[0] = args
;
11224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11228 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 result
= (arg1
)->FindNext();
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11248 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11251 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
11252 return SWIG_Py_Void();
11255 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11256 return SWIG_Python_InitShadowInstance(args
);
11259 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= 0;
11261 wxString
*arg1
= 0 ;
11262 wxImage
*arg2
= 0 ;
11264 bool temp1
= false ;
11269 PyObject
* obj0
= 0 ;
11270 PyObject
* obj1
= 0 ;
11271 PyObject
* obj2
= 0 ;
11272 char * kwnames
[] = {
11273 (char *) "filename",(char *) "image",(char *) "type", NULL
11276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11278 arg1
= wxString_in_helper(obj0
);
11279 if (arg1
== NULL
) SWIG_fail
;
11282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
11283 if (!SWIG_IsOK(res2
)) {
11284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11289 arg2
= reinterpret_cast< wxImage
* >(argp2
);
11290 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11291 if (!SWIG_IsOK(ecode3
)) {
11292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
11294 arg3
= static_cast< long >(val3
);
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_Py_Void();
11316 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
= 0;
11318 wxString
*arg1
= 0 ;
11319 wxBitmap
*arg2
= 0 ;
11321 bool temp1
= false ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 PyObject
* obj2
= 0 ;
11329 char * kwnames
[] = {
11330 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
11333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11335 arg1
= wxString_in_helper(obj0
);
11336 if (arg1
== NULL
) SWIG_fail
;
11339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11340 if (!SWIG_IsOK(res2
)) {
11341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11347 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11348 if (!SWIG_IsOK(ecode3
)) {
11349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
11351 arg3
= static_cast< long >(val3
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_Py_Void();
11373 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
= 0;
11375 wxString
*arg1
= 0 ;
11376 PyObject
*arg2
= (PyObject
*) 0 ;
11377 bool temp1
= false ;
11378 PyObject
* obj0
= 0 ;
11379 PyObject
* obj1
= 0 ;
11380 char * kwnames
[] = {
11381 (char *) "filename",(char *) "data", NULL
11384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11386 arg1
= wxString_in_helper(obj0
);
11387 if (arg1
== NULL
) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_Py_Void();
11412 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11413 PyObject
*resultobj
= 0;
11414 wxMemoryFSHandler
*result
= 0 ;
11416 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
11430 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
= 0;
11432 wxString
*arg1
= 0 ;
11433 bool temp1
= false ;
11434 PyObject
* obj0
= 0 ;
11435 char * kwnames
[] = {
11436 (char *) "filename", NULL
11439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
11441 arg1
= wxString_in_helper(obj0
);
11442 if (arg1
== NULL
) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_Py_Void();
11466 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
= 0;
11468 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11469 wxString
*arg2
= 0 ;
11473 bool temp2
= false ;
11474 PyObject
* obj0
= 0 ;
11475 PyObject
* obj1
= 0 ;
11476 char * kwnames
[] = {
11477 (char *) "self",(char *) "location", NULL
11480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11482 if (!SWIG_IsOK(res1
)) {
11483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11485 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11487 arg2
= wxString_in_helper(obj1
);
11488 if (arg2
== NULL
) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
= 0;
11516 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11517 wxFileSystem
*arg2
= 0 ;
11518 wxString
*arg3
= 0 ;
11519 wxFSFile
*result
= 0 ;
11524 bool temp3
= false ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 char * kwnames
[] = {
11529 (char *) "self",(char *) "fs",(char *) "location", NULL
11532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11534 if (!SWIG_IsOK(res1
)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11537 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11539 if (!SWIG_IsOK(res2
)) {
11540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11545 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11547 arg3
= wxString_in_helper(obj2
);
11548 if (arg3
== NULL
) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11574 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
= 0;
11576 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11577 wxString
*arg2
= 0 ;
11578 int arg3
= (int) 0 ;
11582 bool temp2
= false ;
11585 PyObject
* obj0
= 0 ;
11586 PyObject
* obj1
= 0 ;
11587 PyObject
* obj2
= 0 ;
11588 char * kwnames
[] = {
11589 (char *) "self",(char *) "spec",(char *) "flags", NULL
11592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11594 if (!SWIG_IsOK(res1
)) {
11595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11597 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11599 arg2
= wxString_in_helper(obj1
);
11600 if (arg2
== NULL
) SWIG_fail
;
11604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11605 if (!SWIG_IsOK(ecode3
)) {
11606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11608 arg3
= static_cast< int >(val3
);
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11637 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11638 PyObject
*resultobj
= 0;
11639 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11643 PyObject
*swig_obj
[1] ;
11645 if (!args
) SWIG_fail
;
11646 swig_obj
[0] = args
;
11647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11651 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (arg1
)->FindNext();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11671 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11674 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
11675 return SWIG_Py_Void();
11678 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 return SWIG_Python_InitShadowInstance(args
);
11682 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11683 PyObject
*resultobj
= 0;
11684 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11688 PyObject
*swig_obj
[1] ;
11690 if (!args
) SWIG_fail
;
11691 swig_obj
[0] = args
;
11692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11693 if (!SWIG_IsOK(res1
)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11696 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (arg1
)->GetName();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11716 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11717 PyObject
*resultobj
= 0;
11718 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11722 PyObject
*swig_obj
[1] ;
11724 if (!args
) SWIG_fail
;
11725 swig_obj
[0] = args
;
11726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11727 if (!SWIG_IsOK(res1
)) {
11728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11730 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (arg1
)->GetExtension();
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11750 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11756 PyObject
*swig_obj
[1] ;
11758 if (!args
) SWIG_fail
;
11759 swig_obj
[0] = args
;
11760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11761 if (!SWIG_IsOK(res1
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11764 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (long)(arg1
)->GetType();
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_From_long(static_cast< long >(result
));
11778 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 PyObject
*resultobj
= 0;
11780 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11784 PyObject
*swig_obj
[1] ;
11786 if (!args
) SWIG_fail
;
11787 swig_obj
[0] = args
;
11788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11789 if (!SWIG_IsOK(res1
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11792 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (arg1
)->GetMimeType();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11812 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
= 0;
11814 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11815 wxString
*arg2
= 0 ;
11819 bool temp2
= false ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 char * kwnames
[] = {
11823 (char *) "self",(char *) "name", NULL
11826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11828 if (!SWIG_IsOK(res1
)) {
11829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11831 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11833 arg2
= wxString_in_helper(obj1
);
11834 if (arg2
== NULL
) SWIG_fail
;
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11860 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
= 0;
11862 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11863 wxString
*arg2
= 0 ;
11866 bool temp2
= false ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 char * kwnames
[] = {
11870 (char *) "self",(char *) "name", NULL
11873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11878 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11880 arg2
= wxString_in_helper(obj1
);
11881 if (arg2
== NULL
) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->SetName((wxString
const &)*arg2
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_Py_Void();
11905 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
= 0;
11907 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11908 wxString
*arg2
= 0 ;
11911 bool temp2
= false ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 char * kwnames
[] = {
11915 (char *) "self",(char *) "extension", NULL
11918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11920 if (!SWIG_IsOK(res1
)) {
11921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11923 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11925 arg2
= wxString_in_helper(obj1
);
11926 if (arg2
== NULL
) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 (arg1
)->SetExtension((wxString
const &)*arg2
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_Py_Void();
11950 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
= 0;
11952 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11958 PyObject
* obj0
= 0 ;
11959 PyObject
* obj1
= 0 ;
11960 char * kwnames
[] = {
11961 (char *) "self",(char *) "type", NULL
11964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11966 if (!SWIG_IsOK(res1
)) {
11967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11969 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11971 if (!SWIG_IsOK(ecode2
)) {
11972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
11974 arg2
= static_cast< long >(val2
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 (arg1
)->SetType(arg2
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_Py_Void();
11988 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
= 0;
11990 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11991 wxString
*arg2
= 0 ;
11994 bool temp2
= false ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "mimetype", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12006 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12008 arg2
= wxString_in_helper(obj1
);
12009 if (arg2
== NULL
) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 (arg1
)->SetMimeType((wxString
const &)*arg2
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_Py_Void();
12033 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12036 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
12037 return SWIG_Py_Void();
12040 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12041 PyObject
*resultobj
= 0;
12042 wxPyImageHandler
*result
= 0 ;
12044 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (wxPyImageHandler
*)new wxPyImageHandler();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
12058 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
= 0;
12060 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
12061 PyObject
*arg2
= (PyObject
*) 0 ;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 char * kwnames
[] = {
12067 (char *) "self",(char *) "self", NULL
12070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
12072 if (!SWIG_IsOK(res1
)) {
12073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
12075 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->_SetSelf(arg2
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_Py_Void();
12090 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
12094 return SWIG_Py_Void();
12097 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12098 return SWIG_Python_InitShadowInstance(args
);
12101 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 PyObject
*resultobj
= 0;
12103 wxImageHistogram
*result
= 0 ;
12105 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (wxImageHistogram
*)new wxImageHistogram();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
12119 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
= 0;
12124 unsigned long result
;
12125 unsigned char val1
;
12127 unsigned char val2
;
12129 unsigned char val3
;
12131 PyObject
* obj0
= 0 ;
12132 PyObject
* obj1
= 0 ;
12133 PyObject
* obj2
= 0 ;
12134 char * kwnames
[] = {
12135 (char *) "r",(char *) "g",(char *) "b", NULL
12138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12139 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12140 if (!SWIG_IsOK(ecode1
)) {
12141 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
12143 arg1
= static_cast< byte
>(val1
);
12144 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12145 if (!SWIG_IsOK(ecode2
)) {
12146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
12148 arg2
= static_cast< byte
>(val2
);
12149 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12150 if (!SWIG_IsOK(ecode3
)) {
12151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
12153 arg3
= static_cast< byte
>(val3
);
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12167 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
= 0;
12169 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12170 byte
*arg2
= (byte
*) 0 ;
12171 byte
*arg3
= (byte
*) 0 ;
12172 byte
*arg4
= (byte
*) 0 ;
12173 byte arg5
= (byte
) 1 ;
12174 byte arg6
= (byte
) 0 ;
12175 byte arg7
= (byte
) 0 ;
12180 int res2
= SWIG_TMPOBJ
;
12182 int res3
= SWIG_TMPOBJ
;
12184 int res4
= SWIG_TMPOBJ
;
12185 unsigned char val5
;
12187 unsigned char val6
;
12189 unsigned char val7
;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 PyObject
* obj2
= 0 ;
12194 PyObject
* obj3
= 0 ;
12195 char * kwnames
[] = {
12196 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12204 if (!SWIG_IsOK(res1
)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
12207 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12209 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
12210 if (!SWIG_IsOK(ecode5
)) {
12211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
12213 arg5
= static_cast< byte
>(val5
);
12216 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
12217 if (!SWIG_IsOK(ecode6
)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
12220 arg6
= static_cast< byte
>(val6
);
12223 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
12224 if (!SWIG_IsOK(ecode7
)) {
12225 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
12227 arg7
= static_cast< byte
>(val7
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12238 if (SWIG_IsTmpObj(res2
)) {
12239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
12241 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
12244 if (SWIG_IsTmpObj(res3
)) {
12245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
12247 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
12250 if (SWIG_IsTmpObj(res4
)) {
12251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
12253 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
12262 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12265 unsigned long arg2
;
12266 unsigned long result
;
12269 unsigned long val2
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char * kwnames
[] = {
12274 (char *) "self",(char *) "key", NULL
12277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12279 if (!SWIG_IsOK(res1
)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12282 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12283 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12284 if (!SWIG_IsOK(ecode2
)) {
12285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
12287 arg2
= static_cast< unsigned long >(val2
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12301 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
= 0;
12303 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12307 unsigned long result
;
12310 unsigned char val2
;
12312 unsigned char val3
;
12314 unsigned char val4
;
12316 PyObject
* obj0
= 0 ;
12317 PyObject
* obj1
= 0 ;
12318 PyObject
* obj2
= 0 ;
12319 PyObject
* obj3
= 0 ;
12320 char * kwnames
[] = {
12321 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12326 if (!SWIG_IsOK(res1
)) {
12327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12329 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12330 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12331 if (!SWIG_IsOK(ecode2
)) {
12332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
12334 arg2
= static_cast< byte
>(val2
);
12335 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12336 if (!SWIG_IsOK(ecode3
)) {
12337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
12339 arg3
= static_cast< byte
>(val3
);
12340 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
12341 if (!SWIG_IsOK(ecode4
)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
12344 arg4
= static_cast< byte
>(val4
);
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12358 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
= 0;
12360 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12361 wxColour
*arg2
= 0 ;
12362 unsigned long result
;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 char * kwnames
[] = {
12369 (char *) "self",(char *) "colour", NULL
12372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12374 if (!SWIG_IsOK(res1
)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12377 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12380 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12395 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12398 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
12399 return SWIG_Py_Void();
12402 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 return SWIG_Python_InitShadowInstance(args
);
12406 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
= 0;
12408 byte arg1
= (byte
) 0 ;
12409 byte arg2
= (byte
) 0 ;
12410 byte arg3
= (byte
) 0 ;
12411 wxImage_RGBValue
*result
= 0 ;
12412 unsigned char val1
;
12414 unsigned char val2
;
12416 unsigned char val3
;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj1
= 0 ;
12420 PyObject
* obj2
= 0 ;
12421 char * kwnames
[] = {
12422 (char *) "r",(char *) "g",(char *) "b", NULL
12425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12427 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12428 if (!SWIG_IsOK(ecode1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
12431 arg1
= static_cast< byte
>(val1
);
12434 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12435 if (!SWIG_IsOK(ecode2
)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
12438 arg2
= static_cast< byte
>(val2
);
12441 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12442 if (!SWIG_IsOK(ecode3
)) {
12443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
12445 arg3
= static_cast< byte
>(val3
);
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
12460 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12461 PyObject
*resultobj
= 0;
12462 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12466 unsigned char val2
;
12468 PyObject
*swig_obj
[2] ;
12470 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
12471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12472 if (!SWIG_IsOK(res1
)) {
12473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12475 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12476 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12477 if (!SWIG_IsOK(ecode2
)) {
12478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
12480 arg2
= static_cast< byte
>(val2
);
12481 if (arg1
) (arg1
)->red
= arg2
;
12483 resultobj
= SWIG_Py_Void();
12490 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12491 PyObject
*resultobj
= 0;
12492 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12496 PyObject
*swig_obj
[1] ;
12498 if (!args
) SWIG_fail
;
12499 swig_obj
[0] = args
;
12500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12504 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12505 result
= (byte
) ((arg1
)->red
);
12506 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12513 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12514 PyObject
*resultobj
= 0;
12515 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12519 unsigned char val2
;
12521 PyObject
*swig_obj
[2] ;
12523 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
12524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12528 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12529 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12530 if (!SWIG_IsOK(ecode2
)) {
12531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
12533 arg2
= static_cast< byte
>(val2
);
12534 if (arg1
) (arg1
)->green
= arg2
;
12536 resultobj
= SWIG_Py_Void();
12543 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12549 PyObject
*swig_obj
[1] ;
12551 if (!args
) SWIG_fail
;
12552 swig_obj
[0] = args
;
12553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12557 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12558 result
= (byte
) ((arg1
)->green
);
12559 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12566 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12567 PyObject
*resultobj
= 0;
12568 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12572 unsigned char val2
;
12574 PyObject
*swig_obj
[2] ;
12576 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
12577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12578 if (!SWIG_IsOK(res1
)) {
12579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12581 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12582 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12583 if (!SWIG_IsOK(ecode2
)) {
12584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
12586 arg2
= static_cast< byte
>(val2
);
12587 if (arg1
) (arg1
)->blue
= arg2
;
12589 resultobj
= SWIG_Py_Void();
12596 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12597 PyObject
*resultobj
= 0;
12598 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12602 PyObject
*swig_obj
[1] ;
12604 if (!args
) SWIG_fail
;
12605 swig_obj
[0] = args
;
12606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12610 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12611 result
= (byte
) ((arg1
)->blue
);
12612 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12619 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12622 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
12623 return SWIG_Py_Void();
12626 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12627 return SWIG_Python_InitShadowInstance(args
);
12630 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
= 0;
12632 double arg1
= (double) 0.0 ;
12633 double arg2
= (double) 0.0 ;
12634 double arg3
= (double) 0.0 ;
12635 wxImage_HSVValue
*result
= 0 ;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 PyObject
* obj2
= 0 ;
12645 char * kwnames
[] = {
12646 (char *) "h",(char *) "s",(char *) "v", NULL
12649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12651 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
12652 if (!SWIG_IsOK(ecode1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
12655 arg1
= static_cast< double >(val1
);
12658 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
12659 if (!SWIG_IsOK(ecode2
)) {
12660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
12662 arg2
= static_cast< double >(val2
);
12665 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
12666 if (!SWIG_IsOK(ecode3
)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
12669 arg3
= static_cast< double >(val3
);
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
12684 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12685 PyObject
*resultobj
= 0;
12686 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12692 PyObject
*swig_obj
[2] ;
12694 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
12695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12696 if (!SWIG_IsOK(res1
)) {
12697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12699 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12700 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12701 if (!SWIG_IsOK(ecode2
)) {
12702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
12704 arg2
= static_cast< double >(val2
);
12705 if (arg1
) (arg1
)->hue
= arg2
;
12707 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12715 PyObject
*resultobj
= 0;
12716 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12720 PyObject
*swig_obj
[1] ;
12722 if (!args
) SWIG_fail
;
12723 swig_obj
[0] = args
;
12724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12725 if (!SWIG_IsOK(res1
)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12728 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12729 result
= (double) ((arg1
)->hue
);
12730 resultobj
= SWIG_From_double(static_cast< double >(result
));
12737 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12738 PyObject
*resultobj
= 0;
12739 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12745 PyObject
*swig_obj
[2] ;
12747 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
12748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12749 if (!SWIG_IsOK(res1
)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12752 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12753 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12754 if (!SWIG_IsOK(ecode2
)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
12757 arg2
= static_cast< double >(val2
);
12758 if (arg1
) (arg1
)->saturation
= arg2
;
12760 resultobj
= SWIG_Py_Void();
12767 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12768 PyObject
*resultobj
= 0;
12769 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12773 PyObject
*swig_obj
[1] ;
12775 if (!args
) SWIG_fail
;
12776 swig_obj
[0] = args
;
12777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12778 if (!SWIG_IsOK(res1
)) {
12779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12781 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12782 result
= (double) ((arg1
)->saturation
);
12783 resultobj
= SWIG_From_double(static_cast< double >(result
));
12790 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12791 PyObject
*resultobj
= 0;
12792 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12798 PyObject
*swig_obj
[2] ;
12800 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
12801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12805 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12806 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12807 if (!SWIG_IsOK(ecode2
)) {
12808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
12810 arg2
= static_cast< double >(val2
);
12811 if (arg1
) (arg1
)->value
= arg2
;
12813 resultobj
= SWIG_Py_Void();
12820 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 PyObject
*resultobj
= 0;
12822 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12826 PyObject
*swig_obj
[1] ;
12828 if (!args
) SWIG_fail
;
12829 swig_obj
[0] = args
;
12830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12831 if (!SWIG_IsOK(res1
)) {
12832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12834 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12835 result
= (double) ((arg1
)->value
);
12836 resultobj
= SWIG_From_double(static_cast< double >(result
));
12843 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12846 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
12847 return SWIG_Py_Void();
12850 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 return SWIG_Python_InitShadowInstance(args
);
12854 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
= 0;
12856 wxString
*arg1
= 0 ;
12857 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12858 int arg3
= (int) -1 ;
12859 wxImage
*result
= 0 ;
12860 bool temp1
= false ;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 PyObject
* obj2
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "name",(char *) "type",(char *) "index", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12874 arg1
= wxString_in_helper(obj0
);
12875 if (arg1
== NULL
) SWIG_fail
;
12879 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12880 if (!SWIG_IsOK(ecode2
)) {
12881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
12883 arg2
= static_cast< long >(val2
);
12886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12887 if (!SWIG_IsOK(ecode3
)) {
12888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
12890 arg3
= static_cast< int >(val3
);
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
12913 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12914 PyObject
*resultobj
= 0;
12915 wxImage
*arg1
= (wxImage
*) 0 ;
12918 PyObject
*swig_obj
[1] ;
12920 if (!args
) SWIG_fail
;
12921 swig_obj
[0] = args
;
12922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
12923 if (!SWIG_IsOK(res1
)) {
12924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
12926 arg1
= reinterpret_cast< wxImage
* >(argp1
);
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= SWIG_Py_Void();
12941 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
= 0;
12943 wxString
*arg1
= 0 ;
12944 wxString
*arg2
= 0 ;
12945 int arg3
= (int) -1 ;
12946 wxImage
*result
= 0 ;
12947 bool temp1
= false ;
12948 bool temp2
= false ;
12951 PyObject
* obj0
= 0 ;
12952 PyObject
* obj1
= 0 ;
12953 PyObject
* obj2
= 0 ;
12954 char * kwnames
[] = {
12955 (char *) "name",(char *) "mimetype",(char *) "index", NULL
12958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12960 arg1
= wxString_in_helper(obj0
);
12961 if (arg1
== NULL
) SWIG_fail
;
12965 arg2
= wxString_in_helper(obj1
);
12966 if (arg2
== NULL
) SWIG_fail
;
12970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12971 if (!SWIG_IsOK(ecode3
)) {
12972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
12974 arg3
= static_cast< int >(val3
);
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13005 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
= 0;
13007 wxInputStream
*arg1
= 0 ;
13008 long arg2
= (long) wxBITMAP_TYPE_ANY
;
13009 int arg3
= (int) -1 ;
13010 wxImage
*result
= 0 ;
13011 wxPyInputStream
*temp1
;
13017 PyObject
* obj0
= 0 ;
13018 PyObject
* obj1
= 0 ;
13019 PyObject
* obj2
= 0 ;
13020 char * kwnames
[] = {
13021 (char *) "stream",(char *) "type",(char *) "index", NULL
13024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13026 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13027 arg1
= temp1
->m_wxis
;
13030 PyErr_Clear(); // clear the failure of the wxPyConvert above
13031 arg1
= wxPyCBInputStream_create(obj0
, false);
13032 if (arg1
== NULL
) {
13033 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13041 if (!SWIG_IsOK(ecode2
)) {
13042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
13044 arg2
= static_cast< long >(val2
);
13047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13048 if (!SWIG_IsOK(ecode3
)) {
13049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
13051 arg3
= static_cast< int >(val3
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13061 if (created1
) delete arg1
;
13066 if (created1
) delete arg1
;
13072 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= 0;
13074 wxInputStream
*arg1
= 0 ;
13075 wxString
*arg2
= 0 ;
13076 int arg3
= (int) -1 ;
13077 wxImage
*result
= 0 ;
13078 wxPyInputStream
*temp1
;
13080 bool temp2
= false ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj2
= 0 ;
13086 char * kwnames
[] = {
13087 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
13090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13092 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13093 arg1
= temp1
->m_wxis
;
13096 PyErr_Clear(); // clear the failure of the wxPyConvert above
13097 arg1
= wxPyCBInputStream_create(obj0
, false);
13098 if (arg1
== NULL
) {
13099 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13106 arg2
= wxString_in_helper(obj1
);
13107 if (arg2
== NULL
) SWIG_fail
;
13111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13112 if (!SWIG_IsOK(ecode3
)) {
13113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
13115 arg3
= static_cast< int >(val3
);
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13125 if (created1
) delete arg1
;
13134 if (created1
) delete arg1
;
13144 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
= 0;
13146 int arg1
= (int) 0 ;
13147 int arg2
= (int) 0 ;
13148 bool arg3
= (bool) true ;
13149 wxImage
*result
= 0 ;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 PyObject
* obj2
= 0 ;
13159 char * kwnames
[] = {
13160 (char *) "width",(char *) "height",(char *) "clear", NULL
13163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13165 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13166 if (!SWIG_IsOK(ecode1
)) {
13167 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
13169 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_EmptyImage" "', expected argument " "2"" of type '" "int""'");
13176 arg2
= static_cast< int >(val2
);
13179 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13180 if (!SWIG_IsOK(ecode3
)) {
13181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
13183 arg3
= static_cast< bool >(val3
);
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13198 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
= 0;
13200 wxBitmap
*arg1
= 0 ;
13201 wxImage
*result
= 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char * kwnames
[] = {
13206 (char *) "bitmap", NULL
13209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
13210 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13211 if (!SWIG_IsOK(res1
)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13217 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
13219 if (!wxPyCheckForApp()) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13232 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
= 0;
13238 wxImage
*result
= 0 ;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 PyObject
* obj2
= 0 ;
13246 char * kwnames
[] = {
13247 (char *) "width",(char *) "height",(char *) "data", NULL
13250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13251 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13252 if (!SWIG_IsOK(ecode1
)) {
13253 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
13255 arg1
= static_cast< int >(val1
);
13256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13257 if (!SWIG_IsOK(ecode2
)) {
13258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
13260 arg2
= static_cast< int >(val2
);
13262 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13277 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
= 0;
13285 wxImage
*result
= 0 ;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 PyObject
* obj2
= 0 ;
13293 PyObject
* obj3
= 0 ;
13294 char * kwnames
[] = {
13295 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
13298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13299 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13300 if (!SWIG_IsOK(ecode1
)) {
13301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
13303 arg1
= static_cast< int >(val1
);
13304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13305 if (!SWIG_IsOK(ecode2
)) {
13306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
13308 arg2
= static_cast< int >(val2
);
13310 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13313 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13328 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
= 0;
13330 wxImage
*arg1
= (wxImage
*) 0 ;
13333 bool arg4
= (bool) true ;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 PyObject
* obj2
= 0 ;
13345 PyObject
* obj3
= 0 ;
13346 char * kwnames
[] = {
13347 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
13350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13352 if (!SWIG_IsOK(res1
)) {
13353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
13355 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13357 if (!SWIG_IsOK(ecode2
)) {
13358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
13360 arg2
= static_cast< int >(val2
);
13361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13362 if (!SWIG_IsOK(ecode3
)) {
13363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
13365 arg3
= static_cast< int >(val3
);
13367 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13368 if (!SWIG_IsOK(ecode4
)) {
13369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
13371 arg4
= static_cast< bool >(val4
);
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->Create(arg2
,arg3
,arg4
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= SWIG_Py_Void();
13386 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxImage
*arg1
= (wxImage
*) 0 ;
13391 PyObject
*swig_obj
[1] ;
13393 if (!args
) SWIG_fail
;
13394 swig_obj
[0] = args
;
13395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
13399 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= SWIG_Py_Void();
13413 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
= 0;
13415 wxImage
*arg1
= (wxImage
*) 0 ;
13418 SwigValueWrapper
<wxImage
> result
;
13425 PyObject
* obj0
= 0 ;
13426 PyObject
* obj1
= 0 ;
13427 PyObject
* obj2
= 0 ;
13428 char * kwnames
[] = {
13429 (char *) "self",(char *) "width",(char *) "height", NULL
13432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
13437 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13439 if (!SWIG_IsOK(ecode2
)) {
13440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
13442 arg2
= static_cast< int >(val2
);
13443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13444 if (!SWIG_IsOK(ecode3
)) {
13445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
13447 arg3
= static_cast< int >(val3
);
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (arg1
)->Scale(arg2
,arg3
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13461 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
= 0;
13463 wxImage
*arg1
= (wxImage
*) 0 ;
13466 SwigValueWrapper
<wxImage
> result
;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 PyObject
* obj2
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
13485 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13487 if (!SWIG_IsOK(ecode2
)) {
13488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
13490 arg2
= static_cast< int >(val2
);
13491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13492 if (!SWIG_IsOK(ecode3
)) {
13493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
13495 arg3
= static_cast< int >(val3
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13509 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
= 0;
13511 wxImage
*arg1
= (wxImage
*) 0 ;
13514 wxImage
*result
= 0 ;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 PyObject
* obj2
= 0 ;
13524 char * kwnames
[] = {
13525 (char *) "self",(char *) "width",(char *) "height", NULL
13528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13530 if (!SWIG_IsOK(res1
)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
13533 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13535 if (!SWIG_IsOK(ecode2
)) {
13536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
13538 arg2
= static_cast< int >(val2
);
13539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13540 if (!SWIG_IsOK(ecode3
)) {
13541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
13543 arg3
= static_cast< int >(val3
);
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
13548 result
= (wxImage
*) &_result_ref
;
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13560 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
= 0;
13562 wxImage
*arg1
= (wxImage
*) 0 ;
13564 wxPoint
*arg3
= 0 ;
13565 int arg4
= (int) -1 ;
13566 int arg5
= (int) -1 ;
13567 int arg6
= (int) -1 ;
13568 wxImage
*result
= 0 ;
13579 PyObject
* obj0
= 0 ;
13580 PyObject
* obj1
= 0 ;
13581 PyObject
* obj2
= 0 ;
13582 PyObject
* obj3
= 0 ;
13583 PyObject
* obj4
= 0 ;
13584 PyObject
* obj5
= 0 ;
13585 char * kwnames
[] = {
13586 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
13589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13591 if (!SWIG_IsOK(res1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
13594 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13597 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13601 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13605 if (!SWIG_IsOK(ecode4
)) {
13606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
13608 arg4
= static_cast< int >(val4
);
13611 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13612 if (!SWIG_IsOK(ecode5
)) {
13613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
13615 arg5
= static_cast< int >(val5
);
13618 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
13619 if (!SWIG_IsOK(ecode6
)) {
13620 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
13622 arg6
= static_cast< int >(val6
);
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
13628 result
= (wxImage
*) &_result_ref
;
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13640 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
= 0;
13642 wxImage
*arg1
= (wxImage
*) 0 ;
13654 unsigned char val4
;
13656 unsigned char val5
;
13658 unsigned char val6
;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 PyObject
* obj2
= 0 ;
13663 PyObject
* obj3
= 0 ;
13664 PyObject
* obj4
= 0 ;
13665 PyObject
* obj5
= 0 ;
13666 char * kwnames
[] = {
13667 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
13670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13672 if (!SWIG_IsOK(res1
)) {
13673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
13675 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13677 if (!SWIG_IsOK(ecode2
)) {
13678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
13680 arg2
= static_cast< int >(val2
);
13681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13682 if (!SWIG_IsOK(ecode3
)) {
13683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
13685 arg3
= static_cast< int >(val3
);
13686 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13687 if (!SWIG_IsOK(ecode4
)) {
13688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
13690 arg4
= static_cast< byte
>(val4
);
13691 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13692 if (!SWIG_IsOK(ecode5
)) {
13693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
13695 arg5
= static_cast< byte
>(val5
);
13696 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
13697 if (!SWIG_IsOK(ecode6
)) {
13698 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
13700 arg6
= static_cast< byte
>(val6
);
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= SWIG_Py_Void();
13714 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
= 0;
13716 wxImage
*arg1
= (wxImage
*) 0 ;
13724 unsigned char val3
;
13726 unsigned char val4
;
13728 unsigned char val5
;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 PyObject
* obj2
= 0 ;
13733 PyObject
* obj3
= 0 ;
13734 PyObject
* obj4
= 0 ;
13735 char * kwnames
[] = {
13736 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
13739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13741 if (!SWIG_IsOK(res1
)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
13744 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13747 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13749 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
13750 if (!SWIG_IsOK(ecode3
)) {
13751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
13753 arg3
= static_cast< byte
>(val3
);
13754 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13755 if (!SWIG_IsOK(ecode4
)) {
13756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
13758 arg4
= static_cast< byte
>(val4
);
13759 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13760 if (!SWIG_IsOK(ecode5
)) {
13761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
13763 arg5
= static_cast< byte
>(val5
);
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= SWIG_Py_Void();
13777 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
= 0;
13779 wxImage
*arg1
= (wxImage
*) 0 ;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 PyObject
* obj2
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "self",(char *) "x",(char *) "y", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13798 if (!SWIG_IsOK(res1
)) {
13799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
13801 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13803 if (!SWIG_IsOK(ecode2
)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
13806 arg2
= static_cast< int >(val2
);
13807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13808 if (!SWIG_IsOK(ecode3
)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
13811 arg3
= static_cast< int >(val3
);
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13825 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
= 0;
13827 wxImage
*arg1
= (wxImage
*) 0 ;
13837 PyObject
* obj0
= 0 ;
13838 PyObject
* obj1
= 0 ;
13839 PyObject
* obj2
= 0 ;
13840 char * kwnames
[] = {
13841 (char *) "self",(char *) "x",(char *) "y", NULL
13844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13846 if (!SWIG_IsOK(res1
)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
13849 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13851 if (!SWIG_IsOK(ecode2
)) {
13852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
13854 arg2
= static_cast< int >(val2
);
13855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13856 if (!SWIG_IsOK(ecode3
)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
13859 arg3
= static_cast< int >(val3
);
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13873 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
= 0;
13875 wxImage
*arg1
= (wxImage
*) 0 ;
13885 PyObject
* obj0
= 0 ;
13886 PyObject
* obj1
= 0 ;
13887 PyObject
* obj2
= 0 ;
13888 char * kwnames
[] = {
13889 (char *) "self",(char *) "x",(char *) "y", NULL
13892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13894 if (!SWIG_IsOK(res1
)) {
13895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
13897 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13899 if (!SWIG_IsOK(ecode2
)) {
13900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
13902 arg2
= static_cast< int >(val2
);
13903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13904 if (!SWIG_IsOK(ecode3
)) {
13905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
13907 arg3
= static_cast< int >(val3
);
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13921 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13923 wxImage
*arg1
= (wxImage
*) 0 ;
13933 unsigned char val4
;
13935 PyObject
* obj0
= 0 ;
13936 PyObject
* obj1
= 0 ;
13937 PyObject
* obj2
= 0 ;
13938 PyObject
* obj3
= 0 ;
13939 char * kwnames
[] = {
13940 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
13943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13945 if (!SWIG_IsOK(res1
)) {
13946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13948 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13950 if (!SWIG_IsOK(ecode2
)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
13953 arg2
= static_cast< int >(val2
);
13954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13955 if (!SWIG_IsOK(ecode3
)) {
13956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
13958 arg3
= static_cast< int >(val3
);
13959 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13960 if (!SWIG_IsOK(ecode4
)) {
13961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
13963 arg4
= static_cast< byte
>(val4
);
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_Py_Void();
13977 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
= 0;
13979 wxImage
*arg1
= (wxImage
*) 0 ;
13989 PyObject
* obj0
= 0 ;
13990 PyObject
* obj1
= 0 ;
13991 PyObject
* obj2
= 0 ;
13992 char * kwnames
[] = {
13993 (char *) "self",(char *) "x",(char *) "y", NULL
13996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13998 if (!SWIG_IsOK(res1
)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14001 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14003 if (!SWIG_IsOK(ecode2
)) {
14004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
14006 arg2
= static_cast< int >(val2
);
14007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14008 if (!SWIG_IsOK(ecode3
)) {
14009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
14011 arg3
= static_cast< int >(val3
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14025 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14026 PyObject
*resultobj
= 0;
14027 wxImage
*arg1
= (wxImage
*) 0 ;
14031 PyObject
*swig_obj
[1] ;
14033 if (!args
) SWIG_fail
;
14034 swig_obj
[0] = args
;
14035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14039 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (bool)(arg1
)->HasAlpha();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14055 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14056 PyObject
*resultobj
= 0;
14057 wxImage
*arg1
= (wxImage
*) 0 ;
14060 PyObject
*swig_obj
[1] ;
14062 if (!args
) SWIG_fail
;
14063 swig_obj
[0] = args
;
14064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14065 if (!SWIG_IsOK(res1
)) {
14066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14068 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 (arg1
)->InitAlpha();
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_Py_Void();
14082 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
= 0;
14084 wxImage
*arg1
= (wxImage
*) 0 ;
14087 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14095 unsigned char val4
;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 PyObject
* obj2
= 0 ;
14100 PyObject
* obj3
= 0 ;
14101 char * kwnames
[] = {
14102 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
14105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14107 if (!SWIG_IsOK(res1
)) {
14108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
14110 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14112 if (!SWIG_IsOK(ecode2
)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
14115 arg2
= static_cast< int >(val2
);
14116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14117 if (!SWIG_IsOK(ecode3
)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
14120 arg3
= static_cast< int >(val3
);
14122 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14123 if (!SWIG_IsOK(ecode4
)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
14126 arg4
= static_cast< byte
>(val4
);
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14143 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
= 0;
14145 wxImage
*arg1
= (wxImage
*) 0 ;
14146 byte
*arg2
= (byte
*) 0 ;
14147 byte
*arg3
= (byte
*) 0 ;
14148 byte
*arg4
= (byte
*) 0 ;
14149 byte arg5
= (byte
) 0 ;
14150 byte arg6
= (byte
) 0 ;
14151 byte arg7
= (byte
) 0 ;
14156 int res2
= SWIG_TMPOBJ
;
14158 int res3
= SWIG_TMPOBJ
;
14160 int res4
= SWIG_TMPOBJ
;
14161 unsigned char val5
;
14163 unsigned char val6
;
14165 unsigned char val7
;
14167 PyObject
* obj0
= 0 ;
14168 PyObject
* obj1
= 0 ;
14169 PyObject
* obj2
= 0 ;
14170 PyObject
* obj3
= 0 ;
14171 char * kwnames
[] = {
14172 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14180 if (!SWIG_IsOK(res1
)) {
14181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
14183 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14185 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14186 if (!SWIG_IsOK(ecode5
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14189 arg5
= static_cast< byte
>(val5
);
14192 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14193 if (!SWIG_IsOK(ecode6
)) {
14194 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14196 arg6
= static_cast< byte
>(val6
);
14199 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14200 if (!SWIG_IsOK(ecode7
)) {
14201 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14203 arg7
= static_cast< byte
>(val7
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14214 if (SWIG_IsTmpObj(res2
)) {
14215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14220 if (SWIG_IsTmpObj(res3
)) {
14221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14226 if (SWIG_IsTmpObj(res4
)) {
14227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14229 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14238 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
= 0;
14240 wxImage
*arg1
= (wxImage
*) 0 ;
14241 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14245 unsigned char val2
;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 char * kwnames
[] = {
14250 (char *) "self",(char *) "threshold", NULL
14253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14255 if (!SWIG_IsOK(res1
)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
14258 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14260 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14261 if (!SWIG_IsOK(ecode2
)) {
14262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
14264 arg2
= static_cast< byte
>(val2
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14281 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
= 0;
14283 wxImage
*arg1
= (wxImage
*) 0 ;
14290 unsigned char val2
;
14292 unsigned char val3
;
14294 unsigned char val4
;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 PyObject
* obj2
= 0 ;
14299 PyObject
* obj3
= 0 ;
14300 char * kwnames
[] = {
14301 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
14304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14306 if (!SWIG_IsOK(res1
)) {
14307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14309 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14310 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14311 if (!SWIG_IsOK(ecode2
)) {
14312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
14314 arg2
= static_cast< byte
>(val2
);
14315 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14316 if (!SWIG_IsOK(ecode3
)) {
14317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
14319 arg3
= static_cast< byte
>(val3
);
14320 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14321 if (!SWIG_IsOK(ecode4
)) {
14322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
14324 arg4
= static_cast< byte
>(val4
);
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14340 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
= 0;
14342 wxImage
*arg1
= (wxImage
*) 0 ;
14343 wxImage
*arg2
= 0 ;
14352 unsigned char val3
;
14354 unsigned char val4
;
14356 unsigned char val5
;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 PyObject
* obj2
= 0 ;
14361 PyObject
* obj3
= 0 ;
14362 PyObject
* obj4
= 0 ;
14363 char * kwnames
[] = {
14364 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
14367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14369 if (!SWIG_IsOK(res1
)) {
14370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
14372 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
14374 if (!SWIG_IsOK(res2
)) {
14375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14380 arg2
= reinterpret_cast< wxImage
* >(argp2
);
14381 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14382 if (!SWIG_IsOK(ecode3
)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
14385 arg3
= static_cast< byte
>(val3
);
14386 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14387 if (!SWIG_IsOK(ecode4
)) {
14388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
14390 arg4
= static_cast< byte
>(val4
);
14391 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14392 if (!SWIG_IsOK(ecode5
)) {
14393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
14395 arg5
= static_cast< byte
>(val5
);
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14411 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
= 0;
14413 wxString
*arg1
= 0 ;
14415 bool temp1
= false ;
14416 PyObject
* obj0
= 0 ;
14417 char * kwnames
[] = {
14418 (char *) "filename", NULL
14421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
14423 arg1
= wxString_in_helper(obj0
);
14424 if (arg1
== NULL
) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14450 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
= 0;
14452 wxString
*arg1
= 0 ;
14453 long arg2
= (long) wxBITMAP_TYPE_ANY
;
14455 bool temp1
= false ;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 char * kwnames
[] = {
14461 (char *) "filename",(char *) "type", NULL
14464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14466 arg1
= wxString_in_helper(obj0
);
14467 if (arg1
== NULL
) SWIG_fail
;
14471 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14472 if (!SWIG_IsOK(ecode2
)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
14475 arg2
= static_cast< long >(val2
);
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= SWIG_From_int(static_cast< int >(result
));
14498 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
= 0;
14500 wxImage
*arg1
= (wxImage
*) 0 ;
14501 wxString
*arg2
= 0 ;
14502 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14503 int arg4
= (int) -1 ;
14507 bool temp2
= false ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 PyObject
* obj2
= 0 ;
14515 PyObject
* obj3
= 0 ;
14516 char * kwnames
[] = {
14517 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
14520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
14525 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14527 arg2
= wxString_in_helper(obj1
);
14528 if (arg2
== NULL
) SWIG_fail
;
14532 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14533 if (!SWIG_IsOK(ecode3
)) {
14534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
14536 arg3
= static_cast< long >(val3
);
14539 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14540 if (!SWIG_IsOK(ecode4
)) {
14541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
14543 arg4
= static_cast< int >(val4
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14568 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
= 0;
14570 wxImage
*arg1
= (wxImage
*) 0 ;
14571 wxString
*arg2
= 0 ;
14572 wxString
*arg3
= 0 ;
14573 int arg4
= (int) -1 ;
14577 bool temp2
= false ;
14578 bool temp3
= false ;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 PyObject
* obj2
= 0 ;
14584 PyObject
* obj3
= 0 ;
14585 char * kwnames
[] = {
14586 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
14589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14591 if (!SWIG_IsOK(res1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14594 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14596 arg2
= wxString_in_helper(obj1
);
14597 if (arg2
== NULL
) SWIG_fail
;
14601 arg3
= wxString_in_helper(obj2
);
14602 if (arg3
== NULL
) SWIG_fail
;
14606 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14607 if (!SWIG_IsOK(ecode4
)) {
14608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
14610 arg4
= static_cast< int >(val4
);
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14643 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
= 0;
14645 wxImage
*arg1
= (wxImage
*) 0 ;
14646 wxString
*arg2
= 0 ;
14651 bool temp2
= false ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 PyObject
* obj2
= 0 ;
14657 char * kwnames
[] = {
14658 (char *) "self",(char *) "name",(char *) "type", NULL
14661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14663 if (!SWIG_IsOK(res1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
14666 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14668 arg2
= wxString_in_helper(obj1
);
14669 if (arg2
== NULL
) SWIG_fail
;
14672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14673 if (!SWIG_IsOK(ecode3
)) {
14674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
14676 arg3
= static_cast< int >(val3
);
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14700 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
= 0;
14702 wxImage
*arg1
= (wxImage
*) 0 ;
14703 wxString
*arg2
= 0 ;
14704 wxString
*arg3
= 0 ;
14708 bool temp2
= false ;
14709 bool temp3
= false ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 PyObject
* obj2
= 0 ;
14713 char * kwnames
[] = {
14714 (char *) "self",(char *) "name",(char *) "mimetype", NULL
14717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14719 if (!SWIG_IsOK(res1
)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14722 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14724 arg2
= wxString_in_helper(obj1
);
14725 if (arg2
== NULL
) SWIG_fail
;
14729 arg3
= wxString_in_helper(obj2
);
14730 if (arg3
== NULL
) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14764 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
= 0;
14766 wxInputStream
*arg1
= 0 ;
14768 wxPyInputStream
*temp1
;
14770 PyObject
* obj0
= 0 ;
14771 char * kwnames
[] = {
14772 (char *) "stream", NULL
14775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
14777 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
14778 arg1
= temp1
->m_wxis
;
14781 PyErr_Clear(); // clear the failure of the wxPyConvert above
14782 arg1
= wxPyCBInputStream_create(obj0
, false);
14783 if (arg1
== NULL
) {
14784 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (bool)wxImage::CanRead(*arg1
);
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14800 if (created1
) delete arg1
;
14805 if (created1
) delete arg1
;
14811 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
= 0;
14813 wxImage
*arg1
= (wxImage
*) 0 ;
14814 wxInputStream
*arg2
= 0 ;
14815 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14816 int arg4
= (int) -1 ;
14820 wxPyInputStream
*temp2
;
14826 PyObject
* obj0
= 0 ;
14827 PyObject
* obj1
= 0 ;
14828 PyObject
* obj2
= 0 ;
14829 PyObject
* obj3
= 0 ;
14830 char * kwnames
[] = {
14831 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
14834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14836 if (!SWIG_IsOK(res1
)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
14839 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14841 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14842 arg2
= temp2
->m_wxis
;
14845 PyErr_Clear(); // clear the failure of the wxPyConvert above
14846 arg2
= wxPyCBInputStream_create(obj1
, false);
14847 if (arg2
== NULL
) {
14848 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14855 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14856 if (!SWIG_IsOK(ecode3
)) {
14857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
14859 arg3
= static_cast< long >(val3
);
14862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14863 if (!SWIG_IsOK(ecode4
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
14866 arg4
= static_cast< int >(val4
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14878 if (created2
) delete arg2
;
14883 if (created2
) delete arg2
;
14889 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
= 0;
14891 wxImage
*arg1
= (wxImage
*) 0 ;
14892 wxInputStream
*arg2
= 0 ;
14893 wxString
*arg3
= 0 ;
14894 int arg4
= (int) -1 ;
14898 wxPyInputStream
*temp2
;
14900 bool temp3
= false ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 PyObject
* obj3
= 0 ;
14907 char * kwnames
[] = {
14908 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
14911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14913 if (!SWIG_IsOK(res1
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
14916 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14918 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14919 arg2
= temp2
->m_wxis
;
14922 PyErr_Clear(); // clear the failure of the wxPyConvert above
14923 arg2
= wxPyCBInputStream_create(obj1
, false);
14924 if (arg2
== NULL
) {
14925 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14932 arg3
= wxString_in_helper(obj2
);
14933 if (arg3
== NULL
) SWIG_fail
;
14937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14938 if (!SWIG_IsOK(ecode4
)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
14941 arg4
= static_cast< int >(val4
);
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14953 if (created2
) delete arg2
;
14962 if (created2
) delete arg2
;
14972 SWIGINTERN PyObject
*_wrap_Image_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14973 PyObject
*resultobj
= 0;
14974 wxImage
*arg1
= (wxImage
*) 0 ;
14978 PyObject
*swig_obj
[1] ;
14980 if (!args
) SWIG_fail
;
14981 swig_obj
[0] = args
;
14982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14983 if (!SWIG_IsOK(res1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Ok" "', expected argument " "1"" of type '" "wxImage *""'");
14986 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (bool)(arg1
)->Ok();
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15002 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15003 PyObject
*resultobj
= 0;
15004 wxImage
*arg1
= (wxImage
*) 0 ;
15008 PyObject
*swig_obj
[1] ;
15010 if (!args
) SWIG_fail
;
15011 swig_obj
[0] = args
;
15012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15013 if (!SWIG_IsOK(res1
)) {
15014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
15016 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (int)(arg1
)->GetWidth();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_From_int(static_cast< int >(result
));
15030 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15031 PyObject
*resultobj
= 0;
15032 wxImage
*arg1
= (wxImage
*) 0 ;
15036 PyObject
*swig_obj
[1] ;
15038 if (!args
) SWIG_fail
;
15039 swig_obj
[0] = args
;
15040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15041 if (!SWIG_IsOK(res1
)) {
15042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
15044 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (int)(arg1
)->GetHeight();
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_From_int(static_cast< int >(result
));
15058 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15059 PyObject
*resultobj
= 0;
15060 wxImage
*arg1
= (wxImage
*) 0 ;
15064 PyObject
*swig_obj
[1] ;
15066 if (!args
) SWIG_fail
;
15067 swig_obj
[0] = args
;
15068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15069 if (!SWIG_IsOK(res1
)) {
15070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
15072 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= wxImage_GetSize(arg1
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15086 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxImage
*arg1
= (wxImage
*) 0 ;
15090 SwigValueWrapper
<wxImage
> result
;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char * kwnames
[] = {
15097 (char *) "self",(char *) "rect", NULL
15100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
15105 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15108 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15123 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
= 0;
15125 wxImage
*arg1
= (wxImage
*) 0 ;
15127 wxPoint
*arg3
= 0 ;
15128 int arg4
= (int) -1 ;
15129 int arg5
= (int) -1 ;
15130 int arg6
= (int) -1 ;
15131 SwigValueWrapper
<wxImage
> result
;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 PyObject
* obj2
= 0 ;
15145 PyObject
* obj3
= 0 ;
15146 PyObject
* obj4
= 0 ;
15147 PyObject
* obj5
= 0 ;
15148 char * kwnames
[] = {
15149 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
15152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
15157 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15160 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15164 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15168 if (!SWIG_IsOK(ecode4
)) {
15169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
15171 arg4
= static_cast< int >(val4
);
15174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15175 if (!SWIG_IsOK(ecode5
)) {
15176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
15178 arg5
= static_cast< int >(val5
);
15181 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15182 if (!SWIG_IsOK(ecode6
)) {
15183 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
15185 arg6
= static_cast< int >(val6
);
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15200 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15201 PyObject
*resultobj
= 0;
15202 wxImage
*arg1
= (wxImage
*) 0 ;
15203 SwigValueWrapper
<wxImage
> result
;
15206 PyObject
*swig_obj
[1] ;
15208 if (!args
) SWIG_fail
;
15209 swig_obj
[0] = args
;
15210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15211 if (!SWIG_IsOK(res1
)) {
15212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
15214 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (arg1
)->Copy();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15228 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
= 0;
15230 wxImage
*arg1
= (wxImage
*) 0 ;
15231 wxImage
*arg2
= 0 ;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 PyObject
* obj2
= 0 ;
15245 PyObject
* obj3
= 0 ;
15246 char * kwnames
[] = {
15247 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
15250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15252 if (!SWIG_IsOK(res1
)) {
15253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
15255 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15257 if (!SWIG_IsOK(res2
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15263 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15265 if (!SWIG_IsOK(ecode3
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
15268 arg3
= static_cast< int >(val3
);
15269 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15270 if (!SWIG_IsOK(ecode4
)) {
15271 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
15273 arg4
= static_cast< int >(val4
);
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= SWIG_Py_Void();
15287 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15288 PyObject
*resultobj
= 0;
15289 wxImage
*arg1
= (wxImage
*) 0 ;
15290 PyObject
*result
= 0 ;
15293 PyObject
*swig_obj
[1] ;
15295 if (!args
) SWIG_fail
;
15296 swig_obj
[0] = args
;
15297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
15301 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (PyObject
*)wxImage_GetData(arg1
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= result
;
15315 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
= 0;
15317 wxImage
*arg1
= (wxImage
*) 0 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 char * kwnames
[] = {
15325 (char *) "self",(char *) "data", NULL
15328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15330 if (!SWIG_IsOK(res1
)) {
15331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
15333 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15335 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 wxImage_SetData(arg1
,arg2
,arg3
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_Py_Void();
15350 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15351 PyObject
*resultobj
= 0;
15352 wxImage
*arg1
= (wxImage
*) 0 ;
15353 PyObject
*result
= 0 ;
15356 PyObject
*swig_obj
[1] ;
15358 if (!args
) SWIG_fail
;
15359 swig_obj
[0] = args
;
15360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15361 if (!SWIG_IsOK(res1
)) {
15362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15364 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 resultobj
= result
;
15378 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
= 0;
15380 wxImage
*arg1
= (wxImage
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 char * kwnames
[] = {
15388 (char *) "self",(char *) "data", NULL
15391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15393 if (!SWIG_IsOK(res1
)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15396 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15398 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_Py_Void();
15413 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15414 PyObject
*resultobj
= 0;
15415 wxImage
*arg1
= (wxImage
*) 0 ;
15416 PyObject
*result
= 0 ;
15419 PyObject
*swig_obj
[1] ;
15421 if (!args
) SWIG_fail
;
15422 swig_obj
[0] = args
;
15423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15424 if (!SWIG_IsOK(res1
)) {
15425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15427 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= result
;
15441 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxImage
*arg1
= (wxImage
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char * kwnames
[] = {
15451 (char *) "self",(char *) "alpha", NULL
15454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15456 if (!SWIG_IsOK(res1
)) {
15457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15459 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15461 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_Py_Void();
15476 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15477 PyObject
*resultobj
= 0;
15478 wxImage
*arg1
= (wxImage
*) 0 ;
15479 PyObject
*result
= 0 ;
15482 PyObject
*swig_obj
[1] ;
15484 if (!args
) SWIG_fail
;
15485 swig_obj
[0] = args
;
15486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15487 if (!SWIG_IsOK(res1
)) {
15488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15490 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= result
;
15504 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= 0;
15506 wxImage
*arg1
= (wxImage
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char * kwnames
[] = {
15514 (char *) "self",(char *) "alpha", NULL
15517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15519 if (!SWIG_IsOK(res1
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15522 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15524 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_Py_Void();
15539 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
= 0;
15541 wxImage
*arg1
= (wxImage
*) 0 ;
15547 unsigned char val2
;
15549 unsigned char val3
;
15551 unsigned char val4
;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 PyObject
* obj2
= 0 ;
15556 PyObject
* obj3
= 0 ;
15557 char * kwnames
[] = {
15558 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15563 if (!SWIG_IsOK(res1
)) {
15564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
15566 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15567 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15568 if (!SWIG_IsOK(ecode2
)) {
15569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
15571 arg2
= static_cast< byte
>(val2
);
15572 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15573 if (!SWIG_IsOK(ecode3
)) {
15574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
15576 arg3
= static_cast< byte
>(val3
);
15577 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15578 if (!SWIG_IsOK(ecode4
)) {
15579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
15581 arg4
= static_cast< byte
>(val4
);
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= SWIG_Py_Void();
15595 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15596 PyObject
*resultobj
= 0;
15597 wxImage
*arg1
= (wxImage
*) 0 ;
15598 byte
*arg2
= (byte
*) 0 ;
15599 byte
*arg3
= (byte
*) 0 ;
15600 byte
*arg4
= (byte
*) 0 ;
15604 int res2
= SWIG_TMPOBJ
;
15606 int res3
= SWIG_TMPOBJ
;
15608 int res4
= SWIG_TMPOBJ
;
15609 PyObject
*swig_obj
[1] ;
15614 if (!args
) SWIG_fail
;
15615 swig_obj
[0] = args
;
15616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15617 if (!SWIG_IsOK(res1
)) {
15618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
15620 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_Py_Void();
15628 if (SWIG_IsTmpObj(res2
)) {
15629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
15631 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
15634 if (SWIG_IsTmpObj(res3
)) {
15635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
15637 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
15640 if (SWIG_IsTmpObj(res4
)) {
15641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
15643 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
15652 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15653 PyObject
*resultobj
= 0;
15654 wxImage
*arg1
= (wxImage
*) 0 ;
15658 PyObject
*swig_obj
[1] ;
15660 if (!args
) SWIG_fail
;
15661 swig_obj
[0] = args
;
15662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15663 if (!SWIG_IsOK(res1
)) {
15664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
15666 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (byte
)(arg1
)->GetMaskRed();
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15680 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15681 PyObject
*resultobj
= 0;
15682 wxImage
*arg1
= (wxImage
*) 0 ;
15686 PyObject
*swig_obj
[1] ;
15688 if (!args
) SWIG_fail
;
15689 swig_obj
[0] = args
;
15690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15691 if (!SWIG_IsOK(res1
)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
15694 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (byte
)(arg1
)->GetMaskGreen();
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15708 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15709 PyObject
*resultobj
= 0;
15710 wxImage
*arg1
= (wxImage
*) 0 ;
15714 PyObject
*swig_obj
[1] ;
15716 if (!args
) SWIG_fail
;
15717 swig_obj
[0] = args
;
15718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
15722 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= (byte
)(arg1
)->GetMaskBlue();
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15736 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
= 0;
15738 wxImage
*arg1
= (wxImage
*) 0 ;
15739 bool arg2
= (bool) true ;
15744 PyObject
* obj0
= 0 ;
15745 PyObject
* obj1
= 0 ;
15746 char * kwnames
[] = {
15747 (char *) "self",(char *) "mask", NULL
15750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15752 if (!SWIG_IsOK(res1
)) {
15753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
15755 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15758 if (!SWIG_IsOK(ecode2
)) {
15759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
15761 arg2
= static_cast< bool >(val2
);
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 (arg1
)->SetMask(arg2
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= SWIG_Py_Void();
15776 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15777 PyObject
*resultobj
= 0;
15778 wxImage
*arg1
= (wxImage
*) 0 ;
15782 PyObject
*swig_obj
[1] ;
15784 if (!args
) SWIG_fail
;
15785 swig_obj
[0] = args
;
15786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15787 if (!SWIG_IsOK(res1
)) {
15788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
15790 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (bool)(arg1
)->HasMask();
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15806 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
= 0;
15808 wxImage
*arg1
= (wxImage
*) 0 ;
15810 wxPoint
*arg3
= 0 ;
15811 bool arg4
= (bool) true ;
15812 wxPoint
*arg5
= (wxPoint
*) NULL
;
15813 SwigValueWrapper
<wxImage
> result
;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 PyObject
* obj2
= 0 ;
15826 PyObject
* obj3
= 0 ;
15827 PyObject
* obj4
= 0 ;
15828 char * kwnames
[] = {
15829 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
15832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15834 if (!SWIG_IsOK(res1
)) {
15835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
15837 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15838 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15839 if (!SWIG_IsOK(ecode2
)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
15842 arg2
= static_cast< double >(val2
);
15845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15848 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15849 if (!SWIG_IsOK(ecode4
)) {
15850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
15852 arg4
= static_cast< bool >(val4
);
15855 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
15856 if (!SWIG_IsOK(res5
)) {
15857 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
15859 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15874 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 wxImage
*arg1
= (wxImage
*) 0 ;
15877 bool arg2
= (bool) true ;
15878 SwigValueWrapper
<wxImage
> result
;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 char * kwnames
[] = {
15886 (char *) "self",(char *) "clockwise", NULL
15889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15891 if (!SWIG_IsOK(res1
)) {
15892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
15894 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15896 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15897 if (!SWIG_IsOK(ecode2
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
15900 arg2
= static_cast< bool >(val2
);
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (arg1
)->Rotate90(arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15915 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
= 0;
15917 wxImage
*arg1
= (wxImage
*) 0 ;
15918 bool arg2
= (bool) true ;
15919 SwigValueWrapper
<wxImage
> result
;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 char * kwnames
[] = {
15927 (char *) "self",(char *) "horizontally", NULL
15930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15932 if (!SWIG_IsOK(res1
)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
15935 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15937 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15938 if (!SWIG_IsOK(ecode2
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
15941 arg2
= static_cast< bool >(val2
);
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (arg1
)->Mirror(arg2
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15956 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
= 0;
15958 wxImage
*arg1
= (wxImage
*) 0 ;
15967 unsigned char val2
;
15969 unsigned char val3
;
15971 unsigned char val4
;
15973 unsigned char val5
;
15975 unsigned char val6
;
15977 unsigned char val7
;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 PyObject
* obj2
= 0 ;
15982 PyObject
* obj3
= 0 ;
15983 PyObject
* obj4
= 0 ;
15984 PyObject
* obj5
= 0 ;
15985 PyObject
* obj6
= 0 ;
15986 char * kwnames
[] = {
15987 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
15990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15992 if (!SWIG_IsOK(res1
)) {
15993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
15995 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15996 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15997 if (!SWIG_IsOK(ecode2
)) {
15998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
16000 arg2
= static_cast< byte
>(val2
);
16001 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16002 if (!SWIG_IsOK(ecode3
)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
16005 arg3
= static_cast< byte
>(val3
);
16006 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16007 if (!SWIG_IsOK(ecode4
)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
16010 arg4
= static_cast< byte
>(val4
);
16011 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16012 if (!SWIG_IsOK(ecode5
)) {
16013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
16015 arg5
= static_cast< byte
>(val5
);
16016 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
16017 if (!SWIG_IsOK(ecode6
)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
16020 arg6
= static_cast< byte
>(val6
);
16021 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
16022 if (!SWIG_IsOK(ecode7
)) {
16023 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
16025 arg7
= static_cast< byte
>(val7
);
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= SWIG_Py_Void();
16039 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
= 0;
16041 wxImage
*arg1
= (wxImage
*) 0 ;
16042 double arg2
= (double) 0.299 ;
16043 double arg3
= (double) 0.587 ;
16044 double arg4
= (double) 0.114 ;
16045 SwigValueWrapper
<wxImage
> result
;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 PyObject
* obj2
= 0 ;
16057 PyObject
* obj3
= 0 ;
16058 char * kwnames
[] = {
16059 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
16062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
16067 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16069 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16070 if (!SWIG_IsOK(ecode2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
16073 arg2
= static_cast< double >(val2
);
16076 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16077 if (!SWIG_IsOK(ecode3
)) {
16078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
16080 arg3
= static_cast< double >(val3
);
16083 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16084 if (!SWIG_IsOK(ecode4
)) {
16085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
16087 arg4
= static_cast< double >(val4
);
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16102 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
= 0;
16104 wxImage
*arg1
= (wxImage
*) 0 ;
16108 SwigValueWrapper
<wxImage
> result
;
16111 unsigned char val2
;
16113 unsigned char val3
;
16115 unsigned char val4
;
16117 PyObject
* obj0
= 0 ;
16118 PyObject
* obj1
= 0 ;
16119 PyObject
* obj2
= 0 ;
16120 PyObject
* obj3
= 0 ;
16121 char * kwnames
[] = {
16122 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16127 if (!SWIG_IsOK(res1
)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
16130 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16131 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16132 if (!SWIG_IsOK(ecode2
)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
16135 arg2
= static_cast< byte
>(val2
);
16136 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16137 if (!SWIG_IsOK(ecode3
)) {
16138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
16140 arg3
= static_cast< byte
>(val3
);
16141 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16142 if (!SWIG_IsOK(ecode4
)) {
16143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
16145 arg4
= static_cast< byte
>(val4
);
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16159 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
= 0;
16161 wxImage
*arg1
= (wxImage
*) 0 ;
16162 wxString
*arg2
= 0 ;
16163 wxString
*arg3
= 0 ;
16166 bool temp2
= false ;
16167 bool temp3
= false ;
16168 PyObject
* obj0
= 0 ;
16169 PyObject
* obj1
= 0 ;
16170 PyObject
* obj2
= 0 ;
16171 char * kwnames
[] = {
16172 (char *) "self",(char *) "name",(char *) "value", NULL
16175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16177 if (!SWIG_IsOK(res1
)) {
16178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
16180 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16182 arg2
= wxString_in_helper(obj1
);
16183 if (arg2
== NULL
) SWIG_fail
;
16187 arg3
= wxString_in_helper(obj2
);
16188 if (arg3
== NULL
) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_Py_Void();
16220 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
= 0;
16222 wxImage
*arg1
= (wxImage
*) 0 ;
16223 wxString
*arg2
= 0 ;
16227 bool temp2
= false ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 PyObject
* obj2
= 0 ;
16233 char * kwnames
[] = {
16234 (char *) "self",(char *) "name",(char *) "value", NULL
16237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16239 if (!SWIG_IsOK(res1
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
16242 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16244 arg2
= wxString_in_helper(obj1
);
16245 if (arg2
== NULL
) SWIG_fail
;
16248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16249 if (!SWIG_IsOK(ecode3
)) {
16250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
16252 arg3
= static_cast< int >(val3
);
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= SWIG_Py_Void();
16274 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
= 0;
16276 wxImage
*arg1
= (wxImage
*) 0 ;
16277 wxString
*arg2
= 0 ;
16281 bool temp2
= false ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 char * kwnames
[] = {
16285 (char *) "self",(char *) "name", NULL
16288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16290 if (!SWIG_IsOK(res1
)) {
16291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16293 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16295 arg2
= wxString_in_helper(obj1
);
16296 if (arg2
== NULL
) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16326 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
= 0;
16328 wxImage
*arg1
= (wxImage
*) 0 ;
16329 wxString
*arg2
= 0 ;
16333 bool temp2
= false ;
16334 PyObject
* obj0
= 0 ;
16335 PyObject
* obj1
= 0 ;
16336 char * kwnames
[] = {
16337 (char *) "self",(char *) "name", NULL
16340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16342 if (!SWIG_IsOK(res1
)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
16345 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16347 arg2
= wxString_in_helper(obj1
);
16348 if (arg2
== NULL
) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= SWIG_From_int(static_cast< int >(result
));
16372 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
= 0;
16374 wxImage
*arg1
= (wxImage
*) 0 ;
16375 wxString
*arg2
= 0 ;
16379 bool temp2
= false ;
16380 PyObject
* obj0
= 0 ;
16381 PyObject
* obj1
= 0 ;
16382 char * kwnames
[] = {
16383 (char *) "self",(char *) "name", NULL
16386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16388 if (!SWIG_IsOK(res1
)) {
16389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16391 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16393 arg2
= wxString_in_helper(obj1
);
16394 if (arg2
== NULL
) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16420 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
= 0;
16422 wxImage
*arg1
= (wxImage
*) 0 ;
16423 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
16424 unsigned long result
;
16427 unsigned long val2
;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 char * kwnames
[] = {
16432 (char *) "self",(char *) "stopafter", NULL
16435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16437 if (!SWIG_IsOK(res1
)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
16440 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16442 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16443 if (!SWIG_IsOK(ecode2
)) {
16444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
16446 arg2
= static_cast< unsigned long >(val2
);
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (unsigned long)(arg1
)->CountColours(arg2
);
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16454 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16461 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
= 0;
16463 wxImage
*arg1
= (wxImage
*) 0 ;
16464 wxImageHistogram
*arg2
= 0 ;
16465 unsigned long result
;
16470 PyObject
* obj0
= 0 ;
16471 PyObject
* obj1
= 0 ;
16472 char * kwnames
[] = {
16473 (char *) "self",(char *) "h", NULL
16476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
16481 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
16483 if (!SWIG_IsOK(res2
)) {
16484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16489 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16503 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
= 0;
16505 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16508 PyObject
* obj0
= 0 ;
16509 char * kwnames
[] = {
16510 (char *) "handler", NULL
16513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
16514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16518 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 wxImage::AddHandler(arg1
);
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= SWIG_Py_Void();
16532 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
= 0;
16534 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char * kwnames
[] = {
16539 (char *) "handler", NULL
16542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
16543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16544 if (!SWIG_IsOK(res1
)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16547 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 wxImage::InsertHandler(arg1
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= SWIG_Py_Void();
16561 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
= 0;
16563 wxString
*arg1
= 0 ;
16565 bool temp1
= false ;
16566 PyObject
* obj0
= 0 ;
16567 char * kwnames
[] = {
16568 (char *) "name", NULL
16571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
16573 arg1
= wxString_in_helper(obj0
);
16574 if (arg1
== NULL
) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16600 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16601 PyObject
*resultobj
= 0;
16602 PyObject
*result
= 0 ;
16604 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
16606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16607 result
= (PyObject
*)wxImage_GetHandlers();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= result
;
16618 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16619 PyObject
*resultobj
= 0;
16622 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= wxImage::GetImageExtWildcard();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16642 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
= 0;
16644 wxImage
*arg1
= (wxImage
*) 0 ;
16645 int arg2
= (int) -1 ;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 char * kwnames
[] = {
16654 (char *) "self",(char *) "depth", NULL
16657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16659 if (!SWIG_IsOK(res1
)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16662 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16665 if (!SWIG_IsOK(ecode2
)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
16668 arg2
= static_cast< int >(val2
);
16671 if (!wxPyCheckForApp()) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16684 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
= 0;
16686 wxImage
*arg1
= (wxImage
*) 0 ;
16693 unsigned char val2
;
16695 unsigned char val3
;
16697 unsigned char val4
;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 PyObject
* obj2
= 0 ;
16702 PyObject
* obj3
= 0 ;
16703 char * kwnames
[] = {
16704 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
16707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16709 if (!SWIG_IsOK(res1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16712 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16713 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16714 if (!SWIG_IsOK(ecode2
)) {
16715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
16717 arg2
= static_cast< byte
>(val2
);
16718 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16719 if (!SWIG_IsOK(ecode3
)) {
16720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
16722 arg3
= static_cast< byte
>(val3
);
16723 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16724 if (!SWIG_IsOK(ecode4
)) {
16725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
16727 arg4
= static_cast< byte
>(val4
);
16729 if (!wxPyCheckForApp()) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16742 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
= 0;
16744 wxImage
*arg1
= (wxImage
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char * kwnames
[] = {
16753 (char *) "self",(char *) "angle", NULL
16756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16758 if (!SWIG_IsOK(res1
)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
16761 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16762 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16763 if (!SWIG_IsOK(ecode2
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
16766 arg2
= static_cast< double >(val2
);
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 (arg1
)->RotateHue(arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= SWIG_Py_Void();
16780 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
= 0;
16782 wxImage_RGBValue arg1
;
16783 wxImage_HSVValue result
;
16786 PyObject
* obj0
= 0 ;
16787 char * kwnames
[] = {
16788 (char *) "rgb", NULL
16791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
16793 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
16794 if (!SWIG_IsOK(res1
)) {
16795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16800 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
16802 if (SWIG_IsNewObj(res1
)) delete temp
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= wxImage::RGBtoHSV(arg1
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
16818 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
= 0;
16820 wxImage_HSVValue arg1
;
16821 wxImage_RGBValue result
;
16824 PyObject
* obj0
= 0 ;
16825 char * kwnames
[] = {
16826 (char *) "hsv", NULL
16829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
16831 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
16832 if (!SWIG_IsOK(res1
)) {
16833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16838 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
16840 if (SWIG_IsNewObj(res1
)) delete temp
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 result
= wxImage::HSVtoRGB(arg1
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
16856 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16859 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
16860 return SWIG_Py_Void();
16863 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16864 return SWIG_Python_InitShadowInstance(args
);
16867 SWIGINTERN
int NullImage_set(PyObject
*) {
16868 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
16873 SWIGINTERN PyObject
*NullImage_get(void) {
16874 PyObject
*pyobj
= 0;
16876 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
16881 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
16882 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
16887 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
16888 PyObject
*pyobj
= 0;
16892 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16894 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16901 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
16902 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
16907 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
16908 PyObject
*pyobj
= 0;
16912 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16914 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16921 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
16922 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
16927 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
16928 PyObject
*pyobj
= 0;
16932 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16934 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16941 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
16942 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
16947 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
16948 PyObject
*pyobj
= 0;
16952 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16954 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16961 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
16962 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
16967 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
16968 PyObject
*pyobj
= 0;
16972 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16974 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16981 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
16982 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
16987 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
16988 PyObject
*pyobj
= 0;
16992 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16994 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
17001 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
17002 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
17007 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
17008 PyObject
*pyobj
= 0;
17012 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17014 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17021 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
17022 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
17027 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
17028 PyObject
*pyobj
= 0;
17032 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17034 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17041 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
17042 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
17047 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
17048 PyObject
*pyobj
= 0;
17052 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17054 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17061 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
17062 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
17067 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
17068 PyObject
*pyobj
= 0;
17072 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17074 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17081 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
17082 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
17087 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
17088 PyObject
*pyobj
= 0;
17092 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17094 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17101 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
17102 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
17107 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
17108 PyObject
*pyobj
= 0;
17112 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17114 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17121 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
17122 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
17127 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
17128 PyObject
*pyobj
= 0;
17132 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17134 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17141 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
17142 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
17147 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
17148 PyObject
*pyobj
= 0;
17152 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17154 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17161 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
17162 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
17167 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
17168 PyObject
*pyobj
= 0;
17172 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17174 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17181 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17182 PyObject
*resultobj
= 0;
17183 wxBMPHandler
*result
= 0 ;
17185 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (wxBMPHandler
*)new wxBMPHandler();
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
17199 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17202 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
17203 return SWIG_Py_Void();
17206 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17207 return SWIG_Python_InitShadowInstance(args
);
17210 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17211 PyObject
*resultobj
= 0;
17212 wxICOHandler
*result
= 0 ;
17214 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (wxICOHandler
*)new wxICOHandler();
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
17228 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17231 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
17232 return SWIG_Py_Void();
17235 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17236 return SWIG_Python_InitShadowInstance(args
);
17239 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17240 PyObject
*resultobj
= 0;
17241 wxCURHandler
*result
= 0 ;
17243 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (wxCURHandler
*)new wxCURHandler();
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
17257 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17260 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
17261 return SWIG_Py_Void();
17264 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17265 return SWIG_Python_InitShadowInstance(args
);
17268 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17269 PyObject
*resultobj
= 0;
17270 wxANIHandler
*result
= 0 ;
17272 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (wxANIHandler
*)new wxANIHandler();
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
17286 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17289 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
17290 return SWIG_Py_Void();
17293 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17294 return SWIG_Python_InitShadowInstance(args
);
17297 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17298 PyObject
*resultobj
= 0;
17299 wxPNGHandler
*result
= 0 ;
17301 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (wxPNGHandler
*)new wxPNGHandler();
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
17315 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17318 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
17319 return SWIG_Py_Void();
17322 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17323 return SWIG_Python_InitShadowInstance(args
);
17326 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17327 PyObject
*resultobj
= 0;
17328 wxGIFHandler
*result
= 0 ;
17330 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (wxGIFHandler
*)new wxGIFHandler();
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
17344 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17347 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
17348 return SWIG_Py_Void();
17351 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17352 return SWIG_Python_InitShadowInstance(args
);
17355 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17356 PyObject
*resultobj
= 0;
17357 wxPCXHandler
*result
= 0 ;
17359 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (wxPCXHandler
*)new wxPCXHandler();
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
17373 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
17377 return SWIG_Py_Void();
17380 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17381 return SWIG_Python_InitShadowInstance(args
);
17384 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17385 PyObject
*resultobj
= 0;
17386 wxJPEGHandler
*result
= 0 ;
17388 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (wxJPEGHandler
*)new wxJPEGHandler();
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
17402 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17405 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
17406 return SWIG_Py_Void();
17409 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17410 return SWIG_Python_InitShadowInstance(args
);
17413 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17414 PyObject
*resultobj
= 0;
17415 wxPNMHandler
*result
= 0 ;
17417 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxPNMHandler
*)new wxPNMHandler();
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
17431 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17434 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
17435 return SWIG_Py_Void();
17438 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17439 return SWIG_Python_InitShadowInstance(args
);
17442 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17443 PyObject
*resultobj
= 0;
17444 wxXPMHandler
*result
= 0 ;
17446 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (wxXPMHandler
*)new wxXPMHandler();
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
17460 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17463 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
17464 return SWIG_Py_Void();
17467 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17468 return SWIG_Python_InitShadowInstance(args
);
17471 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17472 PyObject
*resultobj
= 0;
17473 wxTIFFHandler
*result
= 0 ;
17475 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 result
= (wxTIFFHandler
*)new wxTIFFHandler();
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
17489 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17492 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
17493 return SWIG_Py_Void();
17496 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17497 return SWIG_Python_InitShadowInstance(args
);
17500 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
= 0;
17502 wxImage
*arg1
= 0 ;
17503 wxImage
*arg2
= 0 ;
17504 int arg3
= (int) 236 ;
17505 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 PyObject
* obj2
= 0 ;
17518 PyObject
* obj3
= 0 ;
17519 char * kwnames
[] = {
17520 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
17523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17524 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
17525 if (!SWIG_IsOK(res1
)) {
17526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17531 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
17533 if (!SWIG_IsOK(res2
)) {
17534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17539 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17542 if (!SWIG_IsOK(ecode3
)) {
17543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
17545 arg3
= static_cast< int >(val3
);
17548 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17549 if (!SWIG_IsOK(ecode4
)) {
17550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
17552 arg4
= static_cast< int >(val4
);
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17569 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17572 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
17573 return SWIG_Py_Void();
17576 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 PyObject
*resultobj
= 0;
17578 wxEvtHandler
*result
= 0 ;
17580 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (wxEvtHandler
*)new wxEvtHandler();
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
17594 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17595 PyObject
*resultobj
= 0;
17596 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17597 wxEvtHandler
*result
= 0 ;
17600 PyObject
*swig_obj
[1] ;
17602 if (!args
) SWIG_fail
;
17603 swig_obj
[0] = args
;
17604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17605 if (!SWIG_IsOK(res1
)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17608 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= wxPyMake_wxObject(result
, 0);
17624 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17625 PyObject
*resultobj
= 0;
17626 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17627 wxEvtHandler
*result
= 0 ;
17630 PyObject
*swig_obj
[1] ;
17632 if (!args
) SWIG_fail
;
17633 swig_obj
[0] = args
;
17634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17635 if (!SWIG_IsOK(res1
)) {
17636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17638 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= wxPyMake_wxObject(result
, 0);
17654 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
= 0;
17656 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17657 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 char * kwnames
[] = {
17665 (char *) "self",(char *) "handler", NULL
17668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17673 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17675 if (!SWIG_IsOK(res2
)) {
17676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17678 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->SetNextHandler(arg2
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= SWIG_Py_Void();
17692 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
= 0;
17694 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17695 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 PyObject
* obj1
= 0 ;
17702 char * kwnames
[] = {
17703 (char *) "self",(char *) "handler", NULL
17706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17708 if (!SWIG_IsOK(res1
)) {
17709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17711 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17713 if (!SWIG_IsOK(res2
)) {
17714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17716 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 (arg1
)->SetPreviousHandler(arg2
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_Py_Void();
17730 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17731 PyObject
*resultobj
= 0;
17732 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17736 PyObject
*swig_obj
[1] ;
17738 if (!args
) SWIG_fail
;
17739 swig_obj
[0] = args
;
17740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17741 if (!SWIG_IsOK(res1
)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17744 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17760 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
= 0;
17762 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char * kwnames
[] = {
17771 (char *) "self",(char *) "enabled", NULL
17774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17776 if (!SWIG_IsOK(res1
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17779 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17780 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17781 if (!SWIG_IsOK(ecode2
)) {
17782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
17784 arg2
= static_cast< bool >(val2
);
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 (arg1
)->SetEvtHandlerEnabled(arg2
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_Py_Void();
17798 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
= 0;
17800 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17801 wxEvent
*arg2
= 0 ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char * kwnames
[] = {
17810 (char *) "self",(char *) "event", NULL
17813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17815 if (!SWIG_IsOK(res1
)) {
17816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17818 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17820 if (!SWIG_IsOK(res2
)) {
17821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17826 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17842 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
= 0;
17844 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17845 wxEvent
*arg2
= 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char * kwnames
[] = {
17853 (char *) "self",(char *) "event", NULL
17856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17858 if (!SWIG_IsOK(res1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17861 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17863 if (!SWIG_IsOK(res2
)) {
17864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17869 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 (arg1
)->AddPendingEvent(*arg2
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= SWIG_Py_Void();
17883 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17884 PyObject
*resultobj
= 0;
17885 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17888 PyObject
*swig_obj
[1] ;
17890 if (!args
) SWIG_fail
;
17891 swig_obj
[0] = args
;
17892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17893 if (!SWIG_IsOK(res1
)) {
17894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17896 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 (arg1
)->ProcessPendingEvents();
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_Py_Void();
17910 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
= 0;
17912 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17916 PyObject
*arg5
= (PyObject
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 PyObject
* obj1
= 0 ;
17927 PyObject
* obj2
= 0 ;
17928 PyObject
* obj3
= 0 ;
17929 PyObject
* obj4
= 0 ;
17930 char * kwnames
[] = {
17931 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
17934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17936 if (!SWIG_IsOK(res1
)) {
17937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17939 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17941 if (!SWIG_IsOK(ecode2
)) {
17942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
17944 arg2
= static_cast< int >(val2
);
17945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17946 if (!SWIG_IsOK(ecode3
)) {
17947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
17949 arg3
= static_cast< int >(val3
);
17950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17951 if (!SWIG_IsOK(ecode4
)) {
17952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
17954 arg4
= static_cast< int >(val4
);
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_Py_Void();
17969 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
= 0;
17971 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17973 int arg3
= (int) -1 ;
17974 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 PyObject
* obj2
= 0 ;
17987 PyObject
* obj3
= 0 ;
17988 char * kwnames
[] = {
17989 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
17992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17994 if (!SWIG_IsOK(res1
)) {
17995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17997 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17999 if (!SWIG_IsOK(ecode2
)) {
18000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
18002 arg2
= static_cast< int >(val2
);
18004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18005 if (!SWIG_IsOK(ecode3
)) {
18006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
18008 arg3
= static_cast< int >(val3
);
18011 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18012 if (!SWIG_IsOK(ecode4
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
18015 arg4
= static_cast< wxEventType
>(val4
);
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18032 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
= 0;
18034 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18035 PyObject
*arg2
= (PyObject
*) 0 ;
18036 bool arg3
= (bool) true ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 PyObject
* obj2
= 0 ;
18044 char * kwnames
[] = {
18045 (char *) "self",(char *) "_self",(char *) "incref", NULL
18048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18050 if (!SWIG_IsOK(res1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18053 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18056 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18057 if (!SWIG_IsOK(ecode3
)) {
18058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
18060 arg3
= static_cast< bool >(val3
);
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= SWIG_Py_Void();
18075 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18078 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
18079 return SWIG_Py_Void();
18082 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18083 return SWIG_Python_InitShadowInstance(args
);
18086 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 PyObject
*resultobj
= 0;
18088 wxEventType result
;
18090 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 result
= (wxEventType
)wxNewEventType();
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= SWIG_From_int(static_cast< int >(result
));
18104 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18105 PyObject
*resultobj
= 0;
18106 wxEvent
*arg1
= (wxEvent
*) 0 ;
18109 PyObject
*swig_obj
[1] ;
18111 if (!args
) SWIG_fail
;
18112 swig_obj
[0] = args
;
18113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
18114 if (!SWIG_IsOK(res1
)) {
18115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
18117 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_Py_Void();
18132 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
= 0;
18134 wxEvent
*arg1
= (wxEvent
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 char * kwnames
[] = {
18143 (char *) "self",(char *) "typ", NULL
18146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18148 if (!SWIG_IsOK(res1
)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
18151 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18153 if (!SWIG_IsOK(ecode2
)) {
18154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
18156 arg2
= static_cast< wxEventType
>(val2
);
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->SetEventType(arg2
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= SWIG_Py_Void();
18170 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18171 PyObject
*resultobj
= 0;
18172 wxEvent
*arg1
= (wxEvent
*) 0 ;
18173 wxEventType result
;
18176 PyObject
*swig_obj
[1] ;
18178 if (!args
) SWIG_fail
;
18179 swig_obj
[0] = args
;
18180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18181 if (!SWIG_IsOK(res1
)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
18184 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_From_int(static_cast< int >(result
));
18198 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18199 PyObject
*resultobj
= 0;
18200 wxEvent
*arg1
= (wxEvent
*) 0 ;
18201 wxObject
*result
= 0 ;
18204 PyObject
*swig_obj
[1] ;
18206 if (!args
) SWIG_fail
;
18207 swig_obj
[0] = args
;
18208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18209 if (!SWIG_IsOK(res1
)) {
18210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
18212 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18228 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
= 0;
18230 wxEvent
*arg1
= (wxEvent
*) 0 ;
18231 wxObject
*arg2
= (wxObject
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char * kwnames
[] = {
18239 (char *) "self",(char *) "obj", NULL
18242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
18247 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
18249 if (!SWIG_IsOK(res2
)) {
18250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
18252 arg2
= reinterpret_cast< wxObject
* >(argp2
);
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 (arg1
)->SetEventObject(arg2
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_Py_Void();
18266 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18267 PyObject
*resultobj
= 0;
18268 wxEvent
*arg1
= (wxEvent
*) 0 ;
18272 PyObject
*swig_obj
[1] ;
18274 if (!args
) SWIG_fail
;
18275 swig_obj
[0] = args
;
18276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
18280 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_From_long(static_cast< long >(result
));
18294 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
= 0;
18296 wxEvent
*arg1
= (wxEvent
*) 0 ;
18297 long arg2
= (long) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 char * kwnames
[] = {
18305 (char *) "self",(char *) "ts", NULL
18308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18310 if (!SWIG_IsOK(res1
)) {
18311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
18313 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18315 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18316 if (!SWIG_IsOK(ecode2
)) {
18317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
18319 arg2
= static_cast< long >(val2
);
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 (arg1
)->SetTimestamp(arg2
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_Py_Void();
18334 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18335 PyObject
*resultobj
= 0;
18336 wxEvent
*arg1
= (wxEvent
*) 0 ;
18340 PyObject
*swig_obj
[1] ;
18342 if (!args
) SWIG_fail
;
18343 swig_obj
[0] = args
;
18344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
18348 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (int)((wxEvent
const *)arg1
)->GetId();
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_From_int(static_cast< int >(result
));
18362 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
= 0;
18364 wxEvent
*arg1
= (wxEvent
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 char * kwnames
[] = {
18373 (char *) "self",(char *) "Id", NULL
18376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18378 if (!SWIG_IsOK(res1
)) {
18379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
18381 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18383 if (!SWIG_IsOK(ecode2
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
18386 arg2
= static_cast< int >(val2
);
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 (arg1
)->SetId(arg2
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_Py_Void();
18400 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18401 PyObject
*resultobj
= 0;
18402 wxEvent
*arg1
= (wxEvent
*) 0 ;
18406 PyObject
*swig_obj
[1] ;
18408 if (!args
) SWIG_fail
;
18409 swig_obj
[0] = args
;
18410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18411 if (!SWIG_IsOK(res1
)) {
18412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
18414 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18430 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
= 0;
18432 wxEvent
*arg1
= (wxEvent
*) 0 ;
18433 bool arg2
= (bool) true ;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 char * kwnames
[] = {
18441 (char *) "self",(char *) "skip", NULL
18444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18446 if (!SWIG_IsOK(res1
)) {
18447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
18449 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18451 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18452 if (!SWIG_IsOK(ecode2
)) {
18453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
18455 arg2
= static_cast< bool >(val2
);
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 (arg1
)->Skip(arg2
);
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_Py_Void();
18470 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18471 PyObject
*resultobj
= 0;
18472 wxEvent
*arg1
= (wxEvent
*) 0 ;
18476 PyObject
*swig_obj
[1] ;
18478 if (!args
) SWIG_fail
;
18479 swig_obj
[0] = args
;
18480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18481 if (!SWIG_IsOK(res1
)) {
18482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
18484 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18500 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18501 PyObject
*resultobj
= 0;
18502 wxEvent
*arg1
= (wxEvent
*) 0 ;
18506 PyObject
*swig_obj
[1] ;
18508 if (!args
) SWIG_fail
;
18509 swig_obj
[0] = args
;
18510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18511 if (!SWIG_IsOK(res1
)) {
18512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
18514 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18530 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18531 PyObject
*resultobj
= 0;
18532 wxEvent
*arg1
= (wxEvent
*) 0 ;
18536 PyObject
*swig_obj
[1] ;
18538 if (!args
) SWIG_fail
;
18539 swig_obj
[0] = args
;
18540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18541 if (!SWIG_IsOK(res1
)) {
18542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18544 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 result
= (int)(arg1
)->StopPropagation();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= SWIG_From_int(static_cast< int >(result
));
18558 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
= 0;
18560 wxEvent
*arg1
= (wxEvent
*) 0 ;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 char * kwnames
[] = {
18569 (char *) "self",(char *) "propagationLevel", NULL
18572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18574 if (!SWIG_IsOK(res1
)) {
18575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18577 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18579 if (!SWIG_IsOK(ecode2
)) {
18580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
18582 arg2
= static_cast< int >(val2
);
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 (arg1
)->ResumePropagation(arg2
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_Py_Void();
18596 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18597 PyObject
*resultobj
= 0;
18598 wxEvent
*arg1
= (wxEvent
*) 0 ;
18599 wxEvent
*result
= 0 ;
18602 PyObject
*swig_obj
[1] ;
18604 if (!args
) SWIG_fail
;
18605 swig_obj
[0] = args
;
18606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18607 if (!SWIG_IsOK(res1
)) {
18608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
18610 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (wxEvent
*)(arg1
)->Clone();
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
18624 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18627 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
18628 return SWIG_Py_Void();
18631 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
= 0;
18633 wxEvent
*arg1
= 0 ;
18634 wxPropagationDisabler
*result
= 0 ;
18637 PyObject
* obj0
= 0 ;
18638 char * kwnames
[] = {
18639 (char *) "event", NULL
18642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
18643 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18644 if (!SWIG_IsOK(res1
)) {
18645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18650 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
18664 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18665 PyObject
*resultobj
= 0;
18666 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
18669 PyObject
*swig_obj
[1] ;
18671 if (!args
) SWIG_fail
;
18672 swig_obj
[0] = args
;
18673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
18674 if (!SWIG_IsOK(res1
)) {
18675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
18677 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_Py_Void();
18692 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18695 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
18696 return SWIG_Py_Void();
18699 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18700 return SWIG_Python_InitShadowInstance(args
);
18703 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
= 0;
18705 wxEvent
*arg1
= 0 ;
18706 wxPropagateOnce
*result
= 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char * kwnames
[] = {
18711 (char *) "event", NULL
18714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
18715 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18716 if (!SWIG_IsOK(res1
)) {
18717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18722 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
18736 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18737 PyObject
*resultobj
= 0;
18738 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
18741 PyObject
*swig_obj
[1] ;
18743 if (!args
) SWIG_fail
;
18744 swig_obj
[0] = args
;
18745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
18746 if (!SWIG_IsOK(res1
)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
18749 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_Py_Void();
18764 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18767 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
18768 return SWIG_Py_Void();
18771 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18772 return SWIG_Python_InitShadowInstance(args
);
18775 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= 0;
18777 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18778 int arg2
= (int) 0 ;
18779 wxCommandEvent
*result
= 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char * kwnames
[] = {
18787 (char *) "commandType",(char *) "winid", NULL
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18792 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18793 if (!SWIG_IsOK(ecode1
)) {
18794 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18796 arg1
= static_cast< wxEventType
>(val1
);
18799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18800 if (!SWIG_IsOK(ecode2
)) {
18801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
18803 arg2
= static_cast< int >(val2
);
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
18818 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18819 PyObject
*resultobj
= 0;
18820 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18824 PyObject
*swig_obj
[1] ;
18826 if (!args
) SWIG_fail
;
18827 swig_obj
[0] = args
;
18828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18829 if (!SWIG_IsOK(res1
)) {
18830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18832 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18835 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= SWIG_From_int(static_cast< int >(result
));
18846 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
= 0;
18848 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18849 wxString
*arg2
= 0 ;
18852 bool temp2
= false ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char * kwnames
[] = {
18856 (char *) "self",(char *) "s", NULL
18859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18861 if (!SWIG_IsOK(res1
)) {
18862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18864 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18866 arg2
= wxString_in_helper(obj1
);
18867 if (arg2
== NULL
) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 (arg1
)->SetString((wxString
const &)*arg2
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= SWIG_Py_Void();
18891 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18892 PyObject
*resultobj
= 0;
18893 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18897 PyObject
*swig_obj
[1] ;
18899 if (!args
) SWIG_fail
;
18900 swig_obj
[0] = args
;
18901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18902 if (!SWIG_IsOK(res1
)) {
18903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18905 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 result
= ((wxCommandEvent
const *)arg1
)->GetString();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18925 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18926 PyObject
*resultobj
= 0;
18927 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18931 PyObject
*swig_obj
[1] ;
18933 if (!args
) SWIG_fail
;
18934 swig_obj
[0] = args
;
18935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18936 if (!SWIG_IsOK(res1
)) {
18937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18939 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18955 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18956 PyObject
*resultobj
= 0;
18957 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18961 PyObject
*swig_obj
[1] ;
18963 if (!args
) SWIG_fail
;
18964 swig_obj
[0] = args
;
18965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18966 if (!SWIG_IsOK(res1
)) {
18967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18969 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18985 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
= 0;
18987 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char * kwnames
[] = {
18996 (char *) "self",(char *) "extraLong", NULL
18999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19001 if (!SWIG_IsOK(res1
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19004 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19006 if (!SWIG_IsOK(ecode2
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
19009 arg2
= static_cast< long >(val2
);
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 (arg1
)->SetExtraLong(arg2
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= SWIG_Py_Void();
19023 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19024 PyObject
*resultobj
= 0;
19025 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19029 PyObject
*swig_obj
[1] ;
19031 if (!args
) SWIG_fail
;
19032 swig_obj
[0] = args
;
19033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19034 if (!SWIG_IsOK(res1
)) {
19035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19037 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 resultobj
= SWIG_From_long(static_cast< long >(result
));
19051 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
= 0;
19053 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 char * kwnames
[] = {
19062 (char *) "self",(char *) "i", NULL
19065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19067 if (!SWIG_IsOK(res1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19070 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19072 if (!SWIG_IsOK(ecode2
)) {
19073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
19075 arg2
= static_cast< int >(val2
);
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 (arg1
)->SetInt(arg2
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= SWIG_Py_Void();
19089 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19090 PyObject
*resultobj
= 0;
19091 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19095 PyObject
*swig_obj
[1] ;
19097 if (!args
) SWIG_fail
;
19098 swig_obj
[0] = args
;
19099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19100 if (!SWIG_IsOK(res1
)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19103 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 result
= (int)((wxCommandEvent
const *)arg1
)->GetInt();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_From_int(static_cast< int >(result
));
19117 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19118 PyObject
*resultobj
= 0;
19119 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19120 PyObject
*result
= 0 ;
19123 PyObject
*swig_obj
[1] ;
19125 if (!args
) SWIG_fail
;
19126 swig_obj
[0] = args
;
19127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19128 if (!SWIG_IsOK(res1
)) {
19129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19131 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= result
;
19145 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
= 0;
19147 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19148 PyObject
*arg2
= (PyObject
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char * kwnames
[] = {
19154 (char *) "self",(char *) "clientData", NULL
19157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19162 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 wxCommandEvent_SetClientData(arg1
,arg2
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= SWIG_Py_Void();
19177 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19178 PyObject
*resultobj
= 0;
19179 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19180 wxEvent
*result
= 0 ;
19183 PyObject
*swig_obj
[1] ;
19185 if (!args
) SWIG_fail
;
19186 swig_obj
[0] = args
;
19187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19188 if (!SWIG_IsOK(res1
)) {
19189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19191 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
19205 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19208 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
19209 return SWIG_Py_Void();
19212 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19213 return SWIG_Python_InitShadowInstance(args
);
19216 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
= 0;
19218 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19219 int arg2
= (int) 0 ;
19220 wxNotifyEvent
*result
= 0 ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char * kwnames
[] = {
19228 (char *) "commandType",(char *) "winid", NULL
19231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19233 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19234 if (!SWIG_IsOK(ecode1
)) {
19235 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19237 arg1
= static_cast< wxEventType
>(val1
);
19240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19241 if (!SWIG_IsOK(ecode2
)) {
19242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
19244 arg2
= static_cast< int >(val2
);
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
19259 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19260 PyObject
*resultobj
= 0;
19261 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19264 PyObject
*swig_obj
[1] ;
19266 if (!args
) SWIG_fail
;
19267 swig_obj
[0] = args
;
19268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19269 if (!SWIG_IsOK(res1
)) {
19270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19272 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 resultobj
= SWIG_Py_Void();
19286 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19287 PyObject
*resultobj
= 0;
19288 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19291 PyObject
*swig_obj
[1] ;
19293 if (!args
) SWIG_fail
;
19294 swig_obj
[0] = args
;
19295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19296 if (!SWIG_IsOK(res1
)) {
19297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19299 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_Py_Void();
19313 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19314 PyObject
*resultobj
= 0;
19315 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19319 PyObject
*swig_obj
[1] ;
19321 if (!args
) SWIG_fail
;
19322 swig_obj
[0] = args
;
19323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19324 if (!SWIG_IsOK(res1
)) {
19325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19327 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= (bool)(arg1
)->IsAllowed();
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19343 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19346 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
19347 return SWIG_Py_Void();
19350 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19351 return SWIG_Python_InitShadowInstance(args
);
19354 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
= 0;
19356 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19357 int arg2
= (int) 0 ;
19358 int arg3
= (int) 0 ;
19359 int arg4
= (int) 0 ;
19360 wxScrollEvent
*result
= 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 PyObject
* obj2
= 0 ;
19372 PyObject
* obj3
= 0 ;
19373 char * kwnames
[] = {
19374 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
19377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19379 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19380 if (!SWIG_IsOK(ecode1
)) {
19381 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19383 arg1
= static_cast< wxEventType
>(val1
);
19386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19387 if (!SWIG_IsOK(ecode2
)) {
19388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
19390 arg2
= static_cast< int >(val2
);
19393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19394 if (!SWIG_IsOK(ecode3
)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
19397 arg3
= static_cast< int >(val3
);
19400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19401 if (!SWIG_IsOK(ecode4
)) {
19402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
19404 arg4
= static_cast< int >(val4
);
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
19419 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19420 PyObject
*resultobj
= 0;
19421 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19425 PyObject
*swig_obj
[1] ;
19427 if (!args
) SWIG_fail
;
19428 swig_obj
[0] = args
;
19429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19430 if (!SWIG_IsOK(res1
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19433 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= SWIG_From_int(static_cast< int >(result
));
19447 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19448 PyObject
*resultobj
= 0;
19449 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19453 PyObject
*swig_obj
[1] ;
19455 if (!args
) SWIG_fail
;
19456 swig_obj
[0] = args
;
19457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19458 if (!SWIG_IsOK(res1
)) {
19459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19461 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_From_int(static_cast< int >(result
));
19475 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
= 0;
19477 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 char * kwnames
[] = {
19486 (char *) "self",(char *) "orient", NULL
19489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19491 if (!SWIG_IsOK(res1
)) {
19492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19494 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19496 if (!SWIG_IsOK(ecode2
)) {
19497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19499 arg2
= static_cast< int >(val2
);
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 (arg1
)->SetOrientation(arg2
);
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_Py_Void();
19513 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
= 0;
19515 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 PyObject
* obj1
= 0 ;
19523 char * kwnames
[] = {
19524 (char *) "self",(char *) "pos", NULL
19527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19529 if (!SWIG_IsOK(res1
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19532 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19534 if (!SWIG_IsOK(ecode2
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19537 arg2
= static_cast< int >(val2
);
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->SetPosition(arg2
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_Py_Void();
19551 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19554 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
19555 return SWIG_Py_Void();
19558 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19559 return SWIG_Python_InitShadowInstance(args
);
19562 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
= 0;
19564 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19565 int arg2
= (int) 0 ;
19566 int arg3
= (int) 0 ;
19567 wxScrollWinEvent
*result
= 0 ;
19574 PyObject
* obj0
= 0 ;
19575 PyObject
* obj1
= 0 ;
19576 PyObject
* obj2
= 0 ;
19577 char * kwnames
[] = {
19578 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
19581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19583 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19584 if (!SWIG_IsOK(ecode1
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19587 arg1
= static_cast< wxEventType
>(val1
);
19590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19591 if (!SWIG_IsOK(ecode2
)) {
19592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
19594 arg2
= static_cast< int >(val2
);
19597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19598 if (!SWIG_IsOK(ecode3
)) {
19599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
19601 arg3
= static_cast< int >(val3
);
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
19616 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19617 PyObject
*resultobj
= 0;
19618 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19622 PyObject
*swig_obj
[1] ;
19624 if (!args
) SWIG_fail
;
19625 swig_obj
[0] = args
;
19626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19627 if (!SWIG_IsOK(res1
)) {
19628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19630 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_From_int(static_cast< int >(result
));
19644 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19645 PyObject
*resultobj
= 0;
19646 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19650 PyObject
*swig_obj
[1] ;
19652 if (!args
) SWIG_fail
;
19653 swig_obj
[0] = args
;
19654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19655 if (!SWIG_IsOK(res1
)) {
19656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19658 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_From_int(static_cast< int >(result
));
19672 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
= 0;
19674 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char * kwnames
[] = {
19683 (char *) "self",(char *) "orient", NULL
19686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19688 if (!SWIG_IsOK(res1
)) {
19689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19691 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19693 if (!SWIG_IsOK(ecode2
)) {
19694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19696 arg2
= static_cast< int >(val2
);
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 (arg1
)->SetOrientation(arg2
);
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_Py_Void();
19710 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char * kwnames
[] = {
19721 (char *) "self",(char *) "pos", NULL
19724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19726 if (!SWIG_IsOK(res1
)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19729 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19731 if (!SWIG_IsOK(ecode2
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19734 arg2
= static_cast< int >(val2
);
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->SetPosition(arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_Py_Void();
19748 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19751 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
19752 return SWIG_Py_Void();
19755 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19756 return SWIG_Python_InitShadowInstance(args
);
19759 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
= 0;
19761 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19762 wxMouseEvent
*result
= 0 ;
19765 PyObject
* obj0
= 0 ;
19766 char * kwnames
[] = {
19767 (char *) "mouseType", NULL
19770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
19772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19773 if (!SWIG_IsOK(ecode1
)) {
19774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19776 arg1
= static_cast< wxEventType
>(val1
);
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
19793 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19794 PyObject
*resultobj
= 0;
19795 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19799 PyObject
*swig_obj
[1] ;
19801 if (!args
) SWIG_fail
;
19802 swig_obj
[0] = args
;
19803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19804 if (!SWIG_IsOK(res1
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19807 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19823 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
= 0;
19825 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19826 int arg2
= (int) wxMOUSE_BTN_ANY
;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "but", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19843 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19846 if (!SWIG_IsOK(ecode2
)) {
19847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
19849 arg2
= static_cast< int >(val2
);
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19866 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
= 0;
19868 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19869 int arg2
= (int) wxMOUSE_BTN_ANY
;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char * kwnames
[] = {
19878 (char *) "self",(char *) "but", NULL
19881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19886 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19889 if (!SWIG_IsOK(ecode2
)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
19892 arg2
= static_cast< int >(val2
);
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(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_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
= 0;
19911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19912 int arg2
= (int) wxMOUSE_BTN_ANY
;
19918 PyObject
* obj0
= 0 ;
19919 PyObject
* obj1
= 0 ;
19920 char * kwnames
[] = {
19921 (char *) "self",(char *) "but", NULL
19924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",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_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19929 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19932 if (!SWIG_IsOK(ecode2
)) {
19933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
19935 arg2
= static_cast< int >(val2
);
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19952 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
= 0;
19954 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "self",(char *) "button", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19972 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19974 if (!SWIG_IsOK(ecode2
)) {
19975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
19977 arg2
= static_cast< int >(val2
);
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19993 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
= 0;
19995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 char * kwnames
[] = {
20005 (char *) "self",(char *) "but", NULL
20008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20013 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20015 if (!SWIG_IsOK(ecode2
)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
20018 arg2
= static_cast< int >(val2
);
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20034 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20035 PyObject
*resultobj
= 0;
20036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20040 PyObject
*swig_obj
[1] ;
20042 if (!args
) SWIG_fail
;
20043 swig_obj
[0] = args
;
20044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20045 if (!SWIG_IsOK(res1
)) {
20046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20048 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_From_int(static_cast< int >(result
));
20062 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20063 PyObject
*resultobj
= 0;
20064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20068 PyObject
*swig_obj
[1] ;
20070 if (!args
) SWIG_fail
;
20071 swig_obj
[0] = args
;
20072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20073 if (!SWIG_IsOK(res1
)) {
20074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20076 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20092 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20093 PyObject
*resultobj
= 0;
20094 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20098 PyObject
*swig_obj
[1] ;
20100 if (!args
) SWIG_fail
;
20101 swig_obj
[0] = args
;
20102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20103 if (!SWIG_IsOK(res1
)) {
20104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20106 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20122 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20123 PyObject
*resultobj
= 0;
20124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20128 PyObject
*swig_obj
[1] ;
20130 if (!args
) SWIG_fail
;
20131 swig_obj
[0] = args
;
20132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20133 if (!SWIG_IsOK(res1
)) {
20134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20136 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20152 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20153 PyObject
*resultobj
= 0;
20154 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20158 PyObject
*swig_obj
[1] ;
20160 if (!args
) SWIG_fail
;
20161 swig_obj
[0] = args
;
20162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20163 if (!SWIG_IsOK(res1
)) {
20164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20166 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20182 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20183 PyObject
*resultobj
= 0;
20184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20188 PyObject
*swig_obj
[1] ;
20190 if (!args
) SWIG_fail
;
20191 swig_obj
[0] = args
;
20192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20193 if (!SWIG_IsOK(res1
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20196 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20212 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20213 PyObject
*resultobj
= 0;
20214 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20218 PyObject
*swig_obj
[1] ;
20220 if (!args
) SWIG_fail
;
20221 swig_obj
[0] = args
;
20222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20223 if (!SWIG_IsOK(res1
)) {
20224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20226 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20242 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20243 PyObject
*resultobj
= 0;
20244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20248 PyObject
*swig_obj
[1] ;
20250 if (!args
) SWIG_fail
;
20251 swig_obj
[0] = args
;
20252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20253 if (!SWIG_IsOK(res1
)) {
20254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20256 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20272 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20273 PyObject
*resultobj
= 0;
20274 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20278 PyObject
*swig_obj
[1] ;
20280 if (!args
) SWIG_fail
;
20281 swig_obj
[0] = args
;
20282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20286 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20302 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20303 PyObject
*resultobj
= 0;
20304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20308 PyObject
*swig_obj
[1] ;
20310 if (!args
) SWIG_fail
;
20311 swig_obj
[0] = args
;
20312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20313 if (!SWIG_IsOK(res1
)) {
20314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20316 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20332 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20333 PyObject
*resultobj
= 0;
20334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20338 PyObject
*swig_obj
[1] ;
20340 if (!args
) SWIG_fail
;
20341 swig_obj
[0] = args
;
20342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20343 if (!SWIG_IsOK(res1
)) {
20344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20346 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20362 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20363 PyObject
*resultobj
= 0;
20364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20368 PyObject
*swig_obj
[1] ;
20370 if (!args
) SWIG_fail
;
20371 swig_obj
[0] = args
;
20372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20376 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20392 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20393 PyObject
*resultobj
= 0;
20394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20398 PyObject
*swig_obj
[1] ;
20400 if (!args
) SWIG_fail
;
20401 swig_obj
[0] = args
;
20402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20403 if (!SWIG_IsOK(res1
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20406 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20422 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20423 PyObject
*resultobj
= 0;
20424 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20428 PyObject
*swig_obj
[1] ;
20430 if (!args
) SWIG_fail
;
20431 swig_obj
[0] = args
;
20432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20433 if (!SWIG_IsOK(res1
)) {
20434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20436 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20452 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20453 PyObject
*resultobj
= 0;
20454 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20458 PyObject
*swig_obj
[1] ;
20460 if (!args
) SWIG_fail
;
20461 swig_obj
[0] = args
;
20462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20466 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20482 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20483 PyObject
*resultobj
= 0;
20484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20488 PyObject
*swig_obj
[1] ;
20490 if (!args
) SWIG_fail
;
20491 swig_obj
[0] = args
;
20492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20493 if (!SWIG_IsOK(res1
)) {
20494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20496 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (bool)(arg1
)->LeftIsDown();
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20512 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20513 PyObject
*resultobj
= 0;
20514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20518 PyObject
*swig_obj
[1] ;
20520 if (!args
) SWIG_fail
;
20521 swig_obj
[0] = args
;
20522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20523 if (!SWIG_IsOK(res1
)) {
20524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20526 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (bool)(arg1
)->MiddleIsDown();
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20542 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20543 PyObject
*resultobj
= 0;
20544 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20548 PyObject
*swig_obj
[1] ;
20550 if (!args
) SWIG_fail
;
20551 swig_obj
[0] = args
;
20552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20553 if (!SWIG_IsOK(res1
)) {
20554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20556 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)(arg1
)->RightIsDown();
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20572 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20573 PyObject
*resultobj
= 0;
20574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20578 PyObject
*swig_obj
[1] ;
20580 if (!args
) SWIG_fail
;
20581 swig_obj
[0] = args
;
20582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20583 if (!SWIG_IsOK(res1
)) {
20584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20586 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20602 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20603 PyObject
*resultobj
= 0;
20604 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20608 PyObject
*swig_obj
[1] ;
20610 if (!args
) SWIG_fail
;
20611 swig_obj
[0] = args
;
20612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20613 if (!SWIG_IsOK(res1
)) {
20614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20616 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20632 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20633 PyObject
*resultobj
= 0;
20634 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20638 PyObject
*swig_obj
[1] ;
20640 if (!args
) SWIG_fail
;
20641 swig_obj
[0] = args
;
20642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20643 if (!SWIG_IsOK(res1
)) {
20644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20646 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20662 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20663 PyObject
*resultobj
= 0;
20664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20668 PyObject
*swig_obj
[1] ;
20670 if (!args
) SWIG_fail
;
20671 swig_obj
[0] = args
;
20672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20673 if (!SWIG_IsOK(res1
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20676 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20692 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20693 PyObject
*resultobj
= 0;
20694 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20698 PyObject
*swig_obj
[1] ;
20700 if (!args
) SWIG_fail
;
20701 swig_obj
[0] = args
;
20702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20703 if (!SWIG_IsOK(res1
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20706 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (arg1
)->GetPosition();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20720 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20721 PyObject
*resultobj
= 0;
20722 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20723 long *arg2
= (long *) 0 ;
20724 long *arg3
= (long *) 0 ;
20728 int res2
= SWIG_TMPOBJ
;
20730 int res3
= SWIG_TMPOBJ
;
20731 PyObject
*swig_obj
[1] ;
20735 if (!args
) SWIG_fail
;
20736 swig_obj
[0] = args
;
20737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20738 if (!SWIG_IsOK(res1
)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20741 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 (arg1
)->GetPosition(arg2
,arg3
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_Py_Void();
20749 if (SWIG_IsTmpObj(res2
)) {
20750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
20752 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
20755 if (SWIG_IsTmpObj(res3
)) {
20756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20758 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20767 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
= 0;
20769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 char * kwnames
[] = {
20779 (char *) "self",(char *) "dc", NULL
20782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20784 if (!SWIG_IsOK(res1
)) {
20785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20787 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
20789 if (!SWIG_IsOK(res2
)) {
20790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20795 arg2
= reinterpret_cast< wxDC
* >(argp2
);
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20809 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(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_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20823 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= SWIG_From_int(static_cast< int >(result
));
20837 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(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_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20851 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_From_int(static_cast< int >(result
));
20865 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(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_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20879 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= SWIG_From_int(static_cast< int >(result
));
20893 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20894 PyObject
*resultobj
= 0;
20895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20899 PyObject
*swig_obj
[1] ;
20901 if (!args
) SWIG_fail
;
20902 swig_obj
[0] = args
;
20903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20907 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_From_int(static_cast< int >(result
));
20921 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20922 PyObject
*resultobj
= 0;
20923 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20927 PyObject
*swig_obj
[1] ;
20929 if (!args
) SWIG_fail
;
20930 swig_obj
[0] = args
;
20931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20932 if (!SWIG_IsOK(res1
)) {
20933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20935 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= SWIG_From_int(static_cast< int >(result
));
20949 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20950 PyObject
*resultobj
= 0;
20951 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20955 PyObject
*swig_obj
[1] ;
20957 if (!args
) SWIG_fail
;
20958 swig_obj
[0] = args
;
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_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20963 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20979 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20980 PyObject
*resultobj
= 0;
20981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20987 PyObject
*swig_obj
[2] ;
20989 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
20990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20991 if (!SWIG_IsOK(res1
)) {
20992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20994 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20995 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
20996 if (!SWIG_IsOK(ecode2
)) {
20997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
20999 arg2
= static_cast< int >(val2
);
21000 if (arg1
) (arg1
)->m_x
= arg2
;
21002 resultobj
= SWIG_Py_Void();
21009 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21010 PyObject
*resultobj
= 0;
21011 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21015 PyObject
*swig_obj
[1] ;
21017 if (!args
) SWIG_fail
;
21018 swig_obj
[0] = args
;
21019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21020 if (!SWIG_IsOK(res1
)) {
21021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21023 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21024 result
= (int) ((arg1
)->m_x
);
21025 resultobj
= SWIG_From_int(static_cast< int >(result
));
21032 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21033 PyObject
*resultobj
= 0;
21034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21040 PyObject
*swig_obj
[2] ;
21042 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21047 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21048 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21049 if (!SWIG_IsOK(ecode2
)) {
21050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
21052 arg2
= static_cast< int >(val2
);
21053 if (arg1
) (arg1
)->m_y
= arg2
;
21055 resultobj
= SWIG_Py_Void();
21062 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21063 PyObject
*resultobj
= 0;
21064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21068 PyObject
*swig_obj
[1] ;
21070 if (!args
) SWIG_fail
;
21071 swig_obj
[0] = args
;
21072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21073 if (!SWIG_IsOK(res1
)) {
21074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21076 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21077 result
= (int) ((arg1
)->m_y
);
21078 resultobj
= SWIG_From_int(static_cast< int >(result
));
21085 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21086 PyObject
*resultobj
= 0;
21087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21093 PyObject
*swig_obj
[2] ;
21095 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
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_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21100 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21101 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21102 if (!SWIG_IsOK(ecode2
)) {
21103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
21105 arg2
= static_cast< bool >(val2
);
21106 if (arg1
) (arg1
)->m_leftDown
= arg2
;
21108 resultobj
= SWIG_Py_Void();
21115 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21116 PyObject
*resultobj
= 0;
21117 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21121 PyObject
*swig_obj
[1] ;
21123 if (!args
) SWIG_fail
;
21124 swig_obj
[0] = args
;
21125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21126 if (!SWIG_IsOK(res1
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21129 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21130 result
= (bool) ((arg1
)->m_leftDown
);
21132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21140 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21141 PyObject
*resultobj
= 0;
21142 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21148 PyObject
*swig_obj
[2] ;
21150 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
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_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21155 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21156 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21157 if (!SWIG_IsOK(ecode2
)) {
21158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
21160 arg2
= static_cast< bool >(val2
);
21161 if (arg1
) (arg1
)->m_middleDown
= arg2
;
21163 resultobj
= SWIG_Py_Void();
21170 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21171 PyObject
*resultobj
= 0;
21172 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21176 PyObject
*swig_obj
[1] ;
21178 if (!args
) SWIG_fail
;
21179 swig_obj
[0] = args
;
21180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21181 if (!SWIG_IsOK(res1
)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21184 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21185 result
= (bool) ((arg1
)->m_middleDown
);
21187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21195 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21196 PyObject
*resultobj
= 0;
21197 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21203 PyObject
*swig_obj
[2] ;
21205 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
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_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21210 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21211 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21212 if (!SWIG_IsOK(ecode2
)) {
21213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
21215 arg2
= static_cast< bool >(val2
);
21216 if (arg1
) (arg1
)->m_rightDown
= arg2
;
21218 resultobj
= SWIG_Py_Void();
21225 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21226 PyObject
*resultobj
= 0;
21227 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21231 PyObject
*swig_obj
[1] ;
21233 if (!args
) SWIG_fail
;
21234 swig_obj
[0] = args
;
21235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21236 if (!SWIG_IsOK(res1
)) {
21237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21239 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21240 result
= (bool) ((arg1
)->m_rightDown
);
21242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21250 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21251 PyObject
*resultobj
= 0;
21252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21258 PyObject
*swig_obj
[2] ;
21260 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
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_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21265 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21266 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21267 if (!SWIG_IsOK(ecode2
)) {
21268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
21270 arg2
= static_cast< bool >(val2
);
21271 if (arg1
) (arg1
)->m_controlDown
= arg2
;
21273 resultobj
= SWIG_Py_Void();
21280 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21281 PyObject
*resultobj
= 0;
21282 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21286 PyObject
*swig_obj
[1] ;
21288 if (!args
) SWIG_fail
;
21289 swig_obj
[0] = args
;
21290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21291 if (!SWIG_IsOK(res1
)) {
21292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21294 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21295 result
= (bool) ((arg1
)->m_controlDown
);
21297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21305 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21306 PyObject
*resultobj
= 0;
21307 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21313 PyObject
*swig_obj
[2] ;
21315 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
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_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21320 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21321 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21322 if (!SWIG_IsOK(ecode2
)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
21325 arg2
= static_cast< bool >(val2
);
21326 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
21328 resultobj
= SWIG_Py_Void();
21335 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21336 PyObject
*resultobj
= 0;
21337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21341 PyObject
*swig_obj
[1] ;
21343 if (!args
) SWIG_fail
;
21344 swig_obj
[0] = args
;
21345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21346 if (!SWIG_IsOK(res1
)) {
21347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21349 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21350 result
= (bool) ((arg1
)->m_shiftDown
);
21352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21360 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21361 PyObject
*resultobj
= 0;
21362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21368 PyObject
*swig_obj
[2] ;
21370 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
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_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21375 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21376 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21377 if (!SWIG_IsOK(ecode2
)) {
21378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
21380 arg2
= static_cast< bool >(val2
);
21381 if (arg1
) (arg1
)->m_altDown
= arg2
;
21383 resultobj
= SWIG_Py_Void();
21390 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21391 PyObject
*resultobj
= 0;
21392 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21396 PyObject
*swig_obj
[1] ;
21398 if (!args
) SWIG_fail
;
21399 swig_obj
[0] = args
;
21400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21401 if (!SWIG_IsOK(res1
)) {
21402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21404 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21405 result
= (bool) ((arg1
)->m_altDown
);
21407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21415 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21416 PyObject
*resultobj
= 0;
21417 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21423 PyObject
*swig_obj
[2] ;
21425 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
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_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21430 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21431 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21432 if (!SWIG_IsOK(ecode2
)) {
21433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
21435 arg2
= static_cast< bool >(val2
);
21436 if (arg1
) (arg1
)->m_metaDown
= arg2
;
21438 resultobj
= SWIG_Py_Void();
21445 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21446 PyObject
*resultobj
= 0;
21447 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21451 PyObject
*swig_obj
[1] ;
21453 if (!args
) SWIG_fail
;
21454 swig_obj
[0] = args
;
21455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21456 if (!SWIG_IsOK(res1
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21459 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21460 result
= (bool) ((arg1
)->m_metaDown
);
21462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21470 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 PyObject
*resultobj
= 0;
21472 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21478 PyObject
*swig_obj
[2] ;
21480 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
21481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21482 if (!SWIG_IsOK(res1
)) {
21483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21485 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21486 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21487 if (!SWIG_IsOK(ecode2
)) {
21488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
21490 arg2
= static_cast< int >(val2
);
21491 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
21493 resultobj
= SWIG_Py_Void();
21500 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21501 PyObject
*resultobj
= 0;
21502 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21506 PyObject
*swig_obj
[1] ;
21508 if (!args
) SWIG_fail
;
21509 swig_obj
[0] = args
;
21510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21511 if (!SWIG_IsOK(res1
)) {
21512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21514 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21515 result
= (int) ((arg1
)->m_wheelRotation
);
21516 resultobj
= SWIG_From_int(static_cast< int >(result
));
21523 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21524 PyObject
*resultobj
= 0;
21525 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21531 PyObject
*swig_obj
[2] ;
21533 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21538 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21539 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21540 if (!SWIG_IsOK(ecode2
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
21543 arg2
= static_cast< int >(val2
);
21544 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
21546 resultobj
= SWIG_Py_Void();
21553 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21554 PyObject
*resultobj
= 0;
21555 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21559 PyObject
*swig_obj
[1] ;
21561 if (!args
) SWIG_fail
;
21562 swig_obj
[0] = args
;
21563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21564 if (!SWIG_IsOK(res1
)) {
21565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21567 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21568 result
= (int) ((arg1
)->m_wheelDelta
);
21569 resultobj
= SWIG_From_int(static_cast< int >(result
));
21576 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21577 PyObject
*resultobj
= 0;
21578 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21584 PyObject
*swig_obj
[2] ;
21586 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
21587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21588 if (!SWIG_IsOK(res1
)) {
21589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21591 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21592 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21593 if (!SWIG_IsOK(ecode2
)) {
21594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
21596 arg2
= static_cast< int >(val2
);
21597 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
21599 resultobj
= SWIG_Py_Void();
21606 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21607 PyObject
*resultobj
= 0;
21608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21612 PyObject
*swig_obj
[1] ;
21614 if (!args
) SWIG_fail
;
21615 swig_obj
[0] = args
;
21616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21617 if (!SWIG_IsOK(res1
)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21620 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21621 result
= (int) ((arg1
)->m_linesPerAction
);
21622 resultobj
= SWIG_From_int(static_cast< int >(result
));
21629 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21631 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21632 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
21633 return SWIG_Py_Void();
21636 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21637 return SWIG_Python_InitShadowInstance(args
);
21640 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
= 0;
21642 int arg1
= (int) 0 ;
21643 int arg2
= (int) 0 ;
21644 wxSetCursorEvent
*result
= 0 ;
21649 PyObject
* obj0
= 0 ;
21650 PyObject
* obj1
= 0 ;
21651 char * kwnames
[] = {
21652 (char *) "x",(char *) "y", NULL
21655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21658 if (!SWIG_IsOK(ecode1
)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
21661 arg1
= static_cast< int >(val1
);
21664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21665 if (!SWIG_IsOK(ecode2
)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
21668 arg2
= static_cast< int >(val2
);
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
21683 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21684 PyObject
*resultobj
= 0;
21685 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21689 PyObject
*swig_obj
[1] ;
21691 if (!args
) SWIG_fail
;
21692 swig_obj
[0] = args
;
21693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21694 if (!SWIG_IsOK(res1
)) {
21695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21697 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= SWIG_From_int(static_cast< int >(result
));
21711 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21712 PyObject
*resultobj
= 0;
21713 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21717 PyObject
*swig_obj
[1] ;
21719 if (!args
) SWIG_fail
;
21720 swig_obj
[0] = args
;
21721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21722 if (!SWIG_IsOK(res1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21725 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_From_int(static_cast< int >(result
));
21739 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
= 0;
21741 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21742 wxCursor
*arg2
= 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 char * kwnames
[] = {
21750 (char *) "self",(char *) "cursor", NULL
21753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21755 if (!SWIG_IsOK(res1
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
21758 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
21760 if (!SWIG_IsOK(res2
)) {
21761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21766 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= SWIG_Py_Void();
21780 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21781 PyObject
*resultobj
= 0;
21782 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21783 wxCursor
*result
= 0 ;
21786 PyObject
*swig_obj
[1] ;
21788 if (!args
) SWIG_fail
;
21789 swig_obj
[0] = args
;
21790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21791 if (!SWIG_IsOK(res1
)) {
21792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21794 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
21799 result
= (wxCursor
*) &_result_ref
;
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21805 wxCursor
* resultptr
= new wxCursor(*result
);
21806 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
21814 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21815 PyObject
*resultobj
= 0;
21816 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21820 PyObject
*swig_obj
[1] ;
21822 if (!args
) SWIG_fail
;
21823 swig_obj
[0] = args
;
21824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21825 if (!SWIG_IsOK(res1
)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21828 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21844 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21847 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
21848 return SWIG_Py_Void();
21851 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21852 return SWIG_Python_InitShadowInstance(args
);
21855 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
= 0;
21857 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21858 wxKeyEvent
*result
= 0 ;
21861 PyObject
* obj0
= 0 ;
21862 char * kwnames
[] = {
21863 (char *) "eventType", NULL
21866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
21868 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21869 if (!SWIG_IsOK(ecode1
)) {
21870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21872 arg1
= static_cast< wxEventType
>(val1
);
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
21887 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21888 PyObject
*resultobj
= 0;
21889 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21893 PyObject
*swig_obj
[1] ;
21895 if (!args
) SWIG_fail
;
21896 swig_obj
[0] = args
;
21897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21901 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= SWIG_From_int(static_cast< int >(result
));
21915 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21916 PyObject
*resultobj
= 0;
21917 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21921 PyObject
*swig_obj
[1] ;
21923 if (!args
) SWIG_fail
;
21924 swig_obj
[0] = args
;
21925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21926 if (!SWIG_IsOK(res1
)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21929 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21945 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21946 PyObject
*resultobj
= 0;
21947 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21951 PyObject
*swig_obj
[1] ;
21953 if (!args
) SWIG_fail
;
21954 swig_obj
[0] = args
;
21955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21956 if (!SWIG_IsOK(res1
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21959 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21975 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21976 PyObject
*resultobj
= 0;
21977 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21981 PyObject
*swig_obj
[1] ;
21983 if (!args
) SWIG_fail
;
21984 swig_obj
[0] = args
;
21985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21986 if (!SWIG_IsOK(res1
)) {
21987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21989 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22005 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22006 PyObject
*resultobj
= 0;
22007 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22011 PyObject
*swig_obj
[1] ;
22013 if (!args
) SWIG_fail
;
22014 swig_obj
[0] = args
;
22015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22016 if (!SWIG_IsOK(res1
)) {
22017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22019 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22035 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22036 PyObject
*resultobj
= 0;
22037 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22041 PyObject
*swig_obj
[1] ;
22043 if (!args
) SWIG_fail
;
22044 swig_obj
[0] = args
;
22045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22049 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22065 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22066 PyObject
*resultobj
= 0;
22067 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22071 PyObject
*swig_obj
[1] ;
22073 if (!args
) SWIG_fail
;
22074 swig_obj
[0] = args
;
22075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22079 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22095 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22096 PyObject
*resultobj
= 0;
22097 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
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_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22109 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_From_int(static_cast< int >(result
));
22123 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(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_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22137 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 resultobj
= SWIG_From_int(static_cast< int >(result
));
22151 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22152 PyObject
*resultobj
= 0;
22153 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22154 unsigned int result
;
22157 PyObject
*swig_obj
[1] ;
22159 if (!args
) SWIG_fail
;
22160 swig_obj
[0] = args
;
22161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22162 if (!SWIG_IsOK(res1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22165 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22179 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22180 PyObject
*resultobj
= 0;
22181 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22182 unsigned int result
;
22185 PyObject
*swig_obj
[1] ;
22187 if (!args
) SWIG_fail
;
22188 swig_obj
[0] = args
;
22189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22190 if (!SWIG_IsOK(res1
)) {
22191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22193 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22207 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22208 PyObject
*resultobj
= 0;
22209 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22213 PyObject
*swig_obj
[1] ;
22215 if (!args
) SWIG_fail
;
22216 swig_obj
[0] = args
;
22217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22218 if (!SWIG_IsOK(res1
)) {
22219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22221 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= (arg1
)->GetPosition();
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22235 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22236 PyObject
*resultobj
= 0;
22237 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22238 long *arg2
= (long *) 0 ;
22239 long *arg3
= (long *) 0 ;
22243 int res2
= SWIG_TMPOBJ
;
22245 int res3
= SWIG_TMPOBJ
;
22246 PyObject
*swig_obj
[1] ;
22250 if (!args
) SWIG_fail
;
22251 swig_obj
[0] = args
;
22252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22253 if (!SWIG_IsOK(res1
)) {
22254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22256 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 (arg1
)->GetPosition(arg2
,arg3
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= SWIG_Py_Void();
22264 if (SWIG_IsTmpObj(res2
)) {
22265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
22267 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
22270 if (SWIG_IsTmpObj(res3
)) {
22271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
22273 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
22282 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22283 PyObject
*resultobj
= 0;
22284 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22288 PyObject
*swig_obj
[1] ;
22290 if (!args
) SWIG_fail
;
22291 swig_obj
[0] = args
;
22292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22293 if (!SWIG_IsOK(res1
)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22296 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_From_int(static_cast< int >(result
));
22310 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22311 PyObject
*resultobj
= 0;
22312 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22316 PyObject
*swig_obj
[1] ;
22318 if (!args
) SWIG_fail
;
22319 swig_obj
[0] = args
;
22320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22321 if (!SWIG_IsOK(res1
)) {
22322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22324 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_From_int(static_cast< int >(result
));
22338 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22339 PyObject
*resultobj
= 0;
22340 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22346 PyObject
*swig_obj
[2] ;
22348 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
22349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22353 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22354 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22355 if (!SWIG_IsOK(ecode2
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
22358 arg2
= static_cast< int >(val2
);
22359 if (arg1
) (arg1
)->m_x
= arg2
;
22361 resultobj
= SWIG_Py_Void();
22368 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22369 PyObject
*resultobj
= 0;
22370 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22374 PyObject
*swig_obj
[1] ;
22376 if (!args
) SWIG_fail
;
22377 swig_obj
[0] = args
;
22378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22379 if (!SWIG_IsOK(res1
)) {
22380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22382 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22383 result
= (int) ((arg1
)->m_x
);
22384 resultobj
= SWIG_From_int(static_cast< int >(result
));
22391 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22392 PyObject
*resultobj
= 0;
22393 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22399 PyObject
*swig_obj
[2] ;
22401 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
22402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22403 if (!SWIG_IsOK(res1
)) {
22404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22406 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22407 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22408 if (!SWIG_IsOK(ecode2
)) {
22409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
22411 arg2
= static_cast< int >(val2
);
22412 if (arg1
) (arg1
)->m_y
= arg2
;
22414 resultobj
= SWIG_Py_Void();
22421 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22422 PyObject
*resultobj
= 0;
22423 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22427 PyObject
*swig_obj
[1] ;
22429 if (!args
) SWIG_fail
;
22430 swig_obj
[0] = args
;
22431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22432 if (!SWIG_IsOK(res1
)) {
22433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22435 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22436 result
= (int) ((arg1
)->m_y
);
22437 resultobj
= SWIG_From_int(static_cast< int >(result
));
22444 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 PyObject
*resultobj
= 0;
22446 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22452 PyObject
*swig_obj
[2] ;
22454 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
22455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22456 if (!SWIG_IsOK(res1
)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22459 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22460 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
22461 if (!SWIG_IsOK(ecode2
)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
22464 arg2
= static_cast< long >(val2
);
22465 if (arg1
) (arg1
)->m_keyCode
= arg2
;
22467 resultobj
= SWIG_Py_Void();
22474 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 PyObject
*resultobj
= 0;
22476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22480 PyObject
*swig_obj
[1] ;
22482 if (!args
) SWIG_fail
;
22483 swig_obj
[0] = args
;
22484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22485 if (!SWIG_IsOK(res1
)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22488 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22489 result
= (long) ((arg1
)->m_keyCode
);
22490 resultobj
= SWIG_From_long(static_cast< long >(result
));
22497 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22498 PyObject
*resultobj
= 0;
22499 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22505 PyObject
*swig_obj
[2] ;
22507 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
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_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22512 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22513 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22514 if (!SWIG_IsOK(ecode2
)) {
22515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
22517 arg2
= static_cast< bool >(val2
);
22518 if (arg1
) (arg1
)->m_controlDown
= arg2
;
22520 resultobj
= SWIG_Py_Void();
22527 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 PyObject
*resultobj
= 0;
22529 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22533 PyObject
*swig_obj
[1] ;
22535 if (!args
) SWIG_fail
;
22536 swig_obj
[0] = args
;
22537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22541 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22542 result
= (bool) ((arg1
)->m_controlDown
);
22544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22552 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22553 PyObject
*resultobj
= 0;
22554 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22560 PyObject
*swig_obj
[2] ;
22562 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
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_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22567 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22568 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22569 if (!SWIG_IsOK(ecode2
)) {
22570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
22572 arg2
= static_cast< bool >(val2
);
22573 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
22575 resultobj
= SWIG_Py_Void();
22582 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22583 PyObject
*resultobj
= 0;
22584 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22588 PyObject
*swig_obj
[1] ;
22590 if (!args
) SWIG_fail
;
22591 swig_obj
[0] = args
;
22592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22593 if (!SWIG_IsOK(res1
)) {
22594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22596 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22597 result
= (bool) ((arg1
)->m_shiftDown
);
22599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22607 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22608 PyObject
*resultobj
= 0;
22609 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22615 PyObject
*swig_obj
[2] ;
22617 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
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_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22622 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22623 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22624 if (!SWIG_IsOK(ecode2
)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
22627 arg2
= static_cast< bool >(val2
);
22628 if (arg1
) (arg1
)->m_altDown
= arg2
;
22630 resultobj
= SWIG_Py_Void();
22637 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22638 PyObject
*resultobj
= 0;
22639 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22643 PyObject
*swig_obj
[1] ;
22645 if (!args
) SWIG_fail
;
22646 swig_obj
[0] = args
;
22647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22648 if (!SWIG_IsOK(res1
)) {
22649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22651 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22652 result
= (bool) ((arg1
)->m_altDown
);
22654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22662 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22663 PyObject
*resultobj
= 0;
22664 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22670 PyObject
*swig_obj
[2] ;
22672 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
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_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22677 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22678 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22679 if (!SWIG_IsOK(ecode2
)) {
22680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
22682 arg2
= static_cast< bool >(val2
);
22683 if (arg1
) (arg1
)->m_metaDown
= arg2
;
22685 resultobj
= SWIG_Py_Void();
22692 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22693 PyObject
*resultobj
= 0;
22694 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22698 PyObject
*swig_obj
[1] ;
22700 if (!args
) SWIG_fail
;
22701 swig_obj
[0] = args
;
22702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22703 if (!SWIG_IsOK(res1
)) {
22704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22706 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22707 result
= (bool) ((arg1
)->m_metaDown
);
22709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22717 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22718 PyObject
*resultobj
= 0;
22719 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22725 PyObject
*swig_obj
[2] ;
22727 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
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_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22732 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22733 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22734 if (!SWIG_IsOK(ecode2
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
22737 arg2
= static_cast< bool >(val2
);
22738 if (arg1
) (arg1
)->m_scanCode
= arg2
;
22740 resultobj
= SWIG_Py_Void();
22747 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22748 PyObject
*resultobj
= 0;
22749 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22753 PyObject
*swig_obj
[1] ;
22755 if (!args
) SWIG_fail
;
22756 swig_obj
[0] = args
;
22757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22758 if (!SWIG_IsOK(res1
)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22761 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22762 result
= (bool) ((arg1
)->m_scanCode
);
22764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22772 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22773 PyObject
*resultobj
= 0;
22774 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22775 unsigned int arg2
;
22778 unsigned int val2
;
22780 PyObject
*swig_obj
[2] ;
22782 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
22783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22784 if (!SWIG_IsOK(res1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22787 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22788 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22789 if (!SWIG_IsOK(ecode2
)) {
22790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
22792 arg2
= static_cast< unsigned int >(val2
);
22793 if (arg1
) (arg1
)->m_rawCode
= arg2
;
22795 resultobj
= SWIG_Py_Void();
22802 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22803 PyObject
*resultobj
= 0;
22804 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22805 unsigned int result
;
22808 PyObject
*swig_obj
[1] ;
22810 if (!args
) SWIG_fail
;
22811 swig_obj
[0] = args
;
22812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22813 if (!SWIG_IsOK(res1
)) {
22814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22816 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22817 result
= (unsigned int) ((arg1
)->m_rawCode
);
22818 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22825 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 PyObject
*resultobj
= 0;
22827 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22828 unsigned int arg2
;
22831 unsigned int val2
;
22833 PyObject
*swig_obj
[2] ;
22835 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
22836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22837 if (!SWIG_IsOK(res1
)) {
22838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22840 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22841 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22842 if (!SWIG_IsOK(ecode2
)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
22845 arg2
= static_cast< unsigned int >(val2
);
22846 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
22848 resultobj
= SWIG_Py_Void();
22855 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22856 PyObject
*resultobj
= 0;
22857 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22858 unsigned int result
;
22861 PyObject
*swig_obj
[1] ;
22863 if (!args
) SWIG_fail
;
22864 swig_obj
[0] = args
;
22865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22866 if (!SWIG_IsOK(res1
)) {
22867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22869 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22870 result
= (unsigned int) ((arg1
)->m_rawFlags
);
22871 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22878 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22881 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
22882 return SWIG_Py_Void();
22885 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22886 return SWIG_Python_InitShadowInstance(args
);
22889 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
= 0;
22891 wxSize
const &arg1_defvalue
= wxDefaultSize
;
22892 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
22893 int arg2
= (int) 0 ;
22894 wxSizeEvent
*result
= 0 ;
22898 PyObject
* obj0
= 0 ;
22899 PyObject
* obj1
= 0 ;
22900 char * kwnames
[] = {
22901 (char *) "sz",(char *) "winid", NULL
22904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22908 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
22912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22913 if (!SWIG_IsOK(ecode2
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
22916 arg2
= static_cast< int >(val2
);
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
22931 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22932 PyObject
*resultobj
= 0;
22933 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22937 PyObject
*swig_obj
[1] ;
22939 if (!args
) SWIG_fail
;
22940 swig_obj
[0] = args
;
22941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22942 if (!SWIG_IsOK(res1
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22945 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22959 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22960 PyObject
*resultobj
= 0;
22961 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22965 PyObject
*swig_obj
[1] ;
22967 if (!args
) SWIG_fail
;
22968 swig_obj
[0] = args
;
22969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22973 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
22987 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
= 0;
22989 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 char * kwnames
[] = {
22998 (char *) "self",(char *) "rect", NULL
23001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23003 if (!SWIG_IsOK(res1
)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23006 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
23009 if (!SWIG_IsOK(res2
)) {
23010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
23013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
23015 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
23017 if (SWIG_IsNewObj(res2
)) delete temp
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 (arg1
)->SetRect(arg2
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_Py_Void();
23033 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
= 0;
23035 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 PyObject
* obj1
= 0 ;
23043 char * kwnames
[] = {
23044 (char *) "self",(char *) "size", NULL
23047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23049 if (!SWIG_IsOK(res1
)) {
23050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23052 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
23055 if (!SWIG_IsOK(res2
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23061 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
23063 if (SWIG_IsNewObj(res2
)) delete temp
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 wxSizeEvent_SetSize(arg1
,arg2
);
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_Py_Void();
23079 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 PyObject
*resultobj
= 0;
23081 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23082 wxSize
*arg2
= (wxSize
*) 0 ;
23087 PyObject
*swig_obj
[2] ;
23089 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
23090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23091 if (!SWIG_IsOK(res1
)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23094 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23095 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
23096 if (!SWIG_IsOK(res2
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
23099 arg2
= reinterpret_cast< wxSize
* >(argp2
);
23100 if (arg1
) (arg1
)->m_size
= *arg2
;
23102 resultobj
= SWIG_Py_Void();
23109 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 PyObject
*resultobj
= 0;
23111 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23112 wxSize
*result
= 0 ;
23115 PyObject
*swig_obj
[1] ;
23117 if (!args
) SWIG_fail
;
23118 swig_obj
[0] = args
;
23119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23123 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23124 result
= (wxSize
*)& ((arg1
)->m_size
);
23125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23132 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23133 PyObject
*resultobj
= 0;
23134 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23135 wxRect
*arg2
= (wxRect
*) 0 ;
23140 PyObject
*swig_obj
[2] ;
23142 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
23143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23144 if (!SWIG_IsOK(res1
)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23147 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23148 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23149 if (!SWIG_IsOK(res2
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
23152 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23153 if (arg1
) (arg1
)->m_rect
= *arg2
;
23155 resultobj
= SWIG_Py_Void();
23162 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23163 PyObject
*resultobj
= 0;
23164 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23165 wxRect
*result
= 0 ;
23168 PyObject
*swig_obj
[1] ;
23170 if (!args
) SWIG_fail
;
23171 swig_obj
[0] = args
;
23172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23176 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23177 result
= (wxRect
*)& ((arg1
)->m_rect
);
23178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
23185 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23188 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
23189 return SWIG_Py_Void();
23192 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23193 return SWIG_Python_InitShadowInstance(args
);
23196 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
= 0;
23198 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
23199 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
23200 int arg2
= (int) 0 ;
23201 wxMoveEvent
*result
= 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 char * kwnames
[] = {
23208 (char *) "pos",(char *) "winid", NULL
23211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23215 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
23219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23220 if (!SWIG_IsOK(ecode2
)) {
23221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
23223 arg2
= static_cast< int >(val2
);
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
23238 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23239 PyObject
*resultobj
= 0;
23240 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23244 PyObject
*swig_obj
[1] ;
23246 if (!args
) SWIG_fail
;
23247 swig_obj
[0] = args
;
23248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23249 if (!SWIG_IsOK(res1
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23252 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23266 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23267 PyObject
*resultobj
= 0;
23268 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23272 PyObject
*swig_obj
[1] ;
23274 if (!args
) SWIG_fail
;
23275 swig_obj
[0] = args
;
23276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23277 if (!SWIG_IsOK(res1
)) {
23278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23280 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23294 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
= 0;
23296 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char * kwnames
[] = {
23304 (char *) "self",(char *) "rect", NULL
23307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23309 if (!SWIG_IsOK(res1
)) {
23310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23312 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23315 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 (arg1
)->SetRect((wxRect
const &)*arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_Py_Void();
23330 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
= 0;
23332 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23333 wxPoint
*arg2
= 0 ;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 char * kwnames
[] = {
23340 (char *) "self",(char *) "pos", NULL
23343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23345 if (!SWIG_IsOK(res1
)) {
23346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23348 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_Py_Void();
23366 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23369 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
23370 return SWIG_Py_Void();
23373 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23374 return SWIG_Python_InitShadowInstance(args
);
23377 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= 0;
23379 int arg1
= (int) 0 ;
23380 wxPaintEvent
*result
= 0 ;
23383 PyObject
* obj0
= 0 ;
23384 char * kwnames
[] = {
23385 (char *) "Id", NULL
23388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23390 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23391 if (!SWIG_IsOK(ecode1
)) {
23392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
23394 arg1
= static_cast< int >(val1
);
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
23409 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23412 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
23413 return SWIG_Py_Void();
23416 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23417 return SWIG_Python_InitShadowInstance(args
);
23420 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
= 0;
23422 int arg1
= (int) 0 ;
23423 wxNcPaintEvent
*result
= 0 ;
23426 PyObject
* obj0
= 0 ;
23427 char * kwnames
[] = {
23428 (char *) "winid", NULL
23431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23434 if (!SWIG_IsOK(ecode1
)) {
23435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
23437 arg1
= static_cast< int >(val1
);
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
23452 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23455 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
23456 return SWIG_Py_Void();
23459 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23460 return SWIG_Python_InitShadowInstance(args
);
23463 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
= 0;
23465 int arg1
= (int) 0 ;
23466 wxDC
*arg2
= (wxDC
*) NULL
;
23467 wxEraseEvent
*result
= 0 ;
23472 PyObject
* obj0
= 0 ;
23473 PyObject
* obj1
= 0 ;
23474 char * kwnames
[] = {
23475 (char *) "Id",(char *) "dc", NULL
23478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",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_EraseEvent" "', expected argument " "1"" of type '" "int""'");
23484 arg1
= static_cast< int >(val1
);
23487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23488 if (!SWIG_IsOK(res2
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
23491 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
23506 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23507 PyObject
*resultobj
= 0;
23508 wxEraseEvent
*arg1
= (wxEraseEvent
*) 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_wxEraseEvent
, 0 | 0 );
23517 if (!SWIG_IsOK(res1
)) {
23518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
23520 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23536 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23539 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
23540 return SWIG_Py_Void();
23543 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23544 return SWIG_Python_InitShadowInstance(args
);
23547 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
= 0;
23549 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23550 int arg2
= (int) 0 ;
23551 wxFocusEvent
*result
= 0 ;
23556 PyObject
* obj0
= 0 ;
23557 PyObject
* obj1
= 0 ;
23558 char * kwnames
[] = {
23559 (char *) "type",(char *) "winid", NULL
23562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23564 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23565 if (!SWIG_IsOK(ecode1
)) {
23566 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23568 arg1
= static_cast< wxEventType
>(val1
);
23571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23572 if (!SWIG_IsOK(ecode2
)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
23575 arg2
= static_cast< int >(val2
);
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
23590 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23591 PyObject
*resultobj
= 0;
23592 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23593 wxWindow
*result
= 0 ;
23596 PyObject
*swig_obj
[1] ;
23598 if (!args
) SWIG_fail
;
23599 swig_obj
[0] = args
;
23600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23601 if (!SWIG_IsOK(res1
)) {
23602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
23604 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23620 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
= 0;
23622 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23623 wxWindow
*arg2
= (wxWindow
*) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char * kwnames
[] = {
23631 (char *) "self",(char *) "win", NULL
23634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
23639 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23641 if (!SWIG_IsOK(res2
)) {
23642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
23644 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 (arg1
)->SetWindow(arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_Py_Void();
23658 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23661 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
23662 return SWIG_Py_Void();
23665 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23666 return SWIG_Python_InitShadowInstance(args
);
23669 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
= 0;
23671 wxWindow
*arg1
= (wxWindow
*) NULL
;
23672 wxChildFocusEvent
*result
= 0 ;
23675 PyObject
* obj0
= 0 ;
23676 char * kwnames
[] = {
23677 (char *) "win", NULL
23680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
23682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
23686 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
23701 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23702 PyObject
*resultobj
= 0;
23703 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
23704 wxWindow
*result
= 0 ;
23707 PyObject
*swig_obj
[1] ;
23709 if (!args
) SWIG_fail
;
23710 swig_obj
[0] = args
;
23711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
23715 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23731 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23734 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
23735 return SWIG_Py_Void();
23738 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23739 return SWIG_Python_InitShadowInstance(args
);
23742 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
= 0;
23744 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23745 bool arg2
= (bool) true ;
23746 int arg3
= (int) 0 ;
23747 wxActivateEvent
*result
= 0 ;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 PyObject
* obj2
= 0 ;
23757 char * kwnames
[] = {
23758 (char *) "type",(char *) "active",(char *) "Id", NULL
23761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23764 if (!SWIG_IsOK(ecode1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23767 arg1
= static_cast< wxEventType
>(val1
);
23770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23771 if (!SWIG_IsOK(ecode2
)) {
23772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
23774 arg2
= static_cast< bool >(val2
);
23777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23778 if (!SWIG_IsOK(ecode3
)) {
23779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
23781 arg3
= static_cast< int >(val3
);
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
23796 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23797 PyObject
*resultobj
= 0;
23798 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
23802 PyObject
*swig_obj
[1] ;
23804 if (!args
) SWIG_fail
;
23805 swig_obj
[0] = args
;
23806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
23807 if (!SWIG_IsOK(res1
)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
23810 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23826 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23829 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
23830 return SWIG_Py_Void();
23833 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23834 return SWIG_Python_InitShadowInstance(args
);
23837 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
= 0;
23839 int arg1
= (int) 0 ;
23840 wxInitDialogEvent
*result
= 0 ;
23843 PyObject
* obj0
= 0 ;
23844 char * kwnames
[] = {
23845 (char *) "Id", NULL
23848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
23850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23851 if (!SWIG_IsOK(ecode1
)) {
23852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
23854 arg1
= static_cast< int >(val1
);
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
23869 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23872 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
23873 return SWIG_Py_Void();
23876 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23877 return SWIG_Python_InitShadowInstance(args
);
23880 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
= 0;
23882 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23883 int arg2
= (int) 0 ;
23884 wxMenu
*arg3
= (wxMenu
*) NULL
;
23885 wxMenuEvent
*result
= 0 ;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 PyObject
* obj2
= 0 ;
23895 char * kwnames
[] = {
23896 (char *) "type",(char *) "winid",(char *) "menu", NULL
23899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23902 if (!SWIG_IsOK(ecode1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23905 arg1
= static_cast< wxEventType
>(val1
);
23908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23909 if (!SWIG_IsOK(ecode2
)) {
23910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
23912 arg2
= static_cast< int >(val2
);
23915 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
23916 if (!SWIG_IsOK(res3
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
23919 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
23934 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23935 PyObject
*resultobj
= 0;
23936 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23940 PyObject
*swig_obj
[1] ;
23942 if (!args
) SWIG_fail
;
23943 swig_obj
[0] = args
;
23944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23945 if (!SWIG_IsOK(res1
)) {
23946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23948 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= SWIG_From_int(static_cast< int >(result
));
23962 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23963 PyObject
*resultobj
= 0;
23964 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23968 PyObject
*swig_obj
[1] ;
23970 if (!args
) SWIG_fail
;
23971 swig_obj
[0] = args
;
23972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23973 if (!SWIG_IsOK(res1
)) {
23974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23976 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23992 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23993 PyObject
*resultobj
= 0;
23994 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23995 wxMenu
*result
= 0 ;
23998 PyObject
*swig_obj
[1] ;
24000 if (!args
) SWIG_fail
;
24001 swig_obj
[0] = args
;
24002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24006 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24022 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24025 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
24026 return SWIG_Py_Void();
24029 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24030 return SWIG_Python_InitShadowInstance(args
);
24033 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24034 PyObject
*resultobj
= 0;
24035 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24036 int arg2
= (int) 0 ;
24037 wxCloseEvent
*result
= 0 ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 char * kwnames
[] = {
24045 (char *) "type",(char *) "winid", NULL
24048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24051 if (!SWIG_IsOK(ecode1
)) {
24052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24054 arg1
= static_cast< wxEventType
>(val1
);
24057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24058 if (!SWIG_IsOK(ecode2
)) {
24059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
24061 arg2
= static_cast< int >(val2
);
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
24076 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
= 0;
24078 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24084 PyObject
* obj0
= 0 ;
24085 PyObject
* obj1
= 0 ;
24086 char * kwnames
[] = {
24087 (char *) "self",(char *) "logOff", NULL
24090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24092 if (!SWIG_IsOK(res1
)) {
24093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24095 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24096 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24097 if (!SWIG_IsOK(ecode2
)) {
24098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
24100 arg2
= static_cast< bool >(val2
);
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 (arg1
)->SetLoggingOff(arg2
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= SWIG_Py_Void();
24114 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24115 PyObject
*resultobj
= 0;
24116 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24120 PyObject
*swig_obj
[1] ;
24122 if (!args
) SWIG_fail
;
24123 swig_obj
[0] = args
;
24124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24125 if (!SWIG_IsOK(res1
)) {
24126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24128 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24144 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
= 0;
24146 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24147 bool arg2
= (bool) true ;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 char * kwnames
[] = {
24155 (char *) "self",(char *) "veto", NULL
24158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24160 if (!SWIG_IsOK(res1
)) {
24161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24163 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24165 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24166 if (!SWIG_IsOK(ecode2
)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
24169 arg2
= static_cast< bool >(val2
);
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 (arg1
)->Veto(arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_Py_Void();
24184 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24185 PyObject
*resultobj
= 0;
24186 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24190 PyObject
*swig_obj
[1] ;
24192 if (!args
) SWIG_fail
;
24193 swig_obj
[0] = args
;
24194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24195 if (!SWIG_IsOK(res1
)) {
24196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24198 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24214 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
= 0;
24216 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 char * kwnames
[] = {
24225 (char *) "self",(char *) "canVeto", NULL
24228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24230 if (!SWIG_IsOK(res1
)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24233 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24234 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24235 if (!SWIG_IsOK(ecode2
)) {
24236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
24238 arg2
= static_cast< bool >(val2
);
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 (arg1
)->SetCanVeto(arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_Py_Void();
24252 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24253 PyObject
*resultobj
= 0;
24254 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24258 PyObject
*swig_obj
[1] ;
24260 if (!args
) SWIG_fail
;
24261 swig_obj
[0] = args
;
24262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24263 if (!SWIG_IsOK(res1
)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24266 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24282 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24285 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
24286 return SWIG_Py_Void();
24289 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24290 return SWIG_Python_InitShadowInstance(args
);
24293 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
= 0;
24295 int arg1
= (int) 0 ;
24296 bool arg2
= (bool) false ;
24297 wxShowEvent
*result
= 0 ;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24304 char * kwnames
[] = {
24305 (char *) "winid",(char *) "show", NULL
24308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24311 if (!SWIG_IsOK(ecode1
)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
24314 arg1
= static_cast< int >(val1
);
24317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24318 if (!SWIG_IsOK(ecode2
)) {
24319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
24321 arg2
= static_cast< bool >(val2
);
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
24336 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
= 0;
24338 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "show", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
24355 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24356 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24357 if (!SWIG_IsOK(ecode2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
24360 arg2
= static_cast< bool >(val2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 (arg1
)->SetShow(arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_Py_Void();
24374 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24375 PyObject
*resultobj
= 0;
24376 wxShowEvent
*arg1
= (wxShowEvent
*) 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_wxShowEvent
, 0 | 0 );
24385 if (!SWIG_IsOK(res1
)) {
24386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
24388 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24404 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24407 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
24408 return SWIG_Py_Void();
24411 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24412 return SWIG_Python_InitShadowInstance(args
);
24415 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
= 0;
24417 int arg1
= (int) 0 ;
24418 bool arg2
= (bool) true ;
24419 wxIconizeEvent
*result
= 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char * kwnames
[] = {
24427 (char *) "id",(char *) "iconized", NULL
24430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24433 if (!SWIG_IsOK(ecode1
)) {
24434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
24436 arg1
= static_cast< int >(val1
);
24439 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24440 if (!SWIG_IsOK(ecode2
)) {
24441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
24443 arg2
= static_cast< bool >(val2
);
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
24458 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24459 PyObject
*resultobj
= 0;
24460 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 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_wxIconizeEvent
, 0 | 0 );
24469 if (!SWIG_IsOK(res1
)) {
24470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
24472 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= (bool)(arg1
)->Iconized();
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24488 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24491 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
24492 return SWIG_Py_Void();
24495 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24496 return SWIG_Python_InitShadowInstance(args
);
24499 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
= 0;
24501 int arg1
= (int) 0 ;
24502 wxMaximizeEvent
*result
= 0 ;
24505 PyObject
* obj0
= 0 ;
24506 char * kwnames
[] = {
24507 (char *) "id", NULL
24510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
24512 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24513 if (!SWIG_IsOK(ecode1
)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
24516 arg1
= static_cast< int >(val1
);
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
24531 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24534 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
24535 return SWIG_Py_Void();
24538 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24539 return SWIG_Python_InitShadowInstance(args
);
24542 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24543 PyObject
*resultobj
= 0;
24544 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24548 PyObject
*swig_obj
[1] ;
24550 if (!args
) SWIG_fail
;
24551 swig_obj
[0] = args
;
24552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24553 if (!SWIG_IsOK(res1
)) {
24554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24556 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (arg1
)->GetPosition();
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24570 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24571 PyObject
*resultobj
= 0;
24572 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24576 PyObject
*swig_obj
[1] ;
24578 if (!args
) SWIG_fail
;
24579 swig_obj
[0] = args
;
24580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24581 if (!SWIG_IsOK(res1
)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24584 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (int)(arg1
)->GetNumberOfFiles();
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= SWIG_From_int(static_cast< int >(result
));
24598 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24599 PyObject
*resultobj
= 0;
24600 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24601 PyObject
*result
= 0 ;
24604 PyObject
*swig_obj
[1] ;
24606 if (!args
) SWIG_fail
;
24607 swig_obj
[0] = args
;
24608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24612 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= result
;
24626 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24629 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
24630 return SWIG_Py_Void();
24633 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
= 0;
24635 int arg1
= (int) 0 ;
24636 wxUpdateUIEvent
*result
= 0 ;
24639 PyObject
* obj0
= 0 ;
24640 char * kwnames
[] = {
24641 (char *) "commandId", NULL
24644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
24646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24647 if (!SWIG_IsOK(ecode1
)) {
24648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
24650 arg1
= static_cast< int >(val1
);
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
24665 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24666 PyObject
*resultobj
= 0;
24667 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24671 PyObject
*swig_obj
[1] ;
24673 if (!args
) SWIG_fail
;
24674 swig_obj
[0] = args
;
24675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24676 if (!SWIG_IsOK(res1
)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24679 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24695 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24696 PyObject
*resultobj
= 0;
24697 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24701 PyObject
*swig_obj
[1] ;
24703 if (!args
) SWIG_fail
;
24704 swig_obj
[0] = args
;
24705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24706 if (!SWIG_IsOK(res1
)) {
24707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24709 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24725 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24726 PyObject
*resultobj
= 0;
24727 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24731 PyObject
*swig_obj
[1] ;
24733 if (!args
) SWIG_fail
;
24734 swig_obj
[0] = args
;
24735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24736 if (!SWIG_IsOK(res1
)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24739 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24755 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24756 PyObject
*resultobj
= 0;
24757 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24761 PyObject
*swig_obj
[1] ;
24763 if (!args
) SWIG_fail
;
24764 swig_obj
[0] = args
;
24765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24766 if (!SWIG_IsOK(res1
)) {
24767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24769 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24789 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24790 PyObject
*resultobj
= 0;
24791 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24795 PyObject
*swig_obj
[1] ;
24797 if (!args
) SWIG_fail
;
24798 swig_obj
[0] = args
;
24799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24800 if (!SWIG_IsOK(res1
)) {
24801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24803 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24819 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24820 PyObject
*resultobj
= 0;
24821 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24825 PyObject
*swig_obj
[1] ;
24827 if (!args
) SWIG_fail
;
24828 swig_obj
[0] = args
;
24829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24833 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24849 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24850 PyObject
*resultobj
= 0;
24851 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24855 PyObject
*swig_obj
[1] ;
24857 if (!args
) SWIG_fail
;
24858 swig_obj
[0] = args
;
24859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24860 if (!SWIG_IsOK(res1
)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24863 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24879 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24880 PyObject
*resultobj
= 0;
24881 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24885 PyObject
*swig_obj
[1] ;
24887 if (!args
) SWIG_fail
;
24888 swig_obj
[0] = args
;
24889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24890 if (!SWIG_IsOK(res1
)) {
24891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24893 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24909 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
= 0;
24911 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char * kwnames
[] = {
24920 (char *) "self",(char *) "check", NULL
24923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24925 if (!SWIG_IsOK(res1
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24928 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24929 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24930 if (!SWIG_IsOK(ecode2
)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
24933 arg2
= static_cast< bool >(val2
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 (arg1
)->Check(arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_Py_Void();
24947 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24949 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 char * kwnames
[] = {
24958 (char *) "self",(char *) "enable", NULL
24961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24963 if (!SWIG_IsOK(res1
)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24966 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24967 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24968 if (!SWIG_IsOK(ecode2
)) {
24969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
24971 arg2
= static_cast< bool >(val2
);
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 (arg1
)->Enable(arg2
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_Py_Void();
24985 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
= 0;
24987 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 char * kwnames
[] = {
24996 (char *) "self",(char *) "show", NULL
24999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25004 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25005 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25006 if (!SWIG_IsOK(ecode2
)) {
25007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
25009 arg2
= static_cast< bool >(val2
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->Show(arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_Py_Void();
25023 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25026 wxString
*arg2
= 0 ;
25029 bool temp2
= false ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 char * kwnames
[] = {
25033 (char *) "self",(char *) "text", NULL
25036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25041 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25043 arg2
= wxString_in_helper(obj1
);
25044 if (arg2
== NULL
) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->SetText((wxString
const &)*arg2
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= SWIG_Py_Void();
25068 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25073 PyObject
* obj0
= 0 ;
25074 char * kwnames
[] = {
25075 (char *) "updateInterval", NULL
25078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
25079 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
25080 if (!SWIG_IsOK(ecode1
)) {
25081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
25083 arg1
= static_cast< long >(val1
);
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 wxUpdateUIEvent::SetUpdateInterval(arg1
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_Py_Void();
25097 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25098 PyObject
*resultobj
= 0;
25101 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_From_long(static_cast< long >(result
));
25115 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
= 0;
25117 wxWindow
*arg1
= (wxWindow
*) 0 ;
25121 PyObject
* obj0
= 0 ;
25122 char * kwnames
[] = {
25123 (char *) "win", NULL
25126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
25127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25128 if (!SWIG_IsOK(res1
)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
25131 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25147 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25148 PyObject
*resultobj
= 0;
25150 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 wxUpdateUIEvent::ResetUpdateTime();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_Py_Void();
25164 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
= 0;
25166 wxUpdateUIMode arg1
;
25169 PyObject
* obj0
= 0 ;
25170 char * kwnames
[] = {
25171 (char *) "mode", NULL
25174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
25175 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25176 if (!SWIG_IsOK(ecode1
)) {
25177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
25179 arg1
= static_cast< wxUpdateUIMode
>(val1
);
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 wxUpdateUIEvent::SetMode(arg1
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_Py_Void();
25193 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25194 PyObject
*resultobj
= 0;
25195 wxUpdateUIMode result
;
25197 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= SWIG_From_int(static_cast< int >(result
));
25211 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25214 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
25215 return SWIG_Py_Void();
25218 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25219 return SWIG_Python_InitShadowInstance(args
);
25222 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25223 PyObject
*resultobj
= 0;
25224 wxSysColourChangedEvent
*result
= 0 ;
25226 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
25240 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25243 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
25244 return SWIG_Py_Void();
25247 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25248 return SWIG_Python_InitShadowInstance(args
);
25251 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
= 0;
25253 int arg1
= (int) 0 ;
25254 wxWindow
*arg2
= (wxWindow
*) NULL
;
25255 wxMouseCaptureChangedEvent
*result
= 0 ;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char * kwnames
[] = {
25263 (char *) "winid",(char *) "gainedCapture", NULL
25266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25268 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25269 if (!SWIG_IsOK(ecode1
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
25272 arg1
= static_cast< int >(val1
);
25275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25276 if (!SWIG_IsOK(res2
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
25279 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
25294 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25295 PyObject
*resultobj
= 0;
25296 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
25297 wxWindow
*result
= 0 ;
25300 PyObject
*swig_obj
[1] ;
25302 if (!args
) SWIG_fail
;
25303 swig_obj
[0] = args
;
25304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
25308 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25324 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25327 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
25328 return SWIG_Py_Void();
25331 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25332 return SWIG_Python_InitShadowInstance(args
);
25335 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25336 PyObject
*resultobj
= 0;
25337 wxDisplayChangedEvent
*result
= 0 ;
25339 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
25353 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25356 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
25357 return SWIG_Py_Void();
25360 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25361 return SWIG_Python_InitShadowInstance(args
);
25364 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
= 0;
25366 int arg1
= (int) 0 ;
25367 wxPaletteChangedEvent
*result
= 0 ;
25370 PyObject
* obj0
= 0 ;
25371 char * kwnames
[] = {
25372 (char *) "id", NULL
25375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
25377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25378 if (!SWIG_IsOK(ecode1
)) {
25379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
25381 arg1
= static_cast< int >(val1
);
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
25396 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
= 0;
25398 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25399 wxWindow
*arg2
= (wxWindow
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "self",(char *) "win", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25412 if (!SWIG_IsOK(res1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25415 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25417 if (!SWIG_IsOK(res2
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
25420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 (arg1
)->SetChangedWindow(arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_Py_Void();
25434 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25435 PyObject
*resultobj
= 0;
25436 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25437 wxWindow
*result
= 0 ;
25440 PyObject
*swig_obj
[1] ;
25442 if (!args
) SWIG_fail
;
25443 swig_obj
[0] = args
;
25444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25448 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25464 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25467 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
25468 return SWIG_Py_Void();
25471 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25472 return SWIG_Python_InitShadowInstance(args
);
25475 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25477 int arg1
= (int) 0 ;
25478 wxQueryNewPaletteEvent
*result
= 0 ;
25481 PyObject
* obj0
= 0 ;
25482 char * kwnames
[] = {
25483 (char *) "winid", NULL
25486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
25488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25489 if (!SWIG_IsOK(ecode1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
25492 arg1
= static_cast< int >(val1
);
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
25507 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
= 0;
25509 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 PyObject
* obj1
= 0 ;
25517 char * kwnames
[] = {
25518 (char *) "self",(char *) "realized", NULL
25521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25523 if (!SWIG_IsOK(res1
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
25526 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25527 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25528 if (!SWIG_IsOK(ecode2
)) {
25529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
25531 arg2
= static_cast< bool >(val2
);
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 (arg1
)->SetPaletteRealized(arg2
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= SWIG_Py_Void();
25545 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25546 PyObject
*resultobj
= 0;
25547 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25551 PyObject
*swig_obj
[1] ;
25553 if (!args
) SWIG_fail
;
25554 swig_obj
[0] = args
;
25555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25556 if (!SWIG_IsOK(res1
)) {
25557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
25559 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25575 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25578 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
25579 return SWIG_Py_Void();
25582 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25583 return SWIG_Python_InitShadowInstance(args
);
25586 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25587 PyObject
*resultobj
= 0;
25588 wxNavigationKeyEvent
*result
= 0 ;
25590 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
25604 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25605 PyObject
*resultobj
= 0;
25606 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25610 PyObject
*swig_obj
[1] ;
25612 if (!args
) SWIG_fail
;
25613 swig_obj
[0] = args
;
25614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25615 if (!SWIG_IsOK(res1
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25618 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25634 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
= 0;
25636 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char * kwnames
[] = {
25645 (char *) "self",(char *) "forward", NULL
25648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25653 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25654 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25655 if (!SWIG_IsOK(ecode2
)) {
25656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
25658 arg2
= static_cast< bool >(val2
);
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 (arg1
)->SetDirection(arg2
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_Py_Void();
25672 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25673 PyObject
*resultobj
= 0;
25674 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25678 PyObject
*swig_obj
[1] ;
25680 if (!args
) SWIG_fail
;
25681 swig_obj
[0] = args
;
25682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25683 if (!SWIG_IsOK(res1
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25686 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25702 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
= 0;
25704 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 char * kwnames
[] = {
25713 (char *) "self",(char *) "ischange", NULL
25716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25718 if (!SWIG_IsOK(res1
)) {
25719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25721 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25722 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25723 if (!SWIG_IsOK(ecode2
)) {
25724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
25726 arg2
= static_cast< bool >(val2
);
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 (arg1
)->SetWindowChange(arg2
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_Py_Void();
25740 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25741 PyObject
*resultobj
= 0;
25742 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25746 PyObject
*swig_obj
[1] ;
25748 if (!args
) SWIG_fail
;
25749 swig_obj
[0] = args
;
25750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25754 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25770 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25771 PyObject
*resultobj
= 0;
25772 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 char * kwnames
[] = {
25781 (char *) "self",(char *) "bIs", NULL
25784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25786 if (!SWIG_IsOK(res1
)) {
25787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25789 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25791 if (!SWIG_IsOK(ecode2
)) {
25792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
25794 arg2
= static_cast< bool >(val2
);
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 (arg1
)->SetFromTab(arg2
);
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= SWIG_Py_Void();
25808 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
= 0;
25810 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 char * kwnames
[] = {
25819 (char *) "self",(char *) "flags", NULL
25822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25824 if (!SWIG_IsOK(res1
)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25827 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25829 if (!SWIG_IsOK(ecode2
)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
25832 arg2
= static_cast< long >(val2
);
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 (arg1
)->SetFlags(arg2
);
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= SWIG_Py_Void();
25846 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25847 PyObject
*resultobj
= 0;
25848 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25849 wxWindow
*result
= 0 ;
25852 PyObject
*swig_obj
[1] ;
25854 if (!args
) SWIG_fail
;
25855 swig_obj
[0] = args
;
25856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25857 if (!SWIG_IsOK(res1
)) {
25858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25860 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25876 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
= 0;
25878 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25879 wxWindow
*arg2
= (wxWindow
*) 0 ;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 char * kwnames
[] = {
25887 (char *) "self",(char *) "win", NULL
25890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25892 if (!SWIG_IsOK(res1
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25895 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25897 if (!SWIG_IsOK(res2
)) {
25898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
25900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 (arg1
)->SetCurrentFocus(arg2
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_Py_Void();
25914 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25917 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
25918 return SWIG_Py_Void();
25921 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25922 return SWIG_Python_InitShadowInstance(args
);
25925 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
= 0;
25927 wxWindow
*arg1
= (wxWindow
*) NULL
;
25928 wxWindowCreateEvent
*result
= 0 ;
25931 PyObject
* obj0
= 0 ;
25932 char * kwnames
[] = {
25933 (char *) "win", NULL
25936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
25938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25939 if (!SWIG_IsOK(res1
)) {
25940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25942 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
25957 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25958 PyObject
*resultobj
= 0;
25959 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
25960 wxWindow
*result
= 0 ;
25963 PyObject
*swig_obj
[1] ;
25965 if (!args
) SWIG_fail
;
25966 swig_obj
[0] = args
;
25967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
25968 if (!SWIG_IsOK(res1
)) {
25969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
25971 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25987 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25990 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
25991 return SWIG_Py_Void();
25994 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25995 return SWIG_Python_InitShadowInstance(args
);
25998 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
= 0;
26000 wxWindow
*arg1
= (wxWindow
*) NULL
;
26001 wxWindowDestroyEvent
*result
= 0 ;
26004 PyObject
* obj0
= 0 ;
26005 char * kwnames
[] = {
26006 (char *) "win", NULL
26009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
26011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26012 if (!SWIG_IsOK(res1
)) {
26013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
26030 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26031 PyObject
*resultobj
= 0;
26032 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
26033 wxWindow
*result
= 0 ;
26036 PyObject
*swig_obj
[1] ;
26038 if (!args
) SWIG_fail
;
26039 swig_obj
[0] = args
;
26040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
26041 if (!SWIG_IsOK(res1
)) {
26042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
26044 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26060 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26063 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
26064 return SWIG_Py_Void();
26067 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26068 return SWIG_Python_InitShadowInstance(args
);
26071 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
= 0;
26073 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26074 int arg2
= (int) 0 ;
26075 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26076 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26077 wxContextMenuEvent
*result
= 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 PyObject
* obj2
= 0 ;
26086 char * kwnames
[] = {
26087 (char *) "type",(char *) "winid",(char *) "pt", NULL
26090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26093 if (!SWIG_IsOK(ecode1
)) {
26094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26096 arg1
= static_cast< wxEventType
>(val1
);
26099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26100 if (!SWIG_IsOK(ecode2
)) {
26101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
26103 arg2
= static_cast< int >(val2
);
26108 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
26124 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26125 PyObject
*resultobj
= 0;
26126 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26127 wxPoint
*result
= 0 ;
26130 PyObject
*swig_obj
[1] ;
26132 if (!args
) SWIG_fail
;
26133 swig_obj
[0] = args
;
26134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26135 if (!SWIG_IsOK(res1
)) {
26136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
26138 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
26143 result
= (wxPoint
*) &_result_ref
;
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
26155 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
= 0;
26157 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26158 wxPoint
*arg2
= 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 char * kwnames
[] = {
26165 (char *) "self",(char *) "pos", NULL
26168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26170 if (!SWIG_IsOK(res1
)) {
26171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
26173 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_Py_Void();
26191 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26194 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
26195 return SWIG_Py_Void();
26198 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26199 return SWIG_Python_InitShadowInstance(args
);
26202 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26203 PyObject
*resultobj
= 0;
26204 wxIdleEvent
*result
= 0 ;
26206 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (wxIdleEvent
*)new wxIdleEvent();
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
26220 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
= 0;
26222 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26223 bool arg2
= (bool) true ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char * kwnames
[] = {
26231 (char *) "self",(char *) "needMore", NULL
26234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26236 if (!SWIG_IsOK(res1
)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
26239 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26241 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26242 if (!SWIG_IsOK(ecode2
)) {
26243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
26245 arg2
= static_cast< bool >(val2
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 (arg1
)->RequestMore(arg2
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_Py_Void();
26260 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26261 PyObject
*resultobj
= 0;
26262 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26266 PyObject
*swig_obj
[1] ;
26268 if (!args
) SWIG_fail
;
26269 swig_obj
[0] = args
;
26270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
26274 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26290 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
= 0;
26295 PyObject
* obj0
= 0 ;
26296 char * kwnames
[] = {
26297 (char *) "mode", NULL
26300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
26301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26302 if (!SWIG_IsOK(ecode1
)) {
26303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
26305 arg1
= static_cast< wxIdleMode
>(val1
);
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 wxIdleEvent::SetMode(arg1
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_Py_Void();
26319 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26320 PyObject
*resultobj
= 0;
26323 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 result
= (wxIdleMode
)wxIdleEvent::GetMode();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= SWIG_From_int(static_cast< int >(result
));
26337 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
= 0;
26339 wxWindow
*arg1
= (wxWindow
*) 0 ;
26343 PyObject
* obj0
= 0 ;
26344 char * kwnames
[] = {
26345 (char *) "win", NULL
26348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
26349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26350 if (!SWIG_IsOK(res1
)) {
26351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
26353 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= (bool)wxIdleEvent::CanSend(arg1
);
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26369 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26372 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
26373 return SWIG_Py_Void();
26376 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26377 return SWIG_Python_InitShadowInstance(args
);
26380 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
= 0;
26382 int arg1
= (int) 0 ;
26383 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
26384 wxPyEvent
*result
= 0 ;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 char * kwnames
[] = {
26392 (char *) "winid",(char *) "eventType", NULL
26395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26398 if (!SWIG_IsOK(ecode1
)) {
26399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
26401 arg1
= static_cast< int >(val1
);
26404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26405 if (!SWIG_IsOK(ecode2
)) {
26406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
26408 arg2
= static_cast< wxEventType
>(val2
);
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
26423 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26424 PyObject
*resultobj
= 0;
26425 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26428 PyObject
*swig_obj
[1] ;
26430 if (!args
) SWIG_fail
;
26431 swig_obj
[0] = args
;
26432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
26433 if (!SWIG_IsOK(res1
)) {
26434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26436 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_Py_Void();
26451 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
= 0;
26453 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26454 PyObject
*arg2
= (PyObject
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 char * kwnames
[] = {
26460 (char *) "self",(char *) "self", NULL
26463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26465 if (!SWIG_IsOK(res1
)) {
26466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26468 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 (arg1
)->SetSelf(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_Py_Void();
26483 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26484 PyObject
*resultobj
= 0;
26485 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26486 PyObject
*result
= 0 ;
26489 PyObject
*swig_obj
[1] ;
26491 if (!args
) SWIG_fail
;
26492 swig_obj
[0] = args
;
26493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26494 if (!SWIG_IsOK(res1
)) {
26495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26497 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= (PyObject
*)(arg1
)->GetSelf();
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= result
;
26511 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
26515 return SWIG_Py_Void();
26518 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26519 return SWIG_Python_InitShadowInstance(args
);
26522 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26525 int arg2
= (int) 0 ;
26526 wxPyCommandEvent
*result
= 0 ;
26531 PyObject
* obj0
= 0 ;
26532 PyObject
* obj1
= 0 ;
26533 char * kwnames
[] = {
26534 (char *) "eventType",(char *) "id", NULL
26537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26539 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26540 if (!SWIG_IsOK(ecode1
)) {
26541 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26543 arg1
= static_cast< wxEventType
>(val1
);
26546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26547 if (!SWIG_IsOK(ecode2
)) {
26548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
26550 arg2
= static_cast< int >(val2
);
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
26565 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26566 PyObject
*resultobj
= 0;
26567 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26570 PyObject
*swig_obj
[1] ;
26572 if (!args
) SWIG_fail
;
26573 swig_obj
[0] = args
;
26574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26578 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_Py_Void();
26593 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
= 0;
26595 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26596 PyObject
*arg2
= (PyObject
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 char * kwnames
[] = {
26602 (char *) "self",(char *) "self", NULL
26605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26607 if (!SWIG_IsOK(res1
)) {
26608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26610 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 (arg1
)->SetSelf(arg2
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_Py_Void();
26625 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26626 PyObject
*resultobj
= 0;
26627 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26628 PyObject
*result
= 0 ;
26631 PyObject
*swig_obj
[1] ;
26633 if (!args
) SWIG_fail
;
26634 swig_obj
[0] = args
;
26635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26636 if (!SWIG_IsOK(res1
)) {
26637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26639 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 result
= (PyObject
*)(arg1
)->GetSelf();
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= result
;
26653 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26656 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
26657 return SWIG_Py_Void();
26660 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26661 return SWIG_Python_InitShadowInstance(args
);
26664 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
= 0;
26666 wxWindow
*arg1
= (wxWindow
*) 0 ;
26667 wxDateTime
*arg2
= 0 ;
26669 wxDateEvent
*result
= 0 ;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 PyObject
* obj2
= 0 ;
26679 char * kwnames
[] = {
26680 (char *) "win",(char *) "dt",(char *) "type", NULL
26683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26685 if (!SWIG_IsOK(res1
)) {
26686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26688 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26690 if (!SWIG_IsOK(res2
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26696 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26698 if (!SWIG_IsOK(ecode3
)) {
26699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
26701 arg3
= static_cast< wxEventType
>(val3
);
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
26715 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26716 PyObject
*resultobj
= 0;
26717 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26718 wxDateTime
*result
= 0 ;
26721 PyObject
*swig_obj
[1] ;
26723 if (!args
) SWIG_fail
;
26724 swig_obj
[0] = args
;
26725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26726 if (!SWIG_IsOK(res1
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
26729 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
26734 result
= (wxDateTime
*) &_result_ref
;
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26746 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
= 0;
26748 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26749 wxDateTime
*arg2
= 0 ;
26754 PyObject
* obj0
= 0 ;
26755 PyObject
* obj1
= 0 ;
26756 char * kwnames
[] = {
26757 (char *) "self",(char *) "date", NULL
26760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26762 if (!SWIG_IsOK(res1
)) {
26763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
26765 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26767 if (!SWIG_IsOK(res2
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26773 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= SWIG_Py_Void();
26787 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26790 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
26791 return SWIG_Py_Void();
26794 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26795 return SWIG_Python_InitShadowInstance(args
);
26798 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26799 PyObject
*resultobj
= 0;
26800 wxPyApp
*result
= 0 ;
26802 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (wxPyApp
*)new_wxPyApp();
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
26816 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26817 PyObject
*resultobj
= 0;
26818 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26821 PyObject
*swig_obj
[1] ;
26823 if (!args
) SWIG_fail
;
26824 swig_obj
[0] = args
;
26825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
26826 if (!SWIG_IsOK(res1
)) {
26827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
26829 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= SWIG_Py_Void();
26844 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
= 0;
26846 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26847 PyObject
*arg2
= (PyObject
*) 0 ;
26848 PyObject
*arg3
= (PyObject
*) 0 ;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 PyObject
* obj2
= 0 ;
26857 PyObject
* obj3
= 0 ;
26858 char * kwnames
[] = {
26859 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26864 if (!SWIG_IsOK(res1
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
26867 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26870 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
26871 if (!SWIG_IsOK(ecode4
)) {
26872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
26874 arg4
= static_cast< bool >(val4
);
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= SWIG_Py_Void();
26888 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26889 PyObject
*resultobj
= 0;
26890 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26894 PyObject
*swig_obj
[1] ;
26896 if (!args
) SWIG_fail
;
26897 swig_obj
[0] = args
;
26898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26902 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 result
= ((wxPyApp
const *)arg1
)->GetAppName();
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26922 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
= 0;
26924 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26925 wxString
*arg2
= 0 ;
26928 bool temp2
= false ;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 char * kwnames
[] = {
26932 (char *) "self",(char *) "name", NULL
26935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26937 if (!SWIG_IsOK(res1
)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
26940 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26942 arg2
= wxString_in_helper(obj1
);
26943 if (arg2
== NULL
) SWIG_fail
;
26947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26948 (arg1
)->SetAppName((wxString
const &)*arg2
);
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_Py_Void();
26967 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26968 PyObject
*resultobj
= 0;
26969 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26973 PyObject
*swig_obj
[1] ;
26975 if (!args
) SWIG_fail
;
26976 swig_obj
[0] = args
;
26977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26978 if (!SWIG_IsOK(res1
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26981 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 result
= ((wxPyApp
const *)arg1
)->GetClassName();
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27001 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
= 0;
27003 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27004 wxString
*arg2
= 0 ;
27007 bool temp2
= false ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 char * kwnames
[] = {
27011 (char *) "self",(char *) "name", NULL
27014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27019 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27021 arg2
= wxString_in_helper(obj1
);
27022 if (arg2
== NULL
) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 (arg1
)->SetClassName((wxString
const &)*arg2
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= SWIG_Py_Void();
27046 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27047 PyObject
*resultobj
= 0;
27048 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27049 wxString
*result
= 0 ;
27052 PyObject
*swig_obj
[1] ;
27054 if (!args
) SWIG_fail
;
27055 swig_obj
[0] = args
;
27056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27057 if (!SWIG_IsOK(res1
)) {
27058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27060 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
27065 result
= (wxString
*) &_result_ref
;
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27083 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
= 0;
27085 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27086 wxString
*arg2
= 0 ;
27089 bool temp2
= false ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 char * kwnames
[] = {
27093 (char *) "self",(char *) "name", NULL
27096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27098 if (!SWIG_IsOK(res1
)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27101 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27103 arg2
= wxString_in_helper(obj1
);
27104 if (arg2
== NULL
) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 (arg1
)->SetVendorName((wxString
const &)*arg2
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_Py_Void();
27128 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27129 PyObject
*resultobj
= 0;
27130 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27131 wxAppTraits
*result
= 0 ;
27134 PyObject
*swig_obj
[1] ;
27136 if (!args
) SWIG_fail
;
27137 swig_obj
[0] = args
;
27138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27139 if (!SWIG_IsOK(res1
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
27142 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 result
= (wxAppTraits
*)(arg1
)->GetTraits();
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
27156 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27157 PyObject
*resultobj
= 0;
27158 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27161 PyObject
*swig_obj
[1] ;
27163 if (!args
) SWIG_fail
;
27164 swig_obj
[0] = args
;
27165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27166 if (!SWIG_IsOK(res1
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27169 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 (arg1
)->ProcessPendingEvents();
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_Py_Void();
27183 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= 0;
27185 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27186 bool arg2
= (bool) false ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "onlyIfNeeded", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
27203 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27205 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27206 if (!SWIG_IsOK(ecode2
)) {
27207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
27209 arg2
= static_cast< bool >(val2
);
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= (bool)(arg1
)->Yield(arg2
);
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27226 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27227 PyObject
*resultobj
= 0;
27228 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27231 PyObject
*swig_obj
[1] ;
27233 if (!args
) SWIG_fail
;
27234 swig_obj
[0] = args
;
27235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27236 if (!SWIG_IsOK(res1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27239 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 (arg1
)->WakeUpIdle();
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 resultobj
= SWIG_Py_Void();
27253 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27254 PyObject
*resultobj
= 0;
27257 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (bool)wxPyApp::IsMainLoopRunning();
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27273 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27274 PyObject
*resultobj
= 0;
27275 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27279 PyObject
*swig_obj
[1] ;
27281 if (!args
) SWIG_fail
;
27282 swig_obj
[0] = args
;
27283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27284 if (!SWIG_IsOK(res1
)) {
27285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27287 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 result
= (int)(arg1
)->MainLoop();
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 resultobj
= SWIG_From_int(static_cast< int >(result
));
27301 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27302 PyObject
*resultobj
= 0;
27303 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27306 PyObject
*swig_obj
[1] ;
27308 if (!args
) SWIG_fail
;
27309 swig_obj
[0] = args
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
27314 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= SWIG_Py_Void();
27328 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27329 PyObject
*resultobj
= 0;
27330 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27333 PyObject
*swig_obj
[1] ;
27335 if (!args
) SWIG_fail
;
27336 swig_obj
[0] = args
;
27337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27341 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 (arg1
)->ExitMainLoop();
27345 wxPyEndAllowThreads(__tstate
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27348 resultobj
= SWIG_Py_Void();
27355 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27356 PyObject
*resultobj
= 0;
27357 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27361 PyObject
*swig_obj
[1] ;
27363 if (!args
) SWIG_fail
;
27364 swig_obj
[0] = args
;
27365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27366 if (!SWIG_IsOK(res1
)) {
27367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
27369 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= (bool)(arg1
)->Pending();
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27385 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27386 PyObject
*resultobj
= 0;
27387 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27391 PyObject
*swig_obj
[1] ;
27393 if (!args
) SWIG_fail
;
27394 swig_obj
[0] = args
;
27395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27396 if (!SWIG_IsOK(res1
)) {
27397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
27399 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 result
= (bool)(arg1
)->Dispatch();
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27415 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27416 PyObject
*resultobj
= 0;
27417 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27421 PyObject
*swig_obj
[1] ;
27423 if (!args
) SWIG_fail
;
27424 swig_obj
[0] = args
;
27425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27429 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 result
= (bool)(arg1
)->ProcessIdle();
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27445 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27446 PyObject
*resultobj
= 0;
27447 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27448 wxWindow
*arg2
= (wxWindow
*) 0 ;
27449 wxIdleEvent
*arg3
= 0 ;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 PyObject
* obj2
= 0 ;
27460 char * kwnames
[] = {
27461 (char *) "self",(char *) "win",(char *) "event", NULL
27464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27466 if (!SWIG_IsOK(res1
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27469 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27471 if (!SWIG_IsOK(res2
)) {
27472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
27474 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27475 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
27476 if (!SWIG_IsOK(res3
)) {
27477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27482 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27498 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27504 PyObject
*swig_obj
[1] ;
27506 if (!args
) SWIG_fail
;
27507 swig_obj
[0] = args
;
27508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27512 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27528 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
= 0;
27530 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27531 wxWindow
*arg2
= (wxWindow
*) 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char * kwnames
[] = {
27539 (char *) "self",(char *) "win", NULL
27542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27544 if (!SWIG_IsOK(res1
)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
27547 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27549 if (!SWIG_IsOK(res2
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27552 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->SetTopWindow(arg2
);
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_Py_Void();
27566 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27568 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27569 wxWindow
*result
= 0 ;
27572 PyObject
*swig_obj
[1] ;
27574 if (!args
) SWIG_fail
;
27575 swig_obj
[0] = args
;
27576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27577 if (!SWIG_IsOK(res1
)) {
27578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27580 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
27584 wxPyEndAllowThreads(__tstate
);
27585 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27596 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
= 0;
27598 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 char * kwnames
[] = {
27607 (char *) "self",(char *) "flag", NULL
27610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27612 if (!SWIG_IsOK(res1
)) {
27613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
27615 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27617 if (!SWIG_IsOK(ecode2
)) {
27618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
27620 arg2
= static_cast< bool >(val2
);
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 (arg1
)->SetExitOnFrameDelete(arg2
);
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= SWIG_Py_Void();
27634 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27635 PyObject
*resultobj
= 0;
27636 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27640 PyObject
*swig_obj
[1] ;
27642 if (!args
) SWIG_fail
;
27643 swig_obj
[0] = args
;
27644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27648 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27664 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
= 0;
27666 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27672 PyObject
* obj0
= 0 ;
27673 PyObject
* obj1
= 0 ;
27674 char * kwnames
[] = {
27675 (char *) "self",(char *) "flag", NULL
27678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27680 if (!SWIG_IsOK(res1
)) {
27681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
27683 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27684 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27685 if (!SWIG_IsOK(ecode2
)) {
27686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
27688 arg2
= static_cast< bool >(val2
);
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->SetUseBestVisual(arg2
);
27692 wxPyEndAllowThreads(__tstate
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= SWIG_Py_Void();
27702 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 PyObject
*resultobj
= 0;
27704 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27708 PyObject
*swig_obj
[1] ;
27710 if (!args
) SWIG_fail
;
27711 swig_obj
[0] = args
;
27712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27713 if (!SWIG_IsOK(res1
)) {
27714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27716 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27732 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
= 0;
27734 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27740 PyObject
* obj0
= 0 ;
27741 PyObject
* obj1
= 0 ;
27742 char * kwnames
[] = {
27743 (char *) "self",(char *) "mode", NULL
27746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27748 if (!SWIG_IsOK(res1
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27751 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27753 if (!SWIG_IsOK(ecode2
)) {
27754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
27756 arg2
= static_cast< int >(val2
);
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 (arg1
)->SetPrintMode(arg2
);
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= SWIG_Py_Void();
27770 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27771 PyObject
*resultobj
= 0;
27772 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27776 PyObject
*swig_obj
[1] ;
27778 if (!args
) SWIG_fail
;
27779 swig_obj
[0] = args
;
27780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27781 if (!SWIG_IsOK(res1
)) {
27782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27784 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27791 resultobj
= SWIG_From_int(static_cast< int >(result
));
27798 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27799 PyObject
*resultobj
= 0;
27800 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27806 PyObject
* obj0
= 0 ;
27807 PyObject
* obj1
= 0 ;
27808 char * kwnames
[] = {
27809 (char *) "self",(char *) "mode", NULL
27812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27817 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27819 if (!SWIG_IsOK(ecode2
)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
27822 arg2
= static_cast< int >(val2
);
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 (arg1
)->SetAssertMode(arg2
);
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 resultobj
= SWIG_Py_Void();
27836 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27837 PyObject
*resultobj
= 0;
27838 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27842 PyObject
*swig_obj
[1] ;
27844 if (!args
) SWIG_fail
;
27845 swig_obj
[0] = args
;
27846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27847 if (!SWIG_IsOK(res1
)) {
27848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27850 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 result
= (int)(arg1
)->GetAssertMode();
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= SWIG_From_int(static_cast< int >(result
));
27864 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27865 PyObject
*resultobj
= 0;
27868 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27884 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27885 PyObject
*resultobj
= 0;
27888 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (long)wxPyApp::GetMacAboutMenuItemId();
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 resultobj
= SWIG_From_long(static_cast< long >(result
));
27902 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27903 PyObject
*resultobj
= 0;
27906 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
27908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27909 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= SWIG_From_long(static_cast< long >(result
));
27920 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27921 PyObject
*resultobj
= 0;
27924 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (long)wxPyApp::GetMacExitMenuItemId();
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= SWIG_From_long(static_cast< long >(result
));
27938 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27942 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27945 result
= wxPyApp::GetMacHelpMenuTitleName();
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27962 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27963 PyObject
*resultobj
= 0;
27967 PyObject
* obj0
= 0 ;
27968 char * kwnames
[] = {
27969 (char *) "val", NULL
27972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
27973 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
27974 if (!SWIG_IsOK(ecode1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
27977 arg1
= static_cast< bool >(val1
);
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= SWIG_Py_Void();
27991 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27992 PyObject
*resultobj
= 0;
27996 PyObject
* obj0
= 0 ;
27997 char * kwnames
[] = {
27998 (char *) "val", NULL
28001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
28002 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28003 if (!SWIG_IsOK(ecode1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
28006 arg1
= static_cast< long >(val1
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 wxPyApp::SetMacAboutMenuItemId(arg1
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= SWIG_Py_Void();
28020 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28021 PyObject
*resultobj
= 0;
28025 PyObject
* obj0
= 0 ;
28026 char * kwnames
[] = {
28027 (char *) "val", NULL
28030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
28031 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28032 if (!SWIG_IsOK(ecode1
)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
28035 arg1
= static_cast< long >(val1
);
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= SWIG_Py_Void();
28049 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28050 PyObject
*resultobj
= 0;
28054 PyObject
* obj0
= 0 ;
28055 char * kwnames
[] = {
28056 (char *) "val", NULL
28059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
28060 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28061 if (!SWIG_IsOK(ecode1
)) {
28062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
28064 arg1
= static_cast< long >(val1
);
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 wxPyApp::SetMacExitMenuItemId(arg1
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= SWIG_Py_Void();
28078 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
= 0;
28080 wxString
*arg1
= 0 ;
28081 bool temp1
= false ;
28082 PyObject
* obj0
= 0 ;
28083 char * kwnames
[] = {
28084 (char *) "val", NULL
28087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
28089 arg1
= wxString_in_helper(obj0
);
28090 if (arg1
== NULL
) SWIG_fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
28096 wxPyEndAllowThreads(__tstate
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28099 resultobj
= SWIG_Py_Void();
28114 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28115 PyObject
*resultobj
= 0;
28116 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28119 PyObject
*swig_obj
[1] ;
28121 if (!args
) SWIG_fail
;
28122 swig_obj
[0] = args
;
28123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
28127 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 (arg1
)->_BootstrapApp();
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= SWIG_Py_Void();
28141 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28142 PyObject
*resultobj
= 0;
28145 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 result
= (int)wxPyApp_GetComCtl32Version();
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= SWIG_From_int(static_cast< int >(result
));
28159 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28162 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
28163 return SWIG_Py_Void();
28166 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28167 return SWIG_Python_InitShadowInstance(args
);
28170 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28173 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= SWIG_Py_Void();
28187 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28188 PyObject
*resultobj
= 0;
28191 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (bool)wxYield();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28207 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28208 PyObject
*resultobj
= 0;
28211 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
28213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 result
= (bool)wxYieldIfNeeded();
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28227 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
= 0;
28229 wxWindow
*arg1
= (wxWindow
*) NULL
;
28230 bool arg2
= (bool) false ;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char * kwnames
[] = {
28239 (char *) "win",(char *) "onlyIfNeeded", NULL
28242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28245 if (!SWIG_IsOK(res1
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
28248 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28251 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28252 if (!SWIG_IsOK(ecode2
)) {
28253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
28255 arg2
= static_cast< bool >(val2
);
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 result
= (bool)wxSafeYield(arg1
,arg2
);
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28272 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28273 PyObject
*resultobj
= 0;
28275 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_Py_Void();
28289 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
= 0;
28291 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
28292 wxEvent
*arg2
= 0 ;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 char * kwnames
[] = {
28300 (char *) "dest",(char *) "event", NULL
28303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
28308 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
28309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
28310 if (!SWIG_IsOK(res2
)) {
28311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28316 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
28318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28319 wxPostEvent(arg1
,*arg2
);
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= SWIG_Py_Void();
28330 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28331 PyObject
*resultobj
= 0;
28333 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= SWIG_Py_Void();
28347 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28348 PyObject
*resultobj
= 0;
28349 wxPyApp
*result
= 0 ;
28351 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 result
= (wxPyApp
*)wxPyGetApp();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= wxPyMake_wxObject(result
, 0);
28367 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
= 0;
28369 char *arg1
= (char *) 0 ;
28373 PyObject
* obj0
= 0 ;
28374 char * kwnames
[] = {
28375 (char *) "encoding", NULL
28378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
28379 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 wxSetDefaultPyEncoding((char const *)arg1
);
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= SWIG_Py_Void();
28391 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28394 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28399 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28400 PyObject
*resultobj
= 0;
28403 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 result
= (char *)wxGetDefaultPyEncoding();
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= SWIG_FromCharPtr(result
);
28417 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28418 PyObject
*resultobj
= 0;
28419 wxEventLoop
*result
= 0 ;
28421 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (wxEventLoop
*)new wxEventLoop();
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
28435 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28436 PyObject
*resultobj
= 0;
28437 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28440 PyObject
*swig_obj
[1] ;
28442 if (!args
) SWIG_fail
;
28443 swig_obj
[0] = args
;
28444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
28445 if (!SWIG_IsOK(res1
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28448 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_Py_Void();
28463 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28464 PyObject
*resultobj
= 0;
28465 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28469 PyObject
*swig_obj
[1] ;
28471 if (!args
) SWIG_fail
;
28472 swig_obj
[0] = args
;
28473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28477 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 result
= (int)(arg1
)->Run();
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= SWIG_From_int(static_cast< int >(result
));
28491 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
= 0;
28493 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28494 int arg2
= (int) 0 ;
28499 PyObject
* obj0
= 0 ;
28500 PyObject
* obj1
= 0 ;
28501 char * kwnames
[] = {
28502 (char *) "self",(char *) "rc", NULL
28505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28507 if (!SWIG_IsOK(res1
)) {
28508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28510 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28513 if (!SWIG_IsOK(ecode2
)) {
28514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
28516 arg2
= static_cast< int >(val2
);
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 (arg1
)->Exit(arg2
);
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_Py_Void();
28531 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28532 PyObject
*resultobj
= 0;
28533 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28537 PyObject
*swig_obj
[1] ;
28539 if (!args
) SWIG_fail
;
28540 swig_obj
[0] = args
;
28541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28545 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28561 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28562 PyObject
*resultobj
= 0;
28563 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28567 PyObject
*swig_obj
[1] ;
28569 if (!args
) SWIG_fail
;
28570 swig_obj
[0] = args
;
28571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28572 if (!SWIG_IsOK(res1
)) {
28573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28575 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 result
= (bool)(arg1
)->Dispatch();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28591 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28592 PyObject
*resultobj
= 0;
28593 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28597 PyObject
*swig_obj
[1] ;
28599 if (!args
) SWIG_fail
;
28600 swig_obj
[0] = args
;
28601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28602 if (!SWIG_IsOK(res1
)) {
28603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28605 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28621 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28622 PyObject
*resultobj
= 0;
28623 wxEventLoop
*result
= 0 ;
28625 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (wxEventLoop
*)wxEventLoop::GetActive();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28639 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
= 0;
28641 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28644 PyObject
* obj0
= 0 ;
28645 char * kwnames
[] = {
28646 (char *) "loop", NULL
28649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
28650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28651 if (!SWIG_IsOK(res1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28654 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 wxEventLoop::SetActive(arg1
);
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= SWIG_Py_Void();
28668 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28671 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
28672 return SWIG_Py_Void();
28675 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 return SWIG_Python_InitShadowInstance(args
);
28679 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
= 0;
28681 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28682 wxEventLoopActivator
*result
= 0 ;
28685 PyObject
* obj0
= 0 ;
28686 char * kwnames
[] = {
28687 (char *) "evtLoop", NULL
28690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
28691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28692 if (!SWIG_IsOK(res1
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28695 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
28699 wxPyEndAllowThreads(__tstate
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
28709 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28710 PyObject
*resultobj
= 0;
28711 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
28714 PyObject
*swig_obj
[1] ;
28716 if (!args
) SWIG_fail
;
28717 swig_obj
[0] = args
;
28718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
28719 if (!SWIG_IsOK(res1
)) {
28720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
28722 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
28724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 wxPyEndAllowThreads(__tstate
);
28728 if (PyErr_Occurred()) SWIG_fail
;
28730 resultobj
= SWIG_Py_Void();
28737 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28740 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
28741 return SWIG_Py_Void();
28744 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 return SWIG_Python_InitShadowInstance(args
);
28748 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
= 0;
28750 int arg1
= (int) 0 ;
28751 int arg2
= (int) 0 ;
28752 int arg3
= (int) 0 ;
28753 wxAcceleratorEntry
*result
= 0 ;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 PyObject
* obj2
= 0 ;
28763 char * kwnames
[] = {
28764 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
28767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28770 if (!SWIG_IsOK(ecode1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
28773 arg1
= static_cast< int >(val1
);
28776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28777 if (!SWIG_IsOK(ecode2
)) {
28778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
28780 arg2
= static_cast< int >(val2
);
28783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28784 if (!SWIG_IsOK(ecode3
)) {
28785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
28787 arg3
= static_cast< int >(val3
);
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
28802 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28803 PyObject
*resultobj
= 0;
28804 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28807 PyObject
*swig_obj
[1] ;
28809 if (!args
) SWIG_fail
;
28810 swig_obj
[0] = args
;
28811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
28812 if (!SWIG_IsOK(res1
)) {
28813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28815 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= SWIG_Py_Void();
28830 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
= 0;
28832 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28844 PyObject
* obj0
= 0 ;
28845 PyObject
* obj1
= 0 ;
28846 PyObject
* obj2
= 0 ;
28847 PyObject
* obj3
= 0 ;
28848 char * kwnames
[] = {
28849 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
28852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28854 if (!SWIG_IsOK(res1
)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28857 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28859 if (!SWIG_IsOK(ecode2
)) {
28860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
28862 arg2
= static_cast< int >(val2
);
28863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28864 if (!SWIG_IsOK(ecode3
)) {
28865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
28867 arg3
= static_cast< int >(val3
);
28868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28869 if (!SWIG_IsOK(ecode4
)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
28872 arg4
= static_cast< int >(val4
);
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 (arg1
)->Set(arg2
,arg3
,arg4
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_Py_Void();
28886 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28887 PyObject
*resultobj
= 0;
28888 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28892 PyObject
*swig_obj
[1] ;
28894 if (!args
) SWIG_fail
;
28895 swig_obj
[0] = args
;
28896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28897 if (!SWIG_IsOK(res1
)) {
28898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28900 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 result
= (int)(arg1
)->GetFlags();
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_From_int(static_cast< int >(result
));
28914 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28915 PyObject
*resultobj
= 0;
28916 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28920 PyObject
*swig_obj
[1] ;
28922 if (!args
) SWIG_fail
;
28923 swig_obj
[0] = args
;
28924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28928 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 result
= (int)(arg1
)->GetKeyCode();
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28935 resultobj
= SWIG_From_int(static_cast< int >(result
));
28942 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28943 PyObject
*resultobj
= 0;
28944 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28948 PyObject
*swig_obj
[1] ;
28950 if (!args
) SWIG_fail
;
28951 swig_obj
[0] = args
;
28952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28953 if (!SWIG_IsOK(res1
)) {
28954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28956 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= (int)(arg1
)->GetCommand();
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 resultobj
= SWIG_From_int(static_cast< int >(result
));
28970 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28973 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
28974 return SWIG_Py_Void();
28977 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28978 return SWIG_Python_InitShadowInstance(args
);
28981 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28982 PyObject
*resultobj
= 0;
28984 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28985 wxAcceleratorTable
*result
= 0 ;
28986 PyObject
* obj0
= 0 ;
28987 char * kwnames
[] = {
28991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
28993 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
28994 if (arg2
) arg1
= PyList_Size(obj0
);
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
29010 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29011 PyObject
*resultobj
= 0;
29012 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
29015 PyObject
*swig_obj
[1] ;
29017 if (!args
) SWIG_fail
;
29018 swig_obj
[0] = args
;
29019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
29020 if (!SWIG_IsOK(res1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
29023 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 resultobj
= SWIG_Py_Void();
29038 SWIGINTERN PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29039 PyObject
*resultobj
= 0;
29040 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
29044 PyObject
*swig_obj
[1] ;
29046 if (!args
) SWIG_fail
;
29047 swig_obj
[0] = args
;
29048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
29049 if (!SWIG_IsOK(res1
)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_Ok" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
29052 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29068 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29071 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
29072 return SWIG_Py_Void();
29075 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29076 return SWIG_Python_InitShadowInstance(args
);
29079 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
29080 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
29085 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
29086 PyObject
*pyobj
= 0;
29088 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
29093 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
= 0;
29095 wxString
*arg1
= 0 ;
29096 wxAcceleratorEntry
*result
= 0 ;
29097 bool temp1
= false ;
29098 PyObject
* obj0
= 0 ;
29099 char * kwnames
[] = {
29100 (char *) "label", NULL
29103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
29105 arg1
= wxString_in_helper(obj0
);
29106 if (arg1
== NULL
) SWIG_fail
;
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29130 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
29131 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
29136 SWIGINTERN PyObject
*PanelNameStr_get(void) {
29137 PyObject
*pyobj
= 0;
29141 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29143 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29150 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29151 PyObject
*resultobj
= 0;
29152 wxVisualAttributes
*result
= 0 ;
29154 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
29168 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29169 PyObject
*resultobj
= 0;
29170 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29173 PyObject
*swig_obj
[1] ;
29175 if (!args
) SWIG_fail
;
29176 swig_obj
[0] = args
;
29177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
29178 if (!SWIG_IsOK(res1
)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29181 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29184 delete_wxVisualAttributes(arg1
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= SWIG_Py_Void();
29196 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29197 PyObject
*resultobj
= 0;
29198 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29199 wxFont
*arg2
= (wxFont
*) 0 ;
29204 PyObject
*swig_obj
[2] ;
29206 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
29207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29208 if (!SWIG_IsOK(res1
)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29211 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29212 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29213 if (!SWIG_IsOK(res2
)) {
29214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
29216 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29217 if (arg1
) (arg1
)->font
= *arg2
;
29219 resultobj
= SWIG_Py_Void();
29226 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29227 PyObject
*resultobj
= 0;
29228 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29229 wxFont
*result
= 0 ;
29232 PyObject
*swig_obj
[1] ;
29234 if (!args
) SWIG_fail
;
29235 swig_obj
[0] = args
;
29236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29237 if (!SWIG_IsOK(res1
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29240 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29241 result
= (wxFont
*)& ((arg1
)->font
);
29242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29249 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29250 PyObject
*resultobj
= 0;
29251 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29252 wxColour
*arg2
= (wxColour
*) 0 ;
29257 PyObject
*swig_obj
[2] ;
29259 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
29260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29261 if (!SWIG_IsOK(res1
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29264 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29265 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29266 if (!SWIG_IsOK(res2
)) {
29267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29269 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29270 if (arg1
) (arg1
)->colFg
= *arg2
;
29272 resultobj
= SWIG_Py_Void();
29279 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29280 PyObject
*resultobj
= 0;
29281 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29282 wxColour
*result
= 0 ;
29285 PyObject
*swig_obj
[1] ;
29287 if (!args
) SWIG_fail
;
29288 swig_obj
[0] = args
;
29289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29293 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29294 result
= (wxColour
*)& ((arg1
)->colFg
);
29295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29302 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29303 PyObject
*resultobj
= 0;
29304 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29305 wxColour
*arg2
= (wxColour
*) 0 ;
29310 PyObject
*swig_obj
[2] ;
29312 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
29313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29314 if (!SWIG_IsOK(res1
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29317 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29318 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29319 if (!SWIG_IsOK(res2
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29322 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29323 if (arg1
) (arg1
)->colBg
= *arg2
;
29325 resultobj
= SWIG_Py_Void();
29332 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29333 PyObject
*resultobj
= 0;
29334 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29335 wxColour
*result
= 0 ;
29338 PyObject
*swig_obj
[1] ;
29340 if (!args
) SWIG_fail
;
29341 swig_obj
[0] = args
;
29342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29343 if (!SWIG_IsOK(res1
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29346 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29347 result
= (wxColour
*)& ((arg1
)->colBg
);
29348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29355 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29358 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
29359 return SWIG_Py_Void();
29362 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29363 return SWIG_Python_InitShadowInstance(args
);
29366 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29367 PyObject
*resultobj
= 0;
29368 wxWindow
*arg1
= (wxWindow
*) 0 ;
29369 int arg2
= (int) (int)-1 ;
29370 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29371 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29372 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29373 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29374 long arg5
= (long) 0 ;
29375 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
29376 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29377 wxWindow
*result
= 0 ;
29386 bool temp6
= false ;
29387 PyObject
* obj0
= 0 ;
29388 PyObject
* obj1
= 0 ;
29389 PyObject
* obj2
= 0 ;
29390 PyObject
* obj3
= 0 ;
29391 PyObject
* obj4
= 0 ;
29392 PyObject
* obj5
= 0 ;
29393 char * kwnames
[] = {
29394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29399 if (!SWIG_IsOK(res1
)) {
29400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
29402 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29405 if (!SWIG_IsOK(ecode2
)) {
29406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
29408 arg2
= static_cast< int >(val2
);
29413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29419 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29423 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29424 if (!SWIG_IsOK(ecode5
)) {
29425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
29427 arg5
= static_cast< long >(val5
);
29431 arg6
= wxString_in_helper(obj5
);
29432 if (arg6
== NULL
) SWIG_fail
;
29437 if (!wxPyCheckForApp()) SWIG_fail
;
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29439 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29440 wxPyEndAllowThreads(__tstate
);
29441 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
29458 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29459 PyObject
*resultobj
= 0;
29460 wxWindow
*result
= 0 ;
29462 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
29464 if (!wxPyCheckForApp()) SWIG_fail
;
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 result
= (wxWindow
*)new wxWindow();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
29477 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
= 0;
29479 wxWindow
*arg1
= (wxWindow
*) 0 ;
29480 wxWindow
*arg2
= (wxWindow
*) 0 ;
29481 int arg3
= (int) (int)-1 ;
29482 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29483 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29484 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29485 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29486 long arg6
= (long) 0 ;
29487 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29500 bool temp7
= false ;
29501 PyObject
* obj0
= 0 ;
29502 PyObject
* obj1
= 0 ;
29503 PyObject
* obj2
= 0 ;
29504 PyObject
* obj3
= 0 ;
29505 PyObject
* obj4
= 0 ;
29506 PyObject
* obj5
= 0 ;
29507 PyObject
* obj6
= 0 ;
29508 char * kwnames
[] = {
29509 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29514 if (!SWIG_IsOK(res1
)) {
29515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
29517 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29519 if (!SWIG_IsOK(res2
)) {
29520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29522 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29525 if (!SWIG_IsOK(ecode3
)) {
29526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
29528 arg3
= static_cast< int >(val3
);
29533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29539 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29543 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29544 if (!SWIG_IsOK(ecode6
)) {
29545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
29547 arg6
= static_cast< long >(val6
);
29551 arg7
= wxString_in_helper(obj6
);
29552 if (arg7
== NULL
) SWIG_fail
;
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29579 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
= 0;
29581 wxWindow
*arg1
= (wxWindow
*) 0 ;
29582 bool arg2
= (bool) false ;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 char * kwnames
[] = {
29591 (char *) "self",(char *) "force", NULL
29594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29596 if (!SWIG_IsOK(res1
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
29599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29601 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29602 if (!SWIG_IsOK(ecode2
)) {
29603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
29605 arg2
= static_cast< bool >(val2
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (bool)(arg1
)->Close(arg2
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29622 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29623 PyObject
*resultobj
= 0;
29624 wxWindow
*arg1
= (wxWindow
*) 0 ;
29628 PyObject
*swig_obj
[1] ;
29630 if (!args
) SWIG_fail
;
29631 swig_obj
[0] = args
;
29632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29633 if (!SWIG_IsOK(res1
)) {
29634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
29636 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 result
= (bool)(arg1
)->Destroy();
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29652 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29653 PyObject
*resultobj
= 0;
29654 wxWindow
*arg1
= (wxWindow
*) 0 ;
29658 PyObject
*swig_obj
[1] ;
29660 if (!args
) SWIG_fail
;
29661 swig_obj
[0] = args
;
29662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29663 if (!SWIG_IsOK(res1
)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
29666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= (bool)(arg1
)->DestroyChildren();
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29682 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29683 PyObject
*resultobj
= 0;
29684 wxWindow
*arg1
= (wxWindow
*) 0 ;
29688 PyObject
*swig_obj
[1] ;
29690 if (!args
) SWIG_fail
;
29691 swig_obj
[0] = args
;
29692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
29696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29712 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29713 PyObject
*resultobj
= 0;
29714 wxWindow
*arg1
= (wxWindow
*) 0 ;
29715 wxString
*arg2
= 0 ;
29718 bool temp2
= false ;
29719 PyObject
* obj0
= 0 ;
29720 PyObject
* obj1
= 0 ;
29721 char * kwnames
[] = {
29722 (char *) "self",(char *) "label", NULL
29725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29727 if (!SWIG_IsOK(res1
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
29730 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29732 arg2
= wxString_in_helper(obj1
);
29733 if (arg2
== NULL
) SWIG_fail
;
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 (arg1
)->SetLabel((wxString
const &)*arg2
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= SWIG_Py_Void();
29757 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29758 PyObject
*resultobj
= 0;
29759 wxWindow
*arg1
= (wxWindow
*) 0 ;
29763 PyObject
*swig_obj
[1] ;
29765 if (!args
) SWIG_fail
;
29766 swig_obj
[0] = args
;
29767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
29771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= ((wxWindow
const *)arg1
)->GetLabel();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29791 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
= 0;
29793 wxWindow
*arg1
= (wxWindow
*) 0 ;
29794 wxString
*arg2
= 0 ;
29797 bool temp2
= false ;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 char * kwnames
[] = {
29801 (char *) "self",(char *) "name", NULL
29804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
29809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29811 arg2
= wxString_in_helper(obj1
);
29812 if (arg2
== NULL
) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 (arg1
)->SetName((wxString
const &)*arg2
);
29818 wxPyEndAllowThreads(__tstate
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 resultobj
= SWIG_Py_Void();
29836 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29837 PyObject
*resultobj
= 0;
29838 wxWindow
*arg1
= (wxWindow
*) 0 ;
29842 PyObject
*swig_obj
[1] ;
29844 if (!args
) SWIG_fail
;
29845 swig_obj
[0] = args
;
29846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29847 if (!SWIG_IsOK(res1
)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
29850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= ((wxWindow
const *)arg1
)->GetName();
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29870 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
= 0;
29872 wxWindow
*arg1
= (wxWindow
*) 0 ;
29873 wxWindowVariant arg2
;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 char * kwnames
[] = {
29881 (char *) "self",(char *) "variant", NULL
29884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
29889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29891 if (!SWIG_IsOK(ecode2
)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
29894 arg2
= static_cast< wxWindowVariant
>(val2
);
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 (arg1
)->SetWindowVariant(arg2
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= SWIG_Py_Void();
29908 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29909 PyObject
*resultobj
= 0;
29910 wxWindow
*arg1
= (wxWindow
*) 0 ;
29911 wxWindowVariant result
;
29914 PyObject
*swig_obj
[1] ;
29916 if (!args
) SWIG_fail
;
29917 swig_obj
[0] = args
;
29918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29919 if (!SWIG_IsOK(res1
)) {
29920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
29922 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
29926 wxPyEndAllowThreads(__tstate
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29929 resultobj
= SWIG_From_int(static_cast< int >(result
));
29936 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
= 0;
29938 wxWindow
*arg1
= (wxWindow
*) 0 ;
29944 PyObject
* obj0
= 0 ;
29945 PyObject
* obj1
= 0 ;
29946 char * kwnames
[] = {
29947 (char *) "self",(char *) "winid", NULL
29950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29952 if (!SWIG_IsOK(res1
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
29955 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29957 if (!SWIG_IsOK(ecode2
)) {
29958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
29960 arg2
= static_cast< int >(val2
);
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 (arg1
)->SetId(arg2
);
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= SWIG_Py_Void();
29974 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29975 PyObject
*resultobj
= 0;
29976 wxWindow
*arg1
= (wxWindow
*) 0 ;
29980 PyObject
*swig_obj
[1] ;
29982 if (!args
) SWIG_fail
;
29983 swig_obj
[0] = args
;
29984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29985 if (!SWIG_IsOK(res1
)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
29988 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 result
= (int)((wxWindow
const *)arg1
)->GetId();
29992 wxPyEndAllowThreads(__tstate
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29995 resultobj
= SWIG_From_int(static_cast< int >(result
));
30002 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30003 PyObject
*resultobj
= 0;
30006 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 result
= (int)wxWindow::NewControlId();
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= SWIG_From_int(static_cast< int >(result
));
30020 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
= 0;
30026 PyObject
* obj0
= 0 ;
30027 char * kwnames
[] = {
30028 (char *) "winid", NULL
30031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
30032 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30033 if (!SWIG_IsOK(ecode1
)) {
30034 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
30036 arg1
= static_cast< int >(val1
);
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= (int)wxWindow::NextControlId(arg1
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= SWIG_From_int(static_cast< int >(result
));
30050 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
= 0;
30056 PyObject
* obj0
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "winid", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
30062 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30063 if (!SWIG_IsOK(ecode1
)) {
30064 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
30066 arg1
= static_cast< int >(val1
);
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 result
= (int)wxWindow::PrevControlId(arg1
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= SWIG_From_int(static_cast< int >(result
));
30080 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
= 0;
30082 wxWindow
*arg1
= (wxWindow
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 char * kwnames
[] = {
30090 (char *) "self",(char *) "size", NULL
30093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30095 if (!SWIG_IsOK(res1
)) {
30096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 (arg1
)->SetSize((wxSize
const &)*arg2
);
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 resultobj
= SWIG_Py_Void();
30116 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
= 0;
30118 wxWindow
*arg1
= (wxWindow
*) 0 ;
30123 int arg6
= (int) wxSIZE_AUTO
;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 PyObject
* obj2
= 0 ;
30139 PyObject
* obj3
= 0 ;
30140 PyObject
* obj4
= 0 ;
30141 PyObject
* obj5
= 0 ;
30142 char * kwnames
[] = {
30143 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
30146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30148 if (!SWIG_IsOK(res1
)) {
30149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
30151 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30153 if (!SWIG_IsOK(ecode2
)) {
30154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
30156 arg2
= static_cast< int >(val2
);
30157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30158 if (!SWIG_IsOK(ecode3
)) {
30159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
30161 arg3
= static_cast< int >(val3
);
30162 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30163 if (!SWIG_IsOK(ecode4
)) {
30164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
30166 arg4
= static_cast< int >(val4
);
30167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30168 if (!SWIG_IsOK(ecode5
)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
30171 arg5
= static_cast< int >(val5
);
30173 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30174 if (!SWIG_IsOK(ecode6
)) {
30175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
30177 arg6
= static_cast< int >(val6
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_Py_Void();
30192 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
= 0;
30194 wxWindow
*arg1
= (wxWindow
*) 0 ;
30196 int arg3
= (int) wxSIZE_AUTO
;
30202 PyObject
* obj0
= 0 ;
30203 PyObject
* obj1
= 0 ;
30204 PyObject
* obj2
= 0 ;
30205 char * kwnames
[] = {
30206 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
30209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30211 if (!SWIG_IsOK(res1
)) {
30212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30214 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30221 if (!SWIG_IsOK(ecode3
)) {
30222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
30224 arg3
= static_cast< int >(val3
);
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_Py_Void();
30239 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
= 0;
30241 wxWindow
*arg1
= (wxWindow
*) 0 ;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 PyObject
* obj2
= 0 ;
30253 char * kwnames
[] = {
30254 (char *) "self",(char *) "width",(char *) "height", NULL
30257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30259 if (!SWIG_IsOK(res1
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30264 if (!SWIG_IsOK(ecode2
)) {
30265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
30267 arg2
= static_cast< int >(val2
);
30268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30269 if (!SWIG_IsOK(ecode3
)) {
30270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
30272 arg3
= static_cast< int >(val3
);
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 (arg1
)->SetSize(arg2
,arg3
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30279 resultobj
= SWIG_Py_Void();
30286 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30287 PyObject
*resultobj
= 0;
30288 wxWindow
*arg1
= (wxWindow
*) 0 ;
30289 wxPoint
*arg2
= 0 ;
30290 int arg3
= (int) wxSIZE_USE_EXISTING
;
30296 PyObject
* obj0
= 0 ;
30297 PyObject
* obj1
= 0 ;
30298 PyObject
* obj2
= 0 ;
30299 char * kwnames
[] = {
30300 (char *) "self",(char *) "pt",(char *) "flags", NULL
30303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30305 if (!SWIG_IsOK(res1
)) {
30306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
30308 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30311 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30315 if (!SWIG_IsOK(ecode3
)) {
30316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
30318 arg3
= static_cast< int >(val3
);
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= SWIG_Py_Void();
30333 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
= 0;
30335 wxWindow
*arg1
= (wxWindow
*) 0 ;
30338 int arg4
= (int) wxSIZE_USE_EXISTING
;
30347 PyObject
* obj0
= 0 ;
30348 PyObject
* obj1
= 0 ;
30349 PyObject
* obj2
= 0 ;
30350 PyObject
* obj3
= 0 ;
30351 char * kwnames
[] = {
30352 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
30355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30357 if (!SWIG_IsOK(res1
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
30360 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30362 if (!SWIG_IsOK(ecode2
)) {
30363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
30365 arg2
= static_cast< int >(val2
);
30366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30367 if (!SWIG_IsOK(ecode3
)) {
30368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
30370 arg3
= static_cast< int >(val3
);
30372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30373 if (!SWIG_IsOK(ecode4
)) {
30374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
30376 arg4
= static_cast< int >(val4
);
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 (arg1
)->Move(arg2
,arg3
,arg4
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 resultobj
= SWIG_Py_Void();
30391 SWIGINTERN PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
= 0;
30393 wxWindow
*arg1
= (wxWindow
*) 0 ;
30394 wxSize
const &arg2_defvalue
= wxDefaultSize
;
30395 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
30399 PyObject
* obj0
= 0 ;
30400 PyObject
* obj1
= 0 ;
30401 char * kwnames
[] = {
30402 (char *) "self",(char *) "size", NULL
30405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30414 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 resultobj
= SWIG_Py_Void();
30430 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30431 PyObject
*resultobj
= 0;
30432 wxWindow
*arg1
= (wxWindow
*) 0 ;
30435 PyObject
*swig_obj
[1] ;
30437 if (!args
) SWIG_fail
;
30438 swig_obj
[0] = args
;
30439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
30443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= SWIG_Py_Void();
30457 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30458 PyObject
*resultobj
= 0;
30459 wxWindow
*arg1
= (wxWindow
*) 0 ;
30462 PyObject
*swig_obj
[1] ;
30464 if (!args
) SWIG_fail
;
30465 swig_obj
[0] = args
;
30466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30467 if (!SWIG_IsOK(res1
)) {
30468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
30470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 resultobj
= SWIG_Py_Void();
30484 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30485 PyObject
*resultobj
= 0;
30486 wxWindow
*arg1
= (wxWindow
*) 0 ;
30491 PyObject
* obj0
= 0 ;
30492 PyObject
* obj1
= 0 ;
30493 char * kwnames
[] = {
30494 (char *) "self",(char *) "size", NULL
30497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30499 if (!SWIG_IsOK(res1
)) {
30500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= SWIG_Py_Void();
30520 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
= 0;
30522 wxWindow
*arg1
= (wxWindow
*) 0 ;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 PyObject
* obj2
= 0 ;
30534 char * kwnames
[] = {
30535 (char *) "self",(char *) "width",(char *) "height", NULL
30538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30540 if (!SWIG_IsOK(res1
)) {
30541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30543 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30545 if (!SWIG_IsOK(ecode2
)) {
30546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
30548 arg2
= static_cast< int >(val2
);
30549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30550 if (!SWIG_IsOK(ecode3
)) {
30551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
30553 arg3
= static_cast< int >(val3
);
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 (arg1
)->SetClientSize(arg2
,arg3
);
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= SWIG_Py_Void();
30567 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30568 PyObject
*resultobj
= 0;
30569 wxWindow
*arg1
= (wxWindow
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 PyObject
* obj1
= 0 ;
30576 char * kwnames
[] = {
30577 (char *) "self",(char *) "rect", NULL
30580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30582 if (!SWIG_IsOK(res1
)) {
30583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30588 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= SWIG_Py_Void();
30603 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30604 PyObject
*resultobj
= 0;
30605 wxWindow
*arg1
= (wxWindow
*) 0 ;
30609 PyObject
*swig_obj
[1] ;
30611 if (!args
) SWIG_fail
;
30612 swig_obj
[0] = args
;
30613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30614 if (!SWIG_IsOK(res1
)) {
30615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 result
= ((wxWindow
const *)arg1
)->GetPosition();
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30631 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30632 PyObject
*resultobj
= 0;
30633 wxWindow
*arg1
= (wxWindow
*) 0 ;
30634 int *arg2
= (int *) 0 ;
30635 int *arg3
= (int *) 0 ;
30639 int res2
= SWIG_TMPOBJ
;
30641 int res3
= SWIG_TMPOBJ
;
30642 PyObject
*swig_obj
[1] ;
30646 if (!args
) SWIG_fail
;
30647 swig_obj
[0] = args
;
30648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30649 if (!SWIG_IsOK(res1
)) {
30650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= SWIG_Py_Void();
30660 if (SWIG_IsTmpObj(res2
)) {
30661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30663 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30666 if (SWIG_IsTmpObj(res3
)) {
30667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30669 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30678 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30679 PyObject
*resultobj
= 0;
30680 wxWindow
*arg1
= (wxWindow
*) 0 ;
30684 PyObject
*swig_obj
[1] ;
30686 if (!args
) SWIG_fail
;
30687 swig_obj
[0] = args
;
30688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30689 if (!SWIG_IsOK(res1
)) {
30690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30706 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30707 PyObject
*resultobj
= 0;
30708 wxWindow
*arg1
= (wxWindow
*) 0 ;
30709 int *arg2
= (int *) 0 ;
30710 int *arg3
= (int *) 0 ;
30714 int res2
= SWIG_TMPOBJ
;
30716 int res3
= SWIG_TMPOBJ
;
30717 PyObject
*swig_obj
[1] ;
30721 if (!args
) SWIG_fail
;
30722 swig_obj
[0] = args
;
30723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30724 if (!SWIG_IsOK(res1
)) {
30725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30727 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30730 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
30731 wxPyEndAllowThreads(__tstate
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30734 resultobj
= SWIG_Py_Void();
30735 if (SWIG_IsTmpObj(res2
)) {
30736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30738 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30741 if (SWIG_IsTmpObj(res3
)) {
30742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30744 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30753 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30754 PyObject
*resultobj
= 0;
30755 wxWindow
*arg1
= (wxWindow
*) 0 ;
30759 PyObject
*swig_obj
[1] ;
30761 if (!args
) SWIG_fail
;
30762 swig_obj
[0] = args
;
30763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30764 if (!SWIG_IsOK(res1
)) {
30765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30767 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30770 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30781 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30782 PyObject
*resultobj
= 0;
30783 wxWindow
*arg1
= (wxWindow
*) 0 ;
30787 PyObject
*swig_obj
[1] ;
30789 if (!args
) SWIG_fail
;
30790 swig_obj
[0] = args
;
30791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= ((wxWindow
const *)arg1
)->GetSize();
30799 wxPyEndAllowThreads(__tstate
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30802 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30809 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30810 PyObject
*resultobj
= 0;
30811 wxWindow
*arg1
= (wxWindow
*) 0 ;
30812 int *arg2
= (int *) 0 ;
30813 int *arg3
= (int *) 0 ;
30817 int res2
= SWIG_TMPOBJ
;
30819 int res3
= SWIG_TMPOBJ
;
30820 PyObject
*swig_obj
[1] ;
30824 if (!args
) SWIG_fail
;
30825 swig_obj
[0] = args
;
30826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30827 if (!SWIG_IsOK(res1
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= SWIG_Py_Void();
30838 if (SWIG_IsTmpObj(res2
)) {
30839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30841 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30844 if (SWIG_IsTmpObj(res3
)) {
30845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30847 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30856 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30857 PyObject
*resultobj
= 0;
30858 wxWindow
*arg1
= (wxWindow
*) 0 ;
30862 PyObject
*swig_obj
[1] ;
30864 if (!args
) SWIG_fail
;
30865 swig_obj
[0] = args
;
30866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30867 if (!SWIG_IsOK(res1
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= ((wxWindow
const *)arg1
)->GetRect();
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30884 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30885 PyObject
*resultobj
= 0;
30886 wxWindow
*arg1
= (wxWindow
*) 0 ;
30890 PyObject
*swig_obj
[1] ;
30892 if (!args
) SWIG_fail
;
30893 swig_obj
[0] = args
;
30894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30895 if (!SWIG_IsOK(res1
)) {
30896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30898 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= ((wxWindow
const *)arg1
)->GetClientSize();
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30912 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30913 PyObject
*resultobj
= 0;
30914 wxWindow
*arg1
= (wxWindow
*) 0 ;
30915 int *arg2
= (int *) 0 ;
30916 int *arg3
= (int *) 0 ;
30920 int res2
= SWIG_TMPOBJ
;
30922 int res3
= SWIG_TMPOBJ
;
30923 PyObject
*swig_obj
[1] ;
30927 if (!args
) SWIG_fail
;
30928 swig_obj
[0] = args
;
30929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30933 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= SWIG_Py_Void();
30941 if (SWIG_IsTmpObj(res2
)) {
30942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30944 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30947 if (SWIG_IsTmpObj(res3
)) {
30948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30959 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30960 PyObject
*resultobj
= 0;
30961 wxWindow
*arg1
= (wxWindow
*) 0 ;
30965 PyObject
*swig_obj
[1] ;
30967 if (!args
) SWIG_fail
;
30968 swig_obj
[0] = args
;
30969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30970 if (!SWIG_IsOK(res1
)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
30973 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30987 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30988 PyObject
*resultobj
= 0;
30989 wxWindow
*arg1
= (wxWindow
*) 0 ;
30993 PyObject
*swig_obj
[1] ;
30995 if (!args
) SWIG_fail
;
30996 swig_obj
[0] = args
;
30997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30998 if (!SWIG_IsOK(res1
)) {
30999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
31001 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= ((wxWindow
const *)arg1
)->GetClientRect();
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31015 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31016 PyObject
*resultobj
= 0;
31017 wxWindow
*arg1
= (wxWindow
*) 0 ;
31021 PyObject
*swig_obj
[1] ;
31023 if (!args
) SWIG_fail
;
31024 swig_obj
[0] = args
;
31025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31026 if (!SWIG_IsOK(res1
)) {
31027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= ((wxWindow
const *)arg1
)->GetBestSize();
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31036 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31043 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31044 PyObject
*resultobj
= 0;
31045 wxWindow
*arg1
= (wxWindow
*) 0 ;
31046 int *arg2
= (int *) 0 ;
31047 int *arg3
= (int *) 0 ;
31051 int res2
= SWIG_TMPOBJ
;
31053 int res3
= SWIG_TMPOBJ
;
31054 PyObject
*swig_obj
[1] ;
31058 if (!args
) SWIG_fail
;
31059 swig_obj
[0] = args
;
31060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31061 if (!SWIG_IsOK(res1
)) {
31062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31064 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
31068 wxPyEndAllowThreads(__tstate
);
31069 if (PyErr_Occurred()) SWIG_fail
;
31071 resultobj
= SWIG_Py_Void();
31072 if (SWIG_IsTmpObj(res2
)) {
31073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31075 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31078 if (SWIG_IsTmpObj(res3
)) {
31079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31081 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31090 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31091 PyObject
*resultobj
= 0;
31092 wxWindow
*arg1
= (wxWindow
*) 0 ;
31095 PyObject
*swig_obj
[1] ;
31097 if (!args
) SWIG_fail
;
31098 swig_obj
[0] = args
;
31099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31100 if (!SWIG_IsOK(res1
)) {
31101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 (arg1
)->InvalidateBestSize();
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= SWIG_Py_Void();
31117 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31118 PyObject
*resultobj
= 0;
31119 wxWindow
*arg1
= (wxWindow
*) 0 ;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 char * kwnames
[] = {
31127 (char *) "self",(char *) "size", NULL
31130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31132 if (!SWIG_IsOK(res1
)) {
31133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31142 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
31143 wxPyEndAllowThreads(__tstate
);
31144 if (PyErr_Occurred()) SWIG_fail
;
31146 resultobj
= SWIG_Py_Void();
31153 SWIGINTERN PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31154 PyObject
*resultobj
= 0;
31155 wxWindow
*arg1
= (wxWindow
*) 0 ;
31159 PyObject
*swig_obj
[1] ;
31161 if (!args
) SWIG_fail
;
31162 swig_obj
[0] = args
;
31163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31181 SWIGINTERN PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31182 PyObject
*resultobj
= 0;
31183 wxWindow
*arg1
= (wxWindow
*) 0 ;
31187 PyObject
*swig_obj
[1] ;
31189 if (!args
) SWIG_fail
;
31190 swig_obj
[0] = args
;
31191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31192 if (!SWIG_IsOK(res1
)) {
31193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAdjustedBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31195 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31209 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
= 0;
31211 wxWindow
*arg1
= (wxWindow
*) 0 ;
31212 int arg2
= (int) wxBOTH
;
31217 PyObject
* obj0
= 0 ;
31218 PyObject
* obj1
= 0 ;
31219 char * kwnames
[] = {
31220 (char *) "self",(char *) "direction", NULL
31223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31225 if (!SWIG_IsOK(res1
)) {
31226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
31228 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31231 if (!SWIG_IsOK(ecode2
)) {
31232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
31234 arg2
= static_cast< int >(val2
);
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 (arg1
)->Center(arg2
);
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31242 resultobj
= SWIG_Py_Void();
31249 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
= 0;
31251 wxWindow
*arg1
= (wxWindow
*) 0 ;
31252 int arg2
= (int) wxBOTH
;
31257 PyObject
* obj0
= 0 ;
31258 PyObject
* obj1
= 0 ;
31259 char * kwnames
[] = {
31260 (char *) "self",(char *) "dir", NULL
31263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31265 if (!SWIG_IsOK(res1
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
31268 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31271 if (!SWIG_IsOK(ecode2
)) {
31272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
31274 arg2
= static_cast< int >(val2
);
31277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31278 (arg1
)->CenterOnParent(arg2
);
31279 wxPyEndAllowThreads(__tstate
);
31280 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= SWIG_Py_Void();
31289 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31290 PyObject
*resultobj
= 0;
31291 wxWindow
*arg1
= (wxWindow
*) 0 ;
31294 PyObject
*swig_obj
[1] ;
31296 if (!args
) SWIG_fail
;
31297 swig_obj
[0] = args
;
31298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31299 if (!SWIG_IsOK(res1
)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
31302 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_Py_Void();
31316 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31317 PyObject
*resultobj
= 0;
31318 wxWindow
*arg1
= (wxWindow
*) 0 ;
31321 PyObject
*swig_obj
[1] ;
31323 if (!args
) SWIG_fail
;
31324 swig_obj
[0] = args
;
31325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31326 if (!SWIG_IsOK(res1
)) {
31327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
31329 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 (arg1
)->FitInside();
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_Py_Void();
31343 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= 0;
31345 wxWindow
*arg1
= (wxWindow
*) 0 ;
31348 int arg4
= (int) -1 ;
31349 int arg5
= (int) -1 ;
31350 int arg6
= (int) -1 ;
31351 int arg7
= (int) -1 ;
31366 PyObject
* obj0
= 0 ;
31367 PyObject
* obj1
= 0 ;
31368 PyObject
* obj2
= 0 ;
31369 PyObject
* obj3
= 0 ;
31370 PyObject
* obj4
= 0 ;
31371 PyObject
* obj5
= 0 ;
31372 PyObject
* obj6
= 0 ;
31373 char * kwnames
[] = {
31374 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
31377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31379 if (!SWIG_IsOK(res1
)) {
31380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31382 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31384 if (!SWIG_IsOK(ecode2
)) {
31385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
31387 arg2
= static_cast< int >(val2
);
31388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31389 if (!SWIG_IsOK(ecode3
)) {
31390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
31392 arg3
= static_cast< int >(val3
);
31394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31395 if (!SWIG_IsOK(ecode4
)) {
31396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
31398 arg4
= static_cast< int >(val4
);
31401 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31402 if (!SWIG_IsOK(ecode5
)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
31405 arg5
= static_cast< int >(val5
);
31408 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31409 if (!SWIG_IsOK(ecode6
)) {
31410 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
31412 arg6
= static_cast< int >(val6
);
31415 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31416 if (!SWIG_IsOK(ecode7
)) {
31417 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
31419 arg7
= static_cast< int >(val7
);
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31424 wxPyEndAllowThreads(__tstate
);
31425 if (PyErr_Occurred()) SWIG_fail
;
31427 resultobj
= SWIG_Py_Void();
31434 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31435 PyObject
*resultobj
= 0;
31436 wxWindow
*arg1
= (wxWindow
*) 0 ;
31438 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31439 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31440 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31441 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31447 PyObject
* obj0
= 0 ;
31448 PyObject
* obj1
= 0 ;
31449 PyObject
* obj2
= 0 ;
31450 PyObject
* obj3
= 0 ;
31451 char * kwnames
[] = {
31452 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
31455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31457 if (!SWIG_IsOK(res1
)) {
31458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31463 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31468 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31474 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
31480 wxPyEndAllowThreads(__tstate
);
31481 if (PyErr_Occurred()) SWIG_fail
;
31483 resultobj
= SWIG_Py_Void();
31490 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31491 PyObject
*resultobj
= 0;
31492 wxWindow
*arg1
= (wxWindow
*) 0 ;
31495 int arg4
= (int) -1 ;
31496 int arg5
= (int) -1 ;
31507 PyObject
* obj0
= 0 ;
31508 PyObject
* obj1
= 0 ;
31509 PyObject
* obj2
= 0 ;
31510 PyObject
* obj3
= 0 ;
31511 PyObject
* obj4
= 0 ;
31512 char * kwnames
[] = {
31513 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
31516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31518 if (!SWIG_IsOK(res1
)) {
31519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31523 if (!SWIG_IsOK(ecode2
)) {
31524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
31526 arg2
= static_cast< int >(val2
);
31527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31528 if (!SWIG_IsOK(ecode3
)) {
31529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
31531 arg3
= static_cast< int >(val3
);
31533 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31534 if (!SWIG_IsOK(ecode4
)) {
31535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
31537 arg4
= static_cast< int >(val4
);
31540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31541 if (!SWIG_IsOK(ecode5
)) {
31542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
31544 arg5
= static_cast< int >(val5
);
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
31549 wxPyEndAllowThreads(__tstate
);
31550 if (PyErr_Occurred()) SWIG_fail
;
31552 resultobj
= SWIG_Py_Void();
31559 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31560 PyObject
*resultobj
= 0;
31561 wxWindow
*arg1
= (wxWindow
*) 0 ;
31563 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31564 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31569 PyObject
* obj0
= 0 ;
31570 PyObject
* obj1
= 0 ;
31571 PyObject
* obj2
= 0 ;
31572 char * kwnames
[] = {
31573 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
31576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31578 if (!SWIG_IsOK(res1
)) {
31579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31584 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31589 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31594 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
31595 wxPyEndAllowThreads(__tstate
);
31596 if (PyErr_Occurred()) SWIG_fail
;
31598 resultobj
= SWIG_Py_Void();
31605 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31606 PyObject
*resultobj
= 0;
31607 wxWindow
*arg1
= (wxWindow
*) 0 ;
31611 PyObject
*swig_obj
[1] ;
31613 if (!args
) SWIG_fail
;
31614 swig_obj
[0] = args
;
31615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31616 if (!SWIG_IsOK(res1
)) {
31617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31622 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
31623 wxPyEndAllowThreads(__tstate
);
31624 if (PyErr_Occurred()) SWIG_fail
;
31626 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31633 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31634 PyObject
*resultobj
= 0;
31635 wxWindow
*arg1
= (wxWindow
*) 0 ;
31639 PyObject
*swig_obj
[1] ;
31641 if (!args
) SWIG_fail
;
31642 swig_obj
[0] = args
;
31643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31644 if (!SWIG_IsOK(res1
)) {
31645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31647 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 result
= ((wxWindow
const *)arg1
)->GetMinSize();
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31661 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
= 0;
31663 wxWindow
*arg1
= (wxWindow
*) 0 ;
31668 PyObject
* obj0
= 0 ;
31669 PyObject
* obj1
= 0 ;
31670 char * kwnames
[] = {
31671 (char *) "self",(char *) "minSize", NULL
31674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31676 if (!SWIG_IsOK(res1
)) {
31677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31679 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31682 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31686 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31687 wxPyEndAllowThreads(__tstate
);
31688 if (PyErr_Occurred()) SWIG_fail
;
31690 resultobj
= SWIG_Py_Void();
31697 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31698 PyObject
*resultobj
= 0;
31699 wxWindow
*arg1
= (wxWindow
*) 0 ;
31704 PyObject
* obj0
= 0 ;
31705 PyObject
* obj1
= 0 ;
31706 char * kwnames
[] = {
31707 (char *) "self",(char *) "maxSize", NULL
31710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31712 if (!SWIG_IsOK(res1
)) {
31713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31715 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31718 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_Py_Void();
31733 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(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_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31747 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31750 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= SWIG_From_int(static_cast< int >(result
));
31761 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31762 PyObject
*resultobj
= 0;
31763 wxWindow
*arg1
= (wxWindow
*) 0 ;
31767 PyObject
*swig_obj
[1] ;
31769 if (!args
) SWIG_fail
;
31770 swig_obj
[0] = args
;
31771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31772 if (!SWIG_IsOK(res1
)) {
31773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31775 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31782 resultobj
= SWIG_From_int(static_cast< int >(result
));
31789 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31790 PyObject
*resultobj
= 0;
31791 wxWindow
*arg1
= (wxWindow
*) 0 ;
31795 PyObject
*swig_obj
[1] ;
31797 if (!args
) SWIG_fail
;
31798 swig_obj
[0] = args
;
31799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31800 if (!SWIG_IsOK(res1
)) {
31801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31803 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31806 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31810 resultobj
= SWIG_From_int(static_cast< int >(result
));
31817 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31818 PyObject
*resultobj
= 0;
31819 wxWindow
*arg1
= (wxWindow
*) 0 ;
31823 PyObject
*swig_obj
[1] ;
31825 if (!args
) SWIG_fail
;
31826 swig_obj
[0] = args
;
31827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31828 if (!SWIG_IsOK(res1
)) {
31829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31831 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31834 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= SWIG_From_int(static_cast< int >(result
));
31845 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31846 PyObject
*resultobj
= 0;
31847 wxWindow
*arg1
= (wxWindow
*) 0 ;
31852 PyObject
* obj0
= 0 ;
31853 PyObject
* obj1
= 0 ;
31854 char * kwnames
[] = {
31855 (char *) "self",(char *) "size", NULL
31858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31860 if (!SWIG_IsOK(res1
)) {
31861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
31871 wxPyEndAllowThreads(__tstate
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 resultobj
= SWIG_Py_Void();
31881 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
= 0;
31883 wxWindow
*arg1
= (wxWindow
*) 0 ;
31892 PyObject
* obj0
= 0 ;
31893 PyObject
* obj1
= 0 ;
31894 PyObject
* obj2
= 0 ;
31895 char * kwnames
[] = {
31896 (char *) "self",(char *) "w",(char *) "h", NULL
31899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31901 if (!SWIG_IsOK(res1
)) {
31902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31906 if (!SWIG_IsOK(ecode2
)) {
31907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
31909 arg2
= static_cast< int >(val2
);
31910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31911 if (!SWIG_IsOK(ecode3
)) {
31912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
31914 arg3
= static_cast< int >(val3
);
31916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31917 (arg1
)->SetVirtualSize(arg2
,arg3
);
31918 wxPyEndAllowThreads(__tstate
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31921 resultobj
= SWIG_Py_Void();
31928 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31929 PyObject
*resultobj
= 0;
31930 wxWindow
*arg1
= (wxWindow
*) 0 ;
31934 PyObject
*swig_obj
[1] ;
31936 if (!args
) SWIG_fail
;
31937 swig_obj
[0] = args
;
31938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31939 if (!SWIG_IsOK(res1
)) {
31940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31942 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31945 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
31946 wxPyEndAllowThreads(__tstate
);
31947 if (PyErr_Occurred()) SWIG_fail
;
31949 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31956 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31957 PyObject
*resultobj
= 0;
31958 wxWindow
*arg1
= (wxWindow
*) 0 ;
31959 int *arg2
= (int *) 0 ;
31960 int *arg3
= (int *) 0 ;
31964 int res2
= SWIG_TMPOBJ
;
31966 int res3
= SWIG_TMPOBJ
;
31967 PyObject
*swig_obj
[1] ;
31971 if (!args
) SWIG_fail
;
31972 swig_obj
[0] = args
;
31973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31974 if (!SWIG_IsOK(res1
)) {
31975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31977 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31984 resultobj
= SWIG_Py_Void();
31985 if (SWIG_IsTmpObj(res2
)) {
31986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31988 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31991 if (SWIG_IsTmpObj(res3
)) {
31992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31994 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32003 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32004 PyObject
*resultobj
= 0;
32005 wxWindow
*arg1
= (wxWindow
*) 0 ;
32009 PyObject
*swig_obj
[1] ;
32011 if (!args
) SWIG_fail
;
32012 swig_obj
[0] = args
;
32013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32014 if (!SWIG_IsOK(res1
)) {
32015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
32021 wxPyEndAllowThreads(__tstate
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32024 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32031 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32032 PyObject
*resultobj
= 0;
32033 wxWindow
*arg1
= (wxWindow
*) 0 ;
32034 bool arg2
= (bool) true ;
32040 PyObject
* obj0
= 0 ;
32041 PyObject
* obj1
= 0 ;
32042 char * kwnames
[] = {
32043 (char *) "self",(char *) "show", NULL
32046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32048 if (!SWIG_IsOK(res1
)) {
32049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
32051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32053 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32054 if (!SWIG_IsOK(ecode2
)) {
32055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
32057 arg2
= static_cast< bool >(val2
);
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= (bool)(arg1
)->Show(arg2
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32074 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32075 PyObject
*resultobj
= 0;
32076 wxWindow
*arg1
= (wxWindow
*) 0 ;
32080 PyObject
*swig_obj
[1] ;
32082 if (!args
) SWIG_fail
;
32083 swig_obj
[0] = args
;
32084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32085 if (!SWIG_IsOK(res1
)) {
32086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
32088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32091 result
= (bool)(arg1
)->Hide();
32092 wxPyEndAllowThreads(__tstate
);
32093 if (PyErr_Occurred()) SWIG_fail
;
32096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32104 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32105 PyObject
*resultobj
= 0;
32106 wxWindow
*arg1
= (wxWindow
*) 0 ;
32107 bool arg2
= (bool) true ;
32113 PyObject
* obj0
= 0 ;
32114 PyObject
* obj1
= 0 ;
32115 char * kwnames
[] = {
32116 (char *) "self",(char *) "enable", NULL
32119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32121 if (!SWIG_IsOK(res1
)) {
32122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
32124 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32126 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32127 if (!SWIG_IsOK(ecode2
)) {
32128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
32130 arg2
= static_cast< bool >(val2
);
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 result
= (bool)(arg1
)->Enable(arg2
);
32135 wxPyEndAllowThreads(__tstate
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32147 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32148 PyObject
*resultobj
= 0;
32149 wxWindow
*arg1
= (wxWindow
*) 0 ;
32153 PyObject
*swig_obj
[1] ;
32155 if (!args
) SWIG_fail
;
32156 swig_obj
[0] = args
;
32157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32158 if (!SWIG_IsOK(res1
)) {
32159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
32161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 result
= (bool)(arg1
)->Disable();
32165 wxPyEndAllowThreads(__tstate
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32177 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32178 PyObject
*resultobj
= 0;
32179 wxWindow
*arg1
= (wxWindow
*) 0 ;
32183 PyObject
*swig_obj
[1] ;
32185 if (!args
) SWIG_fail
;
32186 swig_obj
[0] = args
;
32187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32188 if (!SWIG_IsOK(res1
)) {
32189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
32191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32207 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32208 PyObject
*resultobj
= 0;
32209 wxWindow
*arg1
= (wxWindow
*) 0 ;
32213 PyObject
*swig_obj
[1] ;
32215 if (!args
) SWIG_fail
;
32216 swig_obj
[0] = args
;
32217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32218 if (!SWIG_IsOK(res1
)) {
32219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32221 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32237 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32238 PyObject
*resultobj
= 0;
32239 wxWindow
*arg1
= (wxWindow
*) 0 ;
32245 PyObject
* obj0
= 0 ;
32246 PyObject
* obj1
= 0 ;
32247 char * kwnames
[] = {
32248 (char *) "self",(char *) "style", NULL
32251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32253 if (!SWIG_IsOK(res1
)) {
32254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
32256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32257 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32258 if (!SWIG_IsOK(ecode2
)) {
32259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
32261 arg2
= static_cast< long >(val2
);
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 (arg1
)->SetWindowStyleFlag(arg2
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 resultobj
= SWIG_Py_Void();
32275 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32276 PyObject
*resultobj
= 0;
32277 wxWindow
*arg1
= (wxWindow
*) 0 ;
32281 PyObject
*swig_obj
[1] ;
32283 if (!args
) SWIG_fail
;
32284 swig_obj
[0] = args
;
32285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32286 if (!SWIG_IsOK(res1
)) {
32287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32289 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32296 resultobj
= SWIG_From_long(static_cast< long >(result
));
32303 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
= 0;
32305 wxWindow
*arg1
= (wxWindow
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char * kwnames
[] = {
32315 (char *) "self",(char *) "flag", NULL
32318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32320 if (!SWIG_IsOK(res1
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32323 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32325 if (!SWIG_IsOK(ecode2
)) {
32326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
32328 arg2
= static_cast< int >(val2
);
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32344 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32345 PyObject
*resultobj
= 0;
32346 wxWindow
*arg1
= (wxWindow
*) 0 ;
32350 PyObject
*swig_obj
[1] ;
32352 if (!args
) SWIG_fail
;
32353 swig_obj
[0] = args
;
32354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32355 if (!SWIG_IsOK(res1
)) {
32356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
32358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32374 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
= 0;
32376 wxWindow
*arg1
= (wxWindow
*) 0 ;
32382 PyObject
* obj0
= 0 ;
32383 PyObject
* obj1
= 0 ;
32384 char * kwnames
[] = {
32385 (char *) "self",(char *) "exStyle", NULL
32388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32390 if (!SWIG_IsOK(res1
)) {
32391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
32393 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32394 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32395 if (!SWIG_IsOK(ecode2
)) {
32396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
32398 arg2
= static_cast< long >(val2
);
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->SetExtraStyle(arg2
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_Py_Void();
32412 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32413 PyObject
*resultobj
= 0;
32414 wxWindow
*arg1
= (wxWindow
*) 0 ;
32418 PyObject
*swig_obj
[1] ;
32420 if (!args
) SWIG_fail
;
32421 swig_obj
[0] = args
;
32422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32423 if (!SWIG_IsOK(res1
)) {
32424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
32426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32429 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
32430 wxPyEndAllowThreads(__tstate
);
32431 if (PyErr_Occurred()) SWIG_fail
;
32433 resultobj
= SWIG_From_long(static_cast< long >(result
));
32440 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32441 PyObject
*resultobj
= 0;
32442 wxWindow
*arg1
= (wxWindow
*) 0 ;
32443 bool arg2
= (bool) true ;
32448 PyObject
* obj0
= 0 ;
32449 PyObject
* obj1
= 0 ;
32450 char * kwnames
[] = {
32451 (char *) "self",(char *) "modal", NULL
32454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32456 if (!SWIG_IsOK(res1
)) {
32457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
32459 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32461 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32462 if (!SWIG_IsOK(ecode2
)) {
32463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
32465 arg2
= static_cast< bool >(val2
);
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 (arg1
)->MakeModal(arg2
);
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= SWIG_Py_Void();
32480 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
= 0;
32482 wxWindow
*arg1
= (wxWindow
*) 0 ;
32488 PyObject
* obj0
= 0 ;
32489 PyObject
* obj1
= 0 ;
32490 char * kwnames
[] = {
32491 (char *) "self",(char *) "enableTheme", NULL
32494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32496 if (!SWIG_IsOK(res1
)) {
32497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
32499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32500 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32501 if (!SWIG_IsOK(ecode2
)) {
32502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
32504 arg2
= static_cast< bool >(val2
);
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->SetThemeEnabled(arg2
);
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32511 resultobj
= SWIG_Py_Void();
32518 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32519 PyObject
*resultobj
= 0;
32520 wxWindow
*arg1
= (wxWindow
*) 0 ;
32524 PyObject
*swig_obj
[1] ;
32526 if (!args
) SWIG_fail
;
32527 swig_obj
[0] = args
;
32528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32529 if (!SWIG_IsOK(res1
)) {
32530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32548 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32549 PyObject
*resultobj
= 0;
32550 wxWindow
*arg1
= (wxWindow
*) 0 ;
32553 PyObject
*swig_obj
[1] ;
32555 if (!args
) SWIG_fail
;
32556 swig_obj
[0] = args
;
32557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32558 if (!SWIG_IsOK(res1
)) {
32559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
32561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32564 (arg1
)->SetFocus();
32565 wxPyEndAllowThreads(__tstate
);
32566 if (PyErr_Occurred()) SWIG_fail
;
32568 resultobj
= SWIG_Py_Void();
32575 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32576 PyObject
*resultobj
= 0;
32577 wxWindow
*arg1
= (wxWindow
*) 0 ;
32580 PyObject
*swig_obj
[1] ;
32582 if (!args
) SWIG_fail
;
32583 swig_obj
[0] = args
;
32584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32585 if (!SWIG_IsOK(res1
)) {
32586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
32588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32591 (arg1
)->SetFocusFromKbd();
32592 wxPyEndAllowThreads(__tstate
);
32593 if (PyErr_Occurred()) SWIG_fail
;
32595 resultobj
= SWIG_Py_Void();
32602 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32603 PyObject
*resultobj
= 0;
32604 wxWindow
*result
= 0 ;
32606 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
32608 if (!wxPyCheckForApp()) SWIG_fail
;
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 result
= (wxWindow
*)wxWindow::FindFocus();
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= wxPyMake_wxObject(result
, 0);
32623 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32624 PyObject
*resultobj
= 0;
32625 wxWindow
*arg1
= (wxWindow
*) 0 ;
32629 PyObject
*swig_obj
[1] ;
32631 if (!args
) SWIG_fail
;
32632 swig_obj
[0] = args
;
32633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32634 if (!SWIG_IsOK(res1
)) {
32635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
32637 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32640 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32653 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32654 PyObject
*resultobj
= 0;
32655 wxWindow
*arg1
= (wxWindow
*) 0 ;
32659 PyObject
*swig_obj
[1] ;
32661 if (!args
) SWIG_fail
;
32662 swig_obj
[0] = args
;
32663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32664 if (!SWIG_IsOK(res1
)) {
32665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
32667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32670 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
32671 wxPyEndAllowThreads(__tstate
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32683 SWIGINTERN PyObject
*_wrap_Window_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32684 PyObject
*resultobj
= 0;
32685 wxWindow
*arg1
= (wxWindow
*) 0 ;
32686 wxWindow
*result
= 0 ;
32689 PyObject
*swig_obj
[1] ;
32691 if (!args
) SWIG_fail
;
32692 swig_obj
[0] = args
;
32693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32694 if (!SWIG_IsOK(res1
)) {
32695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultItem" "', expected argument " "1"" of type '" "wxWindow const *""'");
32697 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32700 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
32701 wxPyEndAllowThreads(__tstate
);
32702 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= wxPyMake_wxObject(result
, 0);
32713 SWIGINTERN PyObject
*_wrap_Window_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxWindow
*arg1
= (wxWindow
*) 0 ;
32716 wxWindow
*arg2
= (wxWindow
*) 0 ;
32717 wxWindow
*result
= 0 ;
32722 PyObject
* obj0
= 0 ;
32723 PyObject
* obj1
= 0 ;
32724 char * kwnames
[] = {
32725 (char *) "self",(char *) "child", NULL
32728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32730 if (!SWIG_IsOK(res1
)) {
32731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32733 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32735 if (!SWIG_IsOK(res2
)) {
32736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32738 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= wxPyMake_wxObject(result
, 0);
32754 SWIGINTERN PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32755 PyObject
*resultobj
= 0;
32756 wxWindow
*arg1
= (wxWindow
*) 0 ;
32757 wxWindow
*arg2
= (wxWindow
*) 0 ;
32762 PyObject
* obj0
= 0 ;
32763 PyObject
* obj1
= 0 ;
32764 char * kwnames
[] = {
32765 (char *) "self",(char *) "win", NULL
32768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32770 if (!SWIG_IsOK(res1
)) {
32771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32775 if (!SWIG_IsOK(res2
)) {
32776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32778 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 (arg1
)->SetTmpDefaultItem(arg2
);
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32785 resultobj
= SWIG_Py_Void();
32792 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32793 PyObject
*resultobj
= 0;
32794 wxWindow
*arg1
= (wxWindow
*) 0 ;
32795 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
32801 PyObject
* obj0
= 0 ;
32802 PyObject
* obj1
= 0 ;
32803 char * kwnames
[] = {
32804 (char *) "self",(char *) "flags", NULL
32807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32809 if (!SWIG_IsOK(res1
)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
32812 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32815 if (!SWIG_IsOK(ecode2
)) {
32816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
32818 arg2
= static_cast< int >(val2
);
32821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32822 result
= (bool)(arg1
)->Navigate(arg2
);
32823 wxPyEndAllowThreads(__tstate
);
32824 if (PyErr_Occurred()) SWIG_fail
;
32827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32835 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32836 PyObject
*resultobj
= 0;
32837 wxWindow
*arg1
= (wxWindow
*) 0 ;
32838 wxWindow
*arg2
= (wxWindow
*) 0 ;
32843 PyObject
* obj0
= 0 ;
32844 PyObject
* obj1
= 0 ;
32845 char * kwnames
[] = {
32846 (char *) "self",(char *) "win", NULL
32849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32851 if (!SWIG_IsOK(res1
)) {
32852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32854 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32856 if (!SWIG_IsOK(res2
)) {
32857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 (arg1
)->MoveAfterInTabOrder(arg2
);
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= SWIG_Py_Void();
32873 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
= 0;
32875 wxWindow
*arg1
= (wxWindow
*) 0 ;
32876 wxWindow
*arg2
= (wxWindow
*) 0 ;
32881 PyObject
* obj0
= 0 ;
32882 PyObject
* obj1
= 0 ;
32883 char * kwnames
[] = {
32884 (char *) "self",(char *) "win", NULL
32887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32889 if (!SWIG_IsOK(res1
)) {
32890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32894 if (!SWIG_IsOK(res2
)) {
32895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32897 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 (arg1
)->MoveBeforeInTabOrder(arg2
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 resultobj
= SWIG_Py_Void();
32911 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32912 PyObject
*resultobj
= 0;
32913 wxWindow
*arg1
= (wxWindow
*) 0 ;
32914 PyObject
*result
= 0 ;
32917 PyObject
*swig_obj
[1] ;
32919 if (!args
) SWIG_fail
;
32920 swig_obj
[0] = args
;
32921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32922 if (!SWIG_IsOK(res1
)) {
32923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
32925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= result
;
32939 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32940 PyObject
*resultobj
= 0;
32941 wxWindow
*arg1
= (wxWindow
*) 0 ;
32942 wxWindow
*result
= 0 ;
32945 PyObject
*swig_obj
[1] ;
32947 if (!args
) SWIG_fail
;
32948 swig_obj
[0] = args
;
32949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32950 if (!SWIG_IsOK(res1
)) {
32951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32953 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32961 resultobj
= wxPyMake_wxObject(result
, 0);
32969 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32970 PyObject
*resultobj
= 0;
32971 wxWindow
*arg1
= (wxWindow
*) 0 ;
32972 wxWindow
*result
= 0 ;
32975 PyObject
*swig_obj
[1] ;
32977 if (!args
) SWIG_fail
;
32978 swig_obj
[0] = args
;
32979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32980 if (!SWIG_IsOK(res1
)) {
32981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32991 resultobj
= wxPyMake_wxObject(result
, 0);
32999 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33000 PyObject
*resultobj
= 0;
33001 wxWindow
*arg1
= (wxWindow
*) 0 ;
33005 PyObject
*swig_obj
[1] ;
33007 if (!args
) SWIG_fail
;
33008 swig_obj
[0] = args
;
33009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33010 if (!SWIG_IsOK(res1
)) {
33011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
33013 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33016 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33029 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33030 PyObject
*resultobj
= 0;
33031 wxWindow
*arg1
= (wxWindow
*) 0 ;
33032 wxWindow
*arg2
= (wxWindow
*) 0 ;
33038 PyObject
* obj0
= 0 ;
33039 PyObject
* obj1
= 0 ;
33040 char * kwnames
[] = {
33041 (char *) "self",(char *) "newParent", NULL
33044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33046 if (!SWIG_IsOK(res1
)) {
33047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
33049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33051 if (!SWIG_IsOK(res2
)) {
33052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
33054 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 result
= (bool)(arg1
)->Reparent(arg2
);
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33070 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33071 PyObject
*resultobj
= 0;
33072 wxWindow
*arg1
= (wxWindow
*) 0 ;
33073 wxWindow
*arg2
= (wxWindow
*) 0 ;
33078 PyObject
* obj0
= 0 ;
33079 PyObject
* obj1
= 0 ;
33080 char * kwnames
[] = {
33081 (char *) "self",(char *) "child", NULL
33084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33086 if (!SWIG_IsOK(res1
)) {
33087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33089 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33091 if (!SWIG_IsOK(res2
)) {
33092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 (arg1
)->AddChild(arg2
);
33098 wxPyEndAllowThreads(__tstate
);
33099 if (PyErr_Occurred()) SWIG_fail
;
33101 resultobj
= SWIG_Py_Void();
33108 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33109 PyObject
*resultobj
= 0;
33110 wxWindow
*arg1
= (wxWindow
*) 0 ;
33111 wxWindow
*arg2
= (wxWindow
*) 0 ;
33116 PyObject
* obj0
= 0 ;
33117 PyObject
* obj1
= 0 ;
33118 char * kwnames
[] = {
33119 (char *) "self",(char *) "child", NULL
33122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33124 if (!SWIG_IsOK(res1
)) {
33125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33127 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33129 if (!SWIG_IsOK(res2
)) {
33130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33132 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33135 (arg1
)->RemoveChild(arg2
);
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33139 resultobj
= SWIG_Py_Void();
33146 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33147 PyObject
*resultobj
= 0;
33148 wxWindow
*arg1
= (wxWindow
*) 0 ;
33150 wxWindow
*result
= 0 ;
33155 PyObject
* obj0
= 0 ;
33156 PyObject
* obj1
= 0 ;
33157 char * kwnames
[] = {
33158 (char *) "self",(char *) "winid", NULL
33161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33163 if (!SWIG_IsOK(res1
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
33166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33167 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33168 if (!SWIG_IsOK(ecode2
)) {
33169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
33171 arg2
= static_cast< long >(val2
);
33173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33174 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
33175 wxPyEndAllowThreads(__tstate
);
33176 if (PyErr_Occurred()) SWIG_fail
;
33179 resultobj
= wxPyMake_wxObject(result
, 0);
33187 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33188 PyObject
*resultobj
= 0;
33189 wxWindow
*arg1
= (wxWindow
*) 0 ;
33190 wxString
*arg2
= 0 ;
33191 wxWindow
*result
= 0 ;
33194 bool temp2
= false ;
33195 PyObject
* obj0
= 0 ;
33196 PyObject
* obj1
= 0 ;
33197 char * kwnames
[] = {
33198 (char *) "self",(char *) "name", NULL
33201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33203 if (!SWIG_IsOK(res1
)) {
33204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
33206 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33208 arg2
= wxString_in_helper(obj1
);
33209 if (arg2
== NULL
) SWIG_fail
;
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= wxPyMake_wxObject(result
, 0);
33235 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33236 PyObject
*resultobj
= 0;
33237 wxWindow
*arg1
= (wxWindow
*) 0 ;
33238 wxEvtHandler
*result
= 0 ;
33241 PyObject
*swig_obj
[1] ;
33243 if (!args
) SWIG_fail
;
33244 swig_obj
[0] = args
;
33245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33246 if (!SWIG_IsOK(res1
)) {
33247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
33249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33252 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33257 resultobj
= wxPyMake_wxObject(result
, 0);
33265 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33266 PyObject
*resultobj
= 0;
33267 wxWindow
*arg1
= (wxWindow
*) 0 ;
33268 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33273 PyObject
* obj0
= 0 ;
33274 PyObject
* obj1
= 0 ;
33275 char * kwnames
[] = {
33276 (char *) "self",(char *) "handler", NULL
33279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33281 if (!SWIG_IsOK(res1
)) {
33282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33286 if (!SWIG_IsOK(res2
)) {
33287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33289 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33292 (arg1
)->SetEventHandler(arg2
);
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33296 resultobj
= SWIG_Py_Void();
33303 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33304 PyObject
*resultobj
= 0;
33305 wxWindow
*arg1
= (wxWindow
*) 0 ;
33306 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33311 PyObject
* obj0
= 0 ;
33312 PyObject
* obj1
= 0 ;
33313 char * kwnames
[] = {
33314 (char *) "self",(char *) "handler", NULL
33317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33319 if (!SWIG_IsOK(res1
)) {
33320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33324 if (!SWIG_IsOK(res2
)) {
33325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33327 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33330 (arg1
)->PushEventHandler(arg2
);
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33334 resultobj
= SWIG_Py_Void();
33341 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33342 PyObject
*resultobj
= 0;
33343 wxWindow
*arg1
= (wxWindow
*) 0 ;
33344 bool arg2
= (bool) false ;
33345 wxEvtHandler
*result
= 0 ;
33350 PyObject
* obj0
= 0 ;
33351 PyObject
* obj1
= 0 ;
33352 char * kwnames
[] = {
33353 (char *) "self",(char *) "deleteHandler", NULL
33356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33358 if (!SWIG_IsOK(res1
)) {
33359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33363 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33364 if (!SWIG_IsOK(ecode2
)) {
33365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
33367 arg2
= static_cast< bool >(val2
);
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33376 resultobj
= wxPyMake_wxObject(result
, 0);
33384 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33385 PyObject
*resultobj
= 0;
33386 wxWindow
*arg1
= (wxWindow
*) 0 ;
33387 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33393 PyObject
* obj0
= 0 ;
33394 PyObject
* obj1
= 0 ;
33395 char * kwnames
[] = {
33396 (char *) "self",(char *) "handler", NULL
33399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33401 if (!SWIG_IsOK(res1
)) {
33402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33404 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33406 if (!SWIG_IsOK(res2
)) {
33407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33409 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33412 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
33413 wxPyEndAllowThreads(__tstate
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33425 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33426 PyObject
*resultobj
= 0;
33427 wxWindow
*arg1
= (wxWindow
*) 0 ;
33428 wxValidator
*arg2
= 0 ;
33433 PyObject
* obj0
= 0 ;
33434 PyObject
* obj1
= 0 ;
33435 char * kwnames
[] = {
33436 (char *) "self",(char *) "validator", NULL
33439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33441 if (!SWIG_IsOK(res1
)) {
33442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33444 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
33446 if (!SWIG_IsOK(res2
)) {
33447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33452 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
33454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33455 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
33456 wxPyEndAllowThreads(__tstate
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= SWIG_Py_Void();
33466 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33467 PyObject
*resultobj
= 0;
33468 wxWindow
*arg1
= (wxWindow
*) 0 ;
33469 wxValidator
*result
= 0 ;
33472 PyObject
*swig_obj
[1] ;
33474 if (!args
) SWIG_fail
;
33475 swig_obj
[0] = args
;
33476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33477 if (!SWIG_IsOK(res1
)) {
33478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33480 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33483 result
= (wxValidator
*)(arg1
)->GetValidator();
33484 wxPyEndAllowThreads(__tstate
);
33485 if (PyErr_Occurred()) SWIG_fail
;
33488 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33496 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33497 PyObject
*resultobj
= 0;
33498 wxWindow
*arg1
= (wxWindow
*) 0 ;
33502 PyObject
*swig_obj
[1] ;
33504 if (!args
) SWIG_fail
;
33505 swig_obj
[0] = args
;
33506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33507 if (!SWIG_IsOK(res1
)) {
33508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
33510 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 result
= (bool)(arg1
)->Validate();
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33526 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33527 PyObject
*resultobj
= 0;
33528 wxWindow
*arg1
= (wxWindow
*) 0 ;
33532 PyObject
*swig_obj
[1] ;
33534 if (!args
) SWIG_fail
;
33535 swig_obj
[0] = args
;
33536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33537 if (!SWIG_IsOK(res1
)) {
33538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33540 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 result
= (bool)(arg1
)->TransferDataToWindow();
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33556 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33557 PyObject
*resultobj
= 0;
33558 wxWindow
*arg1
= (wxWindow
*) 0 ;
33562 PyObject
*swig_obj
[1] ;
33564 if (!args
) SWIG_fail
;
33565 swig_obj
[0] = args
;
33566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33567 if (!SWIG_IsOK(res1
)) {
33568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33570 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= (bool)(arg1
)->TransferDataFromWindow();
33574 wxPyEndAllowThreads(__tstate
);
33575 if (PyErr_Occurred()) SWIG_fail
;
33578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33586 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33587 PyObject
*resultobj
= 0;
33588 wxWindow
*arg1
= (wxWindow
*) 0 ;
33591 PyObject
*swig_obj
[1] ;
33593 if (!args
) SWIG_fail
;
33594 swig_obj
[0] = args
;
33595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33596 if (!SWIG_IsOK(res1
)) {
33597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33602 (arg1
)->InitDialog();
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= SWIG_Py_Void();
33613 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
= 0;
33615 wxWindow
*arg1
= (wxWindow
*) 0 ;
33616 wxAcceleratorTable
*arg2
= 0 ;
33621 PyObject
* obj0
= 0 ;
33622 PyObject
* obj1
= 0 ;
33623 char * kwnames
[] = {
33624 (char *) "self",(char *) "accel", NULL
33627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33629 if (!SWIG_IsOK(res1
)) {
33630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33632 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
33634 if (!SWIG_IsOK(res2
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33640 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33643 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= SWIG_Py_Void();
33654 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33655 PyObject
*resultobj
= 0;
33656 wxWindow
*arg1
= (wxWindow
*) 0 ;
33657 wxAcceleratorTable
*result
= 0 ;
33660 PyObject
*swig_obj
[1] ;
33662 if (!args
) SWIG_fail
;
33663 swig_obj
[0] = args
;
33664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33665 if (!SWIG_IsOK(res1
)) {
33666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33668 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33671 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
33672 wxPyEndAllowThreads(__tstate
);
33673 if (PyErr_Occurred()) SWIG_fail
;
33675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
33682 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33683 PyObject
*resultobj
= 0;
33684 wxWindow
*arg1
= (wxWindow
*) 0 ;
33697 PyObject
* obj0
= 0 ;
33698 PyObject
* obj1
= 0 ;
33699 PyObject
* obj2
= 0 ;
33700 PyObject
* obj3
= 0 ;
33701 char * kwnames
[] = {
33702 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
33705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33707 if (!SWIG_IsOK(res1
)) {
33708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33710 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33712 if (!SWIG_IsOK(ecode2
)) {
33713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
33715 arg2
= static_cast< int >(val2
);
33716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33717 if (!SWIG_IsOK(ecode3
)) {
33718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
33720 arg3
= static_cast< int >(val3
);
33721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33722 if (!SWIG_IsOK(ecode4
)) {
33723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
33725 arg4
= static_cast< int >(val4
);
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
33729 wxPyEndAllowThreads(__tstate
);
33730 if (PyErr_Occurred()) SWIG_fail
;
33733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33741 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33742 PyObject
*resultobj
= 0;
33743 wxWindow
*arg1
= (wxWindow
*) 0 ;
33750 PyObject
* obj0
= 0 ;
33751 PyObject
* obj1
= 0 ;
33752 char * kwnames
[] = {
33753 (char *) "self",(char *) "hotkeyId", NULL
33756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33758 if (!SWIG_IsOK(res1
)) {
33759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33763 if (!SWIG_IsOK(ecode2
)) {
33764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
33766 arg2
= static_cast< int >(val2
);
33768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33769 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
33770 wxPyEndAllowThreads(__tstate
);
33771 if (PyErr_Occurred()) SWIG_fail
;
33774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33782 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33783 PyObject
*resultobj
= 0;
33784 wxWindow
*arg1
= (wxWindow
*) 0 ;
33785 wxPoint
*arg2
= 0 ;
33790 PyObject
* obj0
= 0 ;
33791 PyObject
* obj1
= 0 ;
33792 char * kwnames
[] = {
33793 (char *) "self",(char *) "pt", NULL
33796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33798 if (!SWIG_IsOK(res1
)) {
33799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33808 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33812 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33819 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33820 PyObject
*resultobj
= 0;
33821 wxWindow
*arg1
= (wxWindow
*) 0 ;
33827 PyObject
* obj0
= 0 ;
33828 PyObject
* obj1
= 0 ;
33829 char * kwnames
[] = {
33830 (char *) "self",(char *) "sz", NULL
33833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33835 if (!SWIG_IsOK(res1
)) {
33836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33838 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33841 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33856 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
= 0;
33858 wxWindow
*arg1
= (wxWindow
*) 0 ;
33859 wxPoint
*arg2
= 0 ;
33864 PyObject
* obj0
= 0 ;
33865 PyObject
* obj1
= 0 ;
33866 char * kwnames
[] = {
33867 (char *) "self",(char *) "pt", NULL
33870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
33875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33883 wxPyEndAllowThreads(__tstate
);
33884 if (PyErr_Occurred()) SWIG_fail
;
33886 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33893 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33894 PyObject
*resultobj
= 0;
33895 wxWindow
*arg1
= (wxWindow
*) 0 ;
33901 PyObject
* obj0
= 0 ;
33902 PyObject
* obj1
= 0 ;
33903 char * kwnames
[] = {
33904 (char *) "self",(char *) "sz", NULL
33907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33909 if (!SWIG_IsOK(res1
)) {
33910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
33912 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33915 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33920 wxPyEndAllowThreads(__tstate
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33923 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33930 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33931 PyObject
*resultobj
= 0;
33932 wxWindow
*arg1
= (wxWindow
*) 0 ;
33933 wxPoint
*arg2
= 0 ;
33938 PyObject
* obj0
= 0 ;
33939 PyObject
* obj1
= 0 ;
33940 char * kwnames
[] = {
33941 (char *) "self",(char *) "pt", NULL
33944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33946 if (!SWIG_IsOK(res1
)) {
33947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33949 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33956 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33960 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33967 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33968 PyObject
*resultobj
= 0;
33969 wxWindow
*arg1
= (wxWindow
*) 0 ;
33975 PyObject
* obj0
= 0 ;
33976 PyObject
* obj1
= 0 ;
33977 char * kwnames
[] = {
33978 (char *) "self",(char *) "sz", NULL
33981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33983 if (!SWIG_IsOK(res1
)) {
33984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33986 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33989 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34004 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
= 0;
34006 wxWindow
*arg1
= (wxWindow
*) 0 ;
34015 PyObject
* obj0
= 0 ;
34016 PyObject
* obj1
= 0 ;
34017 PyObject
* obj2
= 0 ;
34018 char * kwnames
[] = {
34019 (char *) "self",(char *) "x",(char *) "y", NULL
34022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34024 if (!SWIG_IsOK(res1
)) {
34025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
34027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34029 if (!SWIG_IsOK(ecode2
)) {
34030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
34032 arg2
= static_cast< int >(val2
);
34033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34034 if (!SWIG_IsOK(ecode3
)) {
34035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
34037 arg3
= static_cast< int >(val3
);
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 (arg1
)->WarpPointer(arg2
,arg3
);
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= SWIG_Py_Void();
34051 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34052 PyObject
*resultobj
= 0;
34053 wxWindow
*arg1
= (wxWindow
*) 0 ;
34056 PyObject
*swig_obj
[1] ;
34058 if (!args
) SWIG_fail
;
34059 swig_obj
[0] = args
;
34060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34061 if (!SWIG_IsOK(res1
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34064 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 (arg1
)->CaptureMouse();
34068 wxPyEndAllowThreads(__tstate
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34071 resultobj
= SWIG_Py_Void();
34078 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34079 PyObject
*resultobj
= 0;
34080 wxWindow
*arg1
= (wxWindow
*) 0 ;
34083 PyObject
*swig_obj
[1] ;
34085 if (!args
) SWIG_fail
;
34086 swig_obj
[0] = args
;
34087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34088 if (!SWIG_IsOK(res1
)) {
34089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34091 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34094 (arg1
)->ReleaseMouse();
34095 wxPyEndAllowThreads(__tstate
);
34096 if (PyErr_Occurred()) SWIG_fail
;
34098 resultobj
= SWIG_Py_Void();
34105 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34106 PyObject
*resultobj
= 0;
34107 wxWindow
*result
= 0 ;
34109 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
34111 if (!wxPyCheckForApp()) SWIG_fail
;
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 result
= (wxWindow
*)wxWindow::GetCapture();
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= wxPyMake_wxObject(result
, 0);
34126 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34127 PyObject
*resultobj
= 0;
34128 wxWindow
*arg1
= (wxWindow
*) 0 ;
34132 PyObject
*swig_obj
[1] ;
34134 if (!args
) SWIG_fail
;
34135 swig_obj
[0] = args
;
34136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34137 if (!SWIG_IsOK(res1
)) {
34138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
34140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34156 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34157 PyObject
*resultobj
= 0;
34158 wxWindow
*arg1
= (wxWindow
*) 0 ;
34159 bool arg2
= (bool) true ;
34160 wxRect
*arg3
= (wxRect
*) NULL
;
34167 PyObject
* obj0
= 0 ;
34168 PyObject
* obj1
= 0 ;
34169 PyObject
* obj2
= 0 ;
34170 char * kwnames
[] = {
34171 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
34174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34176 if (!SWIG_IsOK(res1
)) {
34177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
34179 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34181 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34182 if (!SWIG_IsOK(ecode2
)) {
34183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
34185 arg2
= static_cast< bool >(val2
);
34188 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
34189 if (!SWIG_IsOK(res3
)) {
34190 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
34192 arg3
= reinterpret_cast< wxRect
* >(argp3
);
34195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34196 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
34197 wxPyEndAllowThreads(__tstate
);
34198 if (PyErr_Occurred()) SWIG_fail
;
34200 resultobj
= SWIG_Py_Void();
34207 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34208 PyObject
*resultobj
= 0;
34209 wxWindow
*arg1
= (wxWindow
*) 0 ;
34211 bool arg3
= (bool) true ;
34217 PyObject
* obj0
= 0 ;
34218 PyObject
* obj1
= 0 ;
34219 PyObject
* obj2
= 0 ;
34220 char * kwnames
[] = {
34221 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
34224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34226 if (!SWIG_IsOK(res1
)) {
34227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34229 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34232 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34235 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34236 if (!SWIG_IsOK(ecode3
)) {
34237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
34239 arg3
= static_cast< bool >(val3
);
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= SWIG_Py_Void();
34254 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34255 PyObject
*resultobj
= 0;
34256 wxWindow
*arg1
= (wxWindow
*) 0 ;
34259 PyObject
*swig_obj
[1] ;
34261 if (!args
) SWIG_fail
;
34262 swig_obj
[0] = args
;
34263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34264 if (!SWIG_IsOK(res1
)) {
34265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
34267 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= SWIG_Py_Void();
34281 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34282 PyObject
*resultobj
= 0;
34283 wxWindow
*arg1
= (wxWindow
*) 0 ;
34286 PyObject
*swig_obj
[1] ;
34288 if (!args
) SWIG_fail
;
34289 swig_obj
[0] = args
;
34290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34291 if (!SWIG_IsOK(res1
)) {
34292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 (arg1
)->ClearBackground();
34298 wxPyEndAllowThreads(__tstate
);
34299 if (PyErr_Occurred()) SWIG_fail
;
34301 resultobj
= SWIG_Py_Void();
34308 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34309 PyObject
*resultobj
= 0;
34310 wxWindow
*arg1
= (wxWindow
*) 0 ;
34313 PyObject
*swig_obj
[1] ;
34315 if (!args
) SWIG_fail
;
34316 swig_obj
[0] = args
;
34317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34318 if (!SWIG_IsOK(res1
)) {
34319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
34321 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 wxPyEndAllowThreads(__tstate
);
34326 if (PyErr_Occurred()) SWIG_fail
;
34328 resultobj
= SWIG_Py_Void();
34335 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34336 PyObject
*resultobj
= 0;
34337 wxWindow
*arg1
= (wxWindow
*) 0 ;
34340 PyObject
*swig_obj
[1] ;
34342 if (!args
) SWIG_fail
;
34343 swig_obj
[0] = args
;
34344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34345 if (!SWIG_IsOK(res1
)) {
34346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
34348 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34355 resultobj
= SWIG_Py_Void();
34362 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34363 PyObject
*resultobj
= 0;
34364 wxWindow
*arg1
= (wxWindow
*) 0 ;
34370 PyObject
* obj0
= 0 ;
34371 PyObject
* obj1
= 0 ;
34372 char * kwnames
[] = {
34373 (char *) "self",(char *) "dc", NULL
34376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34378 if (!SWIG_IsOK(res1
)) {
34379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
34381 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34383 if (!SWIG_IsOK(res2
)) {
34384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34389 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34392 (arg1
)->PrepareDC(*arg2
);
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 resultobj
= SWIG_Py_Void();
34403 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34404 PyObject
*resultobj
= 0;
34405 wxWindow
*arg1
= (wxWindow
*) 0 ;
34406 wxRegion
*result
= 0 ;
34409 PyObject
*swig_obj
[1] ;
34411 if (!args
) SWIG_fail
;
34412 swig_obj
[0] = args
;
34413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34414 if (!SWIG_IsOK(res1
)) {
34415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
34417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34421 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
34422 result
= (wxRegion
*) &_result_ref
;
34424 wxPyEndAllowThreads(__tstate
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
34434 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34435 PyObject
*resultobj
= 0;
34436 wxWindow
*arg1
= (wxWindow
*) 0 ;
34440 PyObject
*swig_obj
[1] ;
34442 if (!args
) SWIG_fail
;
34443 swig_obj
[0] = args
;
34444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34445 if (!SWIG_IsOK(res1
)) {
34446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34448 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34451 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
34452 wxPyEndAllowThreads(__tstate
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34455 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34462 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34463 PyObject
*resultobj
= 0;
34464 wxWindow
*arg1
= (wxWindow
*) 0 ;
34467 int arg4
= (int) 1 ;
34468 int arg5
= (int) 1 ;
34480 PyObject
* obj0
= 0 ;
34481 PyObject
* obj1
= 0 ;
34482 PyObject
* obj2
= 0 ;
34483 PyObject
* obj3
= 0 ;
34484 PyObject
* obj4
= 0 ;
34485 char * kwnames
[] = {
34486 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
34489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34491 if (!SWIG_IsOK(res1
)) {
34492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
34494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34496 if (!SWIG_IsOK(ecode2
)) {
34497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
34499 arg2
= static_cast< int >(val2
);
34500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34501 if (!SWIG_IsOK(ecode3
)) {
34502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
34504 arg3
= static_cast< int >(val3
);
34506 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34507 if (!SWIG_IsOK(ecode4
)) {
34508 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
34510 arg4
= static_cast< int >(val4
);
34513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34514 if (!SWIG_IsOK(ecode5
)) {
34515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
34517 arg5
= static_cast< int >(val5
);
34520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34521 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
34522 wxPyEndAllowThreads(__tstate
);
34523 if (PyErr_Occurred()) SWIG_fail
;
34526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34534 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34535 PyObject
*resultobj
= 0;
34536 wxWindow
*arg1
= (wxWindow
*) 0 ;
34537 wxPoint
*arg2
= 0 ;
34542 PyObject
* obj0
= 0 ;
34543 PyObject
* obj1
= 0 ;
34544 char * kwnames
[] = {
34545 (char *) "self",(char *) "pt", NULL
34548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34550 if (!SWIG_IsOK(res1
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
34553 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34560 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
34561 wxPyEndAllowThreads(__tstate
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34573 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
= 0;
34575 wxWindow
*arg1
= (wxWindow
*) 0 ;
34581 PyObject
* obj0
= 0 ;
34582 PyObject
* obj1
= 0 ;
34583 char * kwnames
[] = {
34584 (char *) "self",(char *) "rect", NULL
34587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34589 if (!SWIG_IsOK(res1
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34592 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34595 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34599 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34612 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34613 PyObject
*resultobj
= 0;
34614 wxWindow
*arg1
= (wxWindow
*) 0 ;
34615 SwigValueWrapper
<wxVisualAttributes
> result
;
34618 PyObject
*swig_obj
[1] ;
34620 if (!args
) SWIG_fail
;
34621 swig_obj
[0] = args
;
34622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34623 if (!SWIG_IsOK(res1
)) {
34624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
34626 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34633 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34640 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34641 PyObject
*resultobj
= 0;
34642 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
34643 SwigValueWrapper
<wxVisualAttributes
> result
;
34646 PyObject
* obj0
= 0 ;
34647 char * kwnames
[] = {
34648 (char *) "variant", NULL
34651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
34653 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34654 if (!SWIG_IsOK(ecode1
)) {
34655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
34657 arg1
= static_cast< wxWindowVariant
>(val1
);
34660 if (!wxPyCheckForApp()) SWIG_fail
;
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 result
= wxWindow::GetClassDefaultAttributes(arg1
);
34663 wxPyEndAllowThreads(__tstate
);
34664 if (PyErr_Occurred()) SWIG_fail
;
34666 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34673 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34674 PyObject
*resultobj
= 0;
34675 wxWindow
*arg1
= (wxWindow
*) 0 ;
34676 wxColour
*arg2
= 0 ;
34681 PyObject
* obj0
= 0 ;
34682 PyObject
* obj1
= 0 ;
34683 char * kwnames
[] = {
34684 (char *) "self",(char *) "colour", NULL
34687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34689 if (!SWIG_IsOK(res1
)) {
34690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34695 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34699 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
34700 wxPyEndAllowThreads(__tstate
);
34701 if (PyErr_Occurred()) SWIG_fail
;
34704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34712 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34713 PyObject
*resultobj
= 0;
34714 wxWindow
*arg1
= (wxWindow
*) 0 ;
34715 wxColour
*arg2
= 0 ;
34719 PyObject
* obj0
= 0 ;
34720 PyObject
* obj1
= 0 ;
34721 char * kwnames
[] = {
34722 (char *) "self",(char *) "colour", NULL
34725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34727 if (!SWIG_IsOK(res1
)) {
34728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34730 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34733 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34737 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
34738 wxPyEndAllowThreads(__tstate
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34741 resultobj
= SWIG_Py_Void();
34748 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
= 0;
34750 wxWindow
*arg1
= (wxWindow
*) 0 ;
34751 wxColour
*arg2
= 0 ;
34756 PyObject
* obj0
= 0 ;
34757 PyObject
* obj1
= 0 ;
34758 char * kwnames
[] = {
34759 (char *) "self",(char *) "colour", NULL
34762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34764 if (!SWIG_IsOK(res1
)) {
34765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34767 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34770 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34774 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34787 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
= 0;
34789 wxWindow
*arg1
= (wxWindow
*) 0 ;
34790 wxColour
*arg2
= 0 ;
34794 PyObject
* obj0
= 0 ;
34795 PyObject
* obj1
= 0 ;
34796 char * kwnames
[] = {
34797 (char *) "self",(char *) "colour", NULL
34800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34802 if (!SWIG_IsOK(res1
)) {
34803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34812 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
34813 wxPyEndAllowThreads(__tstate
);
34814 if (PyErr_Occurred()) SWIG_fail
;
34816 resultobj
= SWIG_Py_Void();
34823 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34824 PyObject
*resultobj
= 0;
34825 wxWindow
*arg1
= (wxWindow
*) 0 ;
34829 PyObject
*swig_obj
[1] ;
34831 if (!args
) SWIG_fail
;
34832 swig_obj
[0] = args
;
34833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34834 if (!SWIG_IsOK(res1
)) {
34835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34840 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
34841 wxPyEndAllowThreads(__tstate
);
34842 if (PyErr_Occurred()) SWIG_fail
;
34844 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34851 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34852 PyObject
*resultobj
= 0;
34853 wxWindow
*arg1
= (wxWindow
*) 0 ;
34857 PyObject
*swig_obj
[1] ;
34859 if (!args
) SWIG_fail
;
34860 swig_obj
[0] = args
;
34861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34862 if (!SWIG_IsOK(res1
)) {
34863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34868 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34879 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34880 PyObject
*resultobj
= 0;
34881 wxWindow
*arg1
= (wxWindow
*) 0 ;
34885 PyObject
*swig_obj
[1] ;
34887 if (!args
) SWIG_fail
;
34888 swig_obj
[0] = args
;
34889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34890 if (!SWIG_IsOK(res1
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34893 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34896 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
34897 wxPyEndAllowThreads(__tstate
);
34898 if (PyErr_Occurred()) SWIG_fail
;
34901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34909 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34910 PyObject
*resultobj
= 0;
34911 wxWindow
*arg1
= (wxWindow
*) 0 ;
34915 PyObject
*swig_obj
[1] ;
34917 if (!args
) SWIG_fail
;
34918 swig_obj
[0] = args
;
34919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34920 if (!SWIG_IsOK(res1
)) {
34921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
34923 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34939 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
= 0;
34941 wxWindow
*arg1
= (wxWindow
*) 0 ;
34942 wxBackgroundStyle arg2
;
34948 PyObject
* obj0
= 0 ;
34949 PyObject
* obj1
= 0 ;
34950 char * kwnames
[] = {
34951 (char *) "self",(char *) "style", NULL
34954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34956 if (!SWIG_IsOK(res1
)) {
34957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
34959 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34961 if (!SWIG_IsOK(ecode2
)) {
34962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
34964 arg2
= static_cast< wxBackgroundStyle
>(val2
);
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34967 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34980 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34981 PyObject
*resultobj
= 0;
34982 wxWindow
*arg1
= (wxWindow
*) 0 ;
34983 wxBackgroundStyle result
;
34986 PyObject
*swig_obj
[1] ;
34988 if (!args
) SWIG_fail
;
34989 swig_obj
[0] = args
;
34990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34991 if (!SWIG_IsOK(res1
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
34994 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34997 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
34998 wxPyEndAllowThreads(__tstate
);
34999 if (PyErr_Occurred()) SWIG_fail
;
35001 resultobj
= SWIG_From_int(static_cast< int >(result
));
35008 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35009 PyObject
*resultobj
= 0;
35010 wxWindow
*arg1
= (wxWindow
*) 0 ;
35014 PyObject
*swig_obj
[1] ;
35016 if (!args
) SWIG_fail
;
35017 swig_obj
[0] = args
;
35018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35019 if (!SWIG_IsOK(res1
)) {
35020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
35022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35025 result
= (bool)(arg1
)->HasTransparentBackground();
35026 wxPyEndAllowThreads(__tstate
);
35027 if (PyErr_Occurred()) SWIG_fail
;
35030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35038 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35039 PyObject
*resultobj
= 0;
35040 wxWindow
*arg1
= (wxWindow
*) 0 ;
35041 wxCursor
*arg2
= 0 ;
35047 PyObject
* obj0
= 0 ;
35048 PyObject
* obj1
= 0 ;
35049 char * kwnames
[] = {
35050 (char *) "self",(char *) "cursor", NULL
35053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35055 if (!SWIG_IsOK(res1
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
35060 if (!SWIG_IsOK(res2
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
35064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
35066 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35082 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35083 PyObject
*resultobj
= 0;
35084 wxWindow
*arg1
= (wxWindow
*) 0 ;
35088 PyObject
*swig_obj
[1] ;
35090 if (!args
) SWIG_fail
;
35091 swig_obj
[0] = args
;
35092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35093 if (!SWIG_IsOK(res1
)) {
35094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35096 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (arg1
)->GetCursor();
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35103 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
35110 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35111 PyObject
*resultobj
= 0;
35112 wxWindow
*arg1
= (wxWindow
*) 0 ;
35119 PyObject
* obj0
= 0 ;
35120 PyObject
* obj1
= 0 ;
35121 char * kwnames
[] = {
35122 (char *) "self",(char *) "font", NULL
35125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35127 if (!SWIG_IsOK(res1
)) {
35128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35132 if (!SWIG_IsOK(res2
)) {
35133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35138 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
35142 wxPyEndAllowThreads(__tstate
);
35143 if (PyErr_Occurred()) SWIG_fail
;
35146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35154 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35155 PyObject
*resultobj
= 0;
35156 wxWindow
*arg1
= (wxWindow
*) 0 ;
35162 PyObject
* obj0
= 0 ;
35163 PyObject
* obj1
= 0 ;
35164 char * kwnames
[] = {
35165 (char *) "self",(char *) "font", NULL
35168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35170 if (!SWIG_IsOK(res1
)) {
35171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35173 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35175 if (!SWIG_IsOK(res2
)) {
35176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35181 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35184 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= SWIG_Py_Void();
35195 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35196 PyObject
*resultobj
= 0;
35197 wxWindow
*arg1
= (wxWindow
*) 0 ;
35201 PyObject
*swig_obj
[1] ;
35203 if (!args
) SWIG_fail
;
35204 swig_obj
[0] = args
;
35205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35206 if (!SWIG_IsOK(res1
)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35212 result
= (arg1
)->GetFont();
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35216 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35223 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
= 0;
35225 wxWindow
*arg1
= (wxWindow
*) 0 ;
35226 wxCaret
*arg2
= (wxCaret
*) 0 ;
35230 PyObject
* obj0
= 0 ;
35231 PyObject
* obj1
= 0 ;
35232 char * kwnames
[] = {
35233 (char *) "self",(char *) "caret", NULL
35236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35238 if (!SWIG_IsOK(res1
)) {
35239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
35241 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35242 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
35243 if (!SWIG_IsOK(res2
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 (arg1
)->SetCaret(arg2
);
35249 wxPyEndAllowThreads(__tstate
);
35250 if (PyErr_Occurred()) SWIG_fail
;
35252 resultobj
= SWIG_Py_Void();
35259 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35260 PyObject
*resultobj
= 0;
35261 wxWindow
*arg1
= (wxWindow
*) 0 ;
35262 wxCaret
*result
= 0 ;
35265 PyObject
*swig_obj
[1] ;
35267 if (!args
) SWIG_fail
;
35268 swig_obj
[0] = args
;
35269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35270 if (!SWIG_IsOK(res1
)) {
35271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
35273 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35276 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
35277 wxPyEndAllowThreads(__tstate
);
35278 if (PyErr_Occurred()) SWIG_fail
;
35280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
35287 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35288 PyObject
*resultobj
= 0;
35289 wxWindow
*arg1
= (wxWindow
*) 0 ;
35293 PyObject
*swig_obj
[1] ;
35295 if (!args
) SWIG_fail
;
35296 swig_obj
[0] = args
;
35297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35298 if (!SWIG_IsOK(res1
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35301 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35304 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 resultobj
= SWIG_From_int(static_cast< int >(result
));
35315 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35316 PyObject
*resultobj
= 0;
35317 wxWindow
*arg1
= (wxWindow
*) 0 ;
35321 PyObject
*swig_obj
[1] ;
35323 if (!args
) SWIG_fail
;
35324 swig_obj
[0] = args
;
35325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35326 if (!SWIG_IsOK(res1
)) {
35327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35329 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= SWIG_From_int(static_cast< int >(result
));
35343 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
= 0;
35345 wxWindow
*arg1
= (wxWindow
*) 0 ;
35346 wxString
*arg2
= 0 ;
35347 int *arg3
= (int *) 0 ;
35348 int *arg4
= (int *) 0 ;
35351 bool temp2
= false ;
35353 int res3
= SWIG_TMPOBJ
;
35355 int res4
= SWIG_TMPOBJ
;
35356 PyObject
* obj0
= 0 ;
35357 PyObject
* obj1
= 0 ;
35358 char * kwnames
[] = {
35359 (char *) "self",(char *) "string", NULL
35364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35366 if (!SWIG_IsOK(res1
)) {
35367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35371 arg2
= wxString_in_helper(obj1
);
35372 if (arg2
== NULL
) SWIG_fail
;
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
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
));
35408 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
= 0;
35410 wxWindow
*arg1
= (wxWindow
*) 0 ;
35411 wxString
*arg2
= 0 ;
35412 int *arg3
= (int *) 0 ;
35413 int *arg4
= (int *) 0 ;
35414 int *arg5
= (int *) 0 ;
35415 int *arg6
= (int *) 0 ;
35416 wxFont
*arg7
= (wxFont
*) NULL
;
35419 bool temp2
= false ;
35421 int res3
= SWIG_TMPOBJ
;
35423 int res4
= SWIG_TMPOBJ
;
35425 int res5
= SWIG_TMPOBJ
;
35427 int res6
= SWIG_TMPOBJ
;
35430 PyObject
* obj0
= 0 ;
35431 PyObject
* obj1
= 0 ;
35432 PyObject
* obj2
= 0 ;
35433 char * kwnames
[] = {
35434 (char *) "self",(char *) "string",(char *) "font", NULL
35441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35443 if (!SWIG_IsOK(res1
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35448 arg2
= wxString_in_helper(obj1
);
35449 if (arg2
== NULL
) SWIG_fail
;
35453 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
35454 if (!SWIG_IsOK(res7
)) {
35455 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
35457 arg7
= reinterpret_cast< wxFont
* >(argp7
);
35460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35461 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
35462 wxPyEndAllowThreads(__tstate
);
35463 if (PyErr_Occurred()) SWIG_fail
;
35465 resultobj
= SWIG_Py_Void();
35466 if (SWIG_IsTmpObj(res3
)) {
35467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35469 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35472 if (SWIG_IsTmpObj(res4
)) {
35473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35475 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35478 if (SWIG_IsTmpObj(res5
)) {
35479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
35481 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
35484 if (SWIG_IsTmpObj(res6
)) {
35485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
35487 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
35504 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
= 0;
35506 wxWindow
*arg1
= (wxWindow
*) 0 ;
35507 int *arg2
= (int *) 0 ;
35508 int *arg3
= (int *) 0 ;
35515 PyObject
* obj0
= 0 ;
35516 PyObject
* obj1
= 0 ;
35517 PyObject
* obj2
= 0 ;
35518 char * kwnames
[] = {
35519 (char *) "self",(char *) "x",(char *) "y", NULL
35522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35524 if (!SWIG_IsOK(res1
)) {
35525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35528 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35530 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35531 if (!SWIG_IsOK(ecode
)) {
35532 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
35534 temp2
= static_cast< int >(val
);
35536 res2
= SWIG_AddTmpMask(ecode
);
35538 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35540 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35541 if (!SWIG_IsOK(ecode
)) {
35542 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
35544 temp3
= static_cast< int >(val
);
35546 res3
= SWIG_AddTmpMask(ecode
);
35549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35550 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
35551 wxPyEndAllowThreads(__tstate
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35554 resultobj
= SWIG_Py_Void();
35555 if (SWIG_IsTmpObj(res2
)) {
35556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35558 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35561 if (SWIG_IsTmpObj(res3
)) {
35562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35573 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35574 PyObject
*resultobj
= 0;
35575 wxWindow
*arg1
= (wxWindow
*) 0 ;
35576 int *arg2
= (int *) 0 ;
35577 int *arg3
= (int *) 0 ;
35584 PyObject
* obj0
= 0 ;
35585 PyObject
* obj1
= 0 ;
35586 PyObject
* obj2
= 0 ;
35587 char * kwnames
[] = {
35588 (char *) "self",(char *) "x",(char *) "y", NULL
35591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35593 if (!SWIG_IsOK(res1
)) {
35594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35597 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35599 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35600 if (!SWIG_IsOK(ecode
)) {
35601 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
35603 temp2
= static_cast< int >(val
);
35605 res2
= SWIG_AddTmpMask(ecode
);
35607 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35609 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35610 if (!SWIG_IsOK(ecode
)) {
35611 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
35613 temp3
= static_cast< int >(val
);
35615 res3
= SWIG_AddTmpMask(ecode
);
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
35620 wxPyEndAllowThreads(__tstate
);
35621 if (PyErr_Occurred()) SWIG_fail
;
35623 resultobj
= SWIG_Py_Void();
35624 if (SWIG_IsTmpObj(res2
)) {
35625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35627 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35630 if (SWIG_IsTmpObj(res3
)) {
35631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35633 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35642 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
= 0;
35644 wxWindow
*arg1
= (wxWindow
*) 0 ;
35645 wxPoint
*arg2
= 0 ;
35650 PyObject
* obj0
= 0 ;
35651 PyObject
* obj1
= 0 ;
35652 char * kwnames
[] = {
35653 (char *) "self",(char *) "pt", NULL
35656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35658 if (!SWIG_IsOK(res1
)) {
35659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35664 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35679 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxWindow
*arg1
= (wxWindow
*) 0 ;
35682 wxPoint
*arg2
= 0 ;
35687 PyObject
* obj0
= 0 ;
35688 PyObject
* obj1
= 0 ;
35689 char * kwnames
[] = {
35690 (char *) "self",(char *) "pt", NULL
35693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35695 if (!SWIG_IsOK(res1
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
35698 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35705 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
35706 wxPyEndAllowThreads(__tstate
);
35707 if (PyErr_Occurred()) SWIG_fail
;
35709 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35716 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35717 PyObject
*resultobj
= 0;
35718 wxWindow
*arg1
= (wxWindow
*) 0 ;
35728 PyObject
* obj0
= 0 ;
35729 PyObject
* obj1
= 0 ;
35730 PyObject
* obj2
= 0 ;
35731 char * kwnames
[] = {
35732 (char *) "self",(char *) "x",(char *) "y", NULL
35735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35737 if (!SWIG_IsOK(res1
)) {
35738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35742 if (!SWIG_IsOK(ecode2
)) {
35743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
35745 arg2
= static_cast< int >(val2
);
35746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35747 if (!SWIG_IsOK(ecode3
)) {
35748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
35750 arg3
= static_cast< int >(val3
);
35752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35753 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
35754 wxPyEndAllowThreads(__tstate
);
35755 if (PyErr_Occurred()) SWIG_fail
;
35757 resultobj
= SWIG_From_int(static_cast< int >(result
));
35764 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35765 PyObject
*resultobj
= 0;
35766 wxWindow
*arg1
= (wxWindow
*) 0 ;
35767 wxPoint
*arg2
= 0 ;
35772 PyObject
* obj0
= 0 ;
35773 PyObject
* obj1
= 0 ;
35774 char * kwnames
[] = {
35775 (char *) "self",(char *) "pt", NULL
35778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35780 if (!SWIG_IsOK(res1
)) {
35781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
35783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35790 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
35791 wxPyEndAllowThreads(__tstate
);
35792 if (PyErr_Occurred()) SWIG_fail
;
35794 resultobj
= SWIG_From_int(static_cast< int >(result
));
35801 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35802 PyObject
*resultobj
= 0;
35803 wxWindow
*arg1
= (wxWindow
*) 0 ;
35811 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
35812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35813 if (!SWIG_IsOK(res1
)) {
35814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35816 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35817 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
35818 if (!SWIG_IsOK(ecode2
)) {
35819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
35821 arg2
= static_cast< long >(val2
);
35823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35824 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
35825 wxPyEndAllowThreads(__tstate
);
35826 if (PyErr_Occurred()) SWIG_fail
;
35828 resultobj
= SWIG_From_int(static_cast< int >(result
));
35835 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35836 PyObject
*resultobj
= 0;
35837 wxWindow
*arg1
= (wxWindow
*) 0 ;
35842 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
35843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35844 if (!SWIG_IsOK(res1
)) {
35845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35847 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35850 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= SWIG_From_int(static_cast< int >(result
));
35861 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
35865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
35868 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
35871 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
35875 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
35880 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35881 PyObject
*resultobj
= 0;
35882 wxWindow
*arg1
= (wxWindow
*) 0 ;
35883 long arg2
= (long) wxUPDATE_UI_NONE
;
35888 PyObject
* obj0
= 0 ;
35889 PyObject
* obj1
= 0 ;
35890 char * kwnames
[] = {
35891 (char *) "self",(char *) "flags", NULL
35894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35896 if (!SWIG_IsOK(res1
)) {
35897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
35899 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35901 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35902 if (!SWIG_IsOK(ecode2
)) {
35903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
35905 arg2
= static_cast< long >(val2
);
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35909 (arg1
)->UpdateWindowUI(arg2
);
35910 wxPyEndAllowThreads(__tstate
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35913 resultobj
= SWIG_Py_Void();
35920 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35921 PyObject
*resultobj
= 0;
35922 wxWindow
*arg1
= (wxWindow
*) 0 ;
35923 wxMenu
*arg2
= (wxMenu
*) 0 ;
35924 int arg3
= (int) -1 ;
35925 int arg4
= (int) -1 ;
35935 PyObject
* obj0
= 0 ;
35936 PyObject
* obj1
= 0 ;
35937 PyObject
* obj2
= 0 ;
35938 PyObject
* obj3
= 0 ;
35939 char * kwnames
[] = {
35940 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
35943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35945 if (!SWIG_IsOK(res1
)) {
35946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
35948 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35950 if (!SWIG_IsOK(res2
)) {
35951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
35953 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35956 if (!SWIG_IsOK(ecode3
)) {
35957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
35959 arg3
= static_cast< int >(val3
);
35962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35963 if (!SWIG_IsOK(ecode4
)) {
35964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
35966 arg4
= static_cast< int >(val4
);
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35983 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35984 PyObject
*resultobj
= 0;
35985 wxWindow
*arg1
= (wxWindow
*) 0 ;
35986 wxMenu
*arg2
= (wxMenu
*) 0 ;
35987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
35988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
35995 PyObject
* obj0
= 0 ;
35996 PyObject
* obj1
= 0 ;
35997 PyObject
* obj2
= 0 ;
35998 char * kwnames
[] = {
35999 (char *) "self",(char *) "menu",(char *) "pos", NULL
36002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36004 if (!SWIG_IsOK(res1
)) {
36005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
36007 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
36009 if (!SWIG_IsOK(res2
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
36012 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
36016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36021 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
36022 wxPyEndAllowThreads(__tstate
);
36023 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36034 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36035 PyObject
*resultobj
= 0;
36036 wxWindow
*arg1
= (wxWindow
*) 0 ;
36040 PyObject
*swig_obj
[1] ;
36042 if (!args
) SWIG_fail
;
36043 swig_obj
[0] = args
;
36044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36045 if (!SWIG_IsOK(res1
)) {
36046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36051 result
= (long)wxWindow_GetHandle(arg1
);
36052 wxPyEndAllowThreads(__tstate
);
36053 if (PyErr_Occurred()) SWIG_fail
;
36055 resultobj
= SWIG_From_long(static_cast< long >(result
));
36062 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36063 PyObject
*resultobj
= 0;
36064 wxWindow
*arg1
= (wxWindow
*) 0 ;
36070 PyObject
* obj0
= 0 ;
36071 PyObject
* obj1
= 0 ;
36072 char * kwnames
[] = {
36073 (char *) "self",(char *) "handle", NULL
36076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36078 if (!SWIG_IsOK(res1
)) {
36079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36081 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36082 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36083 if (!SWIG_IsOK(ecode2
)) {
36084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
36086 arg2
= static_cast< long >(val2
);
36088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36089 wxWindow_AssociateHandle(arg1
,arg2
);
36090 wxPyEndAllowThreads(__tstate
);
36091 if (PyErr_Occurred()) SWIG_fail
;
36093 resultobj
= SWIG_Py_Void();
36100 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36101 PyObject
*resultobj
= 0;
36102 wxWindow
*arg1
= (wxWindow
*) 0 ;
36105 PyObject
*swig_obj
[1] ;
36107 if (!args
) SWIG_fail
;
36108 swig_obj
[0] = args
;
36109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36110 if (!SWIG_IsOK(res1
)) {
36111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36116 (arg1
)->DissociateHandle();
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 resultobj
= SWIG_Py_Void();
36127 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
= 0;
36129 wxWindow
*arg1
= (wxWindow
*) 0 ;
36136 PyObject
* obj0
= 0 ;
36137 PyObject
* obj1
= 0 ;
36138 char * kwnames
[] = {
36139 (char *) "self",(char *) "orient", NULL
36142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36144 if (!SWIG_IsOK(res1
)) {
36145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
36147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36149 if (!SWIG_IsOK(ecode2
)) {
36150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
36152 arg2
= static_cast< int >(val2
);
36154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36155 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
36156 wxPyEndAllowThreads(__tstate
);
36157 if (PyErr_Occurred()) SWIG_fail
;
36160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36168 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36169 PyObject
*resultobj
= 0;
36170 wxWindow
*arg1
= (wxWindow
*) 0 ;
36175 bool arg6
= (bool) true ;
36188 PyObject
* obj0
= 0 ;
36189 PyObject
* obj1
= 0 ;
36190 PyObject
* obj2
= 0 ;
36191 PyObject
* obj3
= 0 ;
36192 PyObject
* obj4
= 0 ;
36193 PyObject
* obj5
= 0 ;
36194 char * kwnames
[] = {
36195 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
36198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36200 if (!SWIG_IsOK(res1
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
36203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36205 if (!SWIG_IsOK(ecode2
)) {
36206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
36208 arg2
= static_cast< int >(val2
);
36209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36210 if (!SWIG_IsOK(ecode3
)) {
36211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
36213 arg3
= static_cast< int >(val3
);
36214 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36215 if (!SWIG_IsOK(ecode4
)) {
36216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
36218 arg4
= static_cast< int >(val4
);
36219 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36220 if (!SWIG_IsOK(ecode5
)) {
36221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
36223 arg5
= static_cast< int >(val5
);
36225 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
36226 if (!SWIG_IsOK(ecode6
)) {
36227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
36229 arg6
= static_cast< bool >(val6
);
36232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36233 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 resultobj
= SWIG_Py_Void();
36244 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36245 PyObject
*resultobj
= 0;
36246 wxWindow
*arg1
= (wxWindow
*) 0 ;
36249 bool arg4
= (bool) true ;
36258 PyObject
* obj0
= 0 ;
36259 PyObject
* obj1
= 0 ;
36260 PyObject
* obj2
= 0 ;
36261 PyObject
* obj3
= 0 ;
36262 char * kwnames
[] = {
36263 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
36266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36268 if (!SWIG_IsOK(res1
)) {
36269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
36271 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36273 if (!SWIG_IsOK(ecode2
)) {
36274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
36276 arg2
= static_cast< int >(val2
);
36277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36278 if (!SWIG_IsOK(ecode3
)) {
36279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
36281 arg3
= static_cast< int >(val3
);
36283 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
36284 if (!SWIG_IsOK(ecode4
)) {
36285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
36287 arg4
= static_cast< bool >(val4
);
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36295 resultobj
= SWIG_Py_Void();
36302 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36303 PyObject
*resultobj
= 0;
36304 wxWindow
*arg1
= (wxWindow
*) 0 ;
36311 PyObject
* obj0
= 0 ;
36312 PyObject
* obj1
= 0 ;
36313 char * kwnames
[] = {
36314 (char *) "self",(char *) "orientation", NULL
36317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36319 if (!SWIG_IsOK(res1
)) {
36320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
36322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36324 if (!SWIG_IsOK(ecode2
)) {
36325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
36327 arg2
= static_cast< int >(val2
);
36329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36330 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
36331 wxPyEndAllowThreads(__tstate
);
36332 if (PyErr_Occurred()) SWIG_fail
;
36334 resultobj
= SWIG_From_int(static_cast< int >(result
));
36341 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36342 PyObject
*resultobj
= 0;
36343 wxWindow
*arg1
= (wxWindow
*) 0 ;
36350 PyObject
* obj0
= 0 ;
36351 PyObject
* obj1
= 0 ;
36352 char * kwnames
[] = {
36353 (char *) "self",(char *) "orientation", NULL
36356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36358 if (!SWIG_IsOK(res1
)) {
36359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
36361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36363 if (!SWIG_IsOK(ecode2
)) {
36364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
36366 arg2
= static_cast< int >(val2
);
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 resultobj
= SWIG_From_int(static_cast< int >(result
));
36380 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
= 0;
36382 wxWindow
*arg1
= (wxWindow
*) 0 ;
36389 PyObject
* obj0
= 0 ;
36390 PyObject
* obj1
= 0 ;
36391 char * kwnames
[] = {
36392 (char *) "self",(char *) "orientation", NULL
36395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36397 if (!SWIG_IsOK(res1
)) {
36398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
36400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36402 if (!SWIG_IsOK(ecode2
)) {
36403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
36405 arg2
= static_cast< int >(val2
);
36407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36408 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
36409 wxPyEndAllowThreads(__tstate
);
36410 if (PyErr_Occurred()) SWIG_fail
;
36412 resultobj
= SWIG_From_int(static_cast< int >(result
));
36419 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36420 PyObject
*resultobj
= 0;
36421 wxWindow
*arg1
= (wxWindow
*) 0 ;
36424 wxRect
*arg4
= (wxRect
*) NULL
;
36433 PyObject
* obj0
= 0 ;
36434 PyObject
* obj1
= 0 ;
36435 PyObject
* obj2
= 0 ;
36436 PyObject
* obj3
= 0 ;
36437 char * kwnames
[] = {
36438 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
36441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36443 if (!SWIG_IsOK(res1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36448 if (!SWIG_IsOK(ecode2
)) {
36449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
36451 arg2
= static_cast< int >(val2
);
36452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36453 if (!SWIG_IsOK(ecode3
)) {
36454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
36456 arg3
= static_cast< int >(val3
);
36458 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
36459 if (!SWIG_IsOK(res4
)) {
36460 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
36462 arg4
= reinterpret_cast< wxRect
* >(argp4
);
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36470 resultobj
= SWIG_Py_Void();
36477 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36478 PyObject
*resultobj
= 0;
36479 wxWindow
*arg1
= (wxWindow
*) 0 ;
36486 PyObject
* obj0
= 0 ;
36487 PyObject
* obj1
= 0 ;
36488 char * kwnames
[] = {
36489 (char *) "self",(char *) "lines", NULL
36492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36494 if (!SWIG_IsOK(res1
)) {
36495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
36497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36499 if (!SWIG_IsOK(ecode2
)) {
36500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
36502 arg2
= static_cast< int >(val2
);
36504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36505 result
= (bool)(arg1
)->ScrollLines(arg2
);
36506 wxPyEndAllowThreads(__tstate
);
36507 if (PyErr_Occurred()) SWIG_fail
;
36510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36518 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36519 PyObject
*resultobj
= 0;
36520 wxWindow
*arg1
= (wxWindow
*) 0 ;
36527 PyObject
* obj0
= 0 ;
36528 PyObject
* obj1
= 0 ;
36529 char * kwnames
[] = {
36530 (char *) "self",(char *) "pages", NULL
36533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36535 if (!SWIG_IsOK(res1
)) {
36536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
36538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36540 if (!SWIG_IsOK(ecode2
)) {
36541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
36543 arg2
= static_cast< int >(val2
);
36545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36546 result
= (bool)(arg1
)->ScrollPages(arg2
);
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36559 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36560 PyObject
*resultobj
= 0;
36561 wxWindow
*arg1
= (wxWindow
*) 0 ;
36565 PyObject
*swig_obj
[1] ;
36567 if (!args
) SWIG_fail
;
36568 swig_obj
[0] = args
;
36569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36570 if (!SWIG_IsOK(res1
)) {
36571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36573 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36576 result
= (bool)(arg1
)->LineUp();
36577 wxPyEndAllowThreads(__tstate
);
36578 if (PyErr_Occurred()) SWIG_fail
;
36581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36589 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36590 PyObject
*resultobj
= 0;
36591 wxWindow
*arg1
= (wxWindow
*) 0 ;
36595 PyObject
*swig_obj
[1] ;
36597 if (!args
) SWIG_fail
;
36598 swig_obj
[0] = args
;
36599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36600 if (!SWIG_IsOK(res1
)) {
36601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36603 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36606 result
= (bool)(arg1
)->LineDown();
36607 wxPyEndAllowThreads(__tstate
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36619 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36620 PyObject
*resultobj
= 0;
36621 wxWindow
*arg1
= (wxWindow
*) 0 ;
36625 PyObject
*swig_obj
[1] ;
36627 if (!args
) SWIG_fail
;
36628 swig_obj
[0] = args
;
36629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36630 if (!SWIG_IsOK(res1
)) {
36631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36633 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 result
= (bool)(arg1
)->PageUp();
36637 wxPyEndAllowThreads(__tstate
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36649 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36650 PyObject
*resultobj
= 0;
36651 wxWindow
*arg1
= (wxWindow
*) 0 ;
36655 PyObject
*swig_obj
[1] ;
36657 if (!args
) SWIG_fail
;
36658 swig_obj
[0] = args
;
36659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36660 if (!SWIG_IsOK(res1
)) {
36661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36663 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36666 result
= (bool)(arg1
)->PageDown();
36667 wxPyEndAllowThreads(__tstate
);
36668 if (PyErr_Occurred()) SWIG_fail
;
36671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36679 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
= 0;
36681 wxWindow
*arg1
= (wxWindow
*) 0 ;
36682 wxString
*arg2
= 0 ;
36685 bool temp2
= false ;
36686 PyObject
* obj0
= 0 ;
36687 PyObject
* obj1
= 0 ;
36688 char * kwnames
[] = {
36689 (char *) "self",(char *) "text", NULL
36692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36694 if (!SWIG_IsOK(res1
)) {
36695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
36697 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36699 arg2
= wxString_in_helper(obj1
);
36700 if (arg2
== NULL
) SWIG_fail
;
36704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36705 (arg1
)->SetHelpText((wxString
const &)*arg2
);
36706 wxPyEndAllowThreads(__tstate
);
36707 if (PyErr_Occurred()) SWIG_fail
;
36709 resultobj
= SWIG_Py_Void();
36724 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36725 PyObject
*resultobj
= 0;
36726 wxWindow
*arg1
= (wxWindow
*) 0 ;
36727 wxString
*arg2
= 0 ;
36730 bool temp2
= false ;
36731 PyObject
* obj0
= 0 ;
36732 PyObject
* obj1
= 0 ;
36733 char * kwnames
[] = {
36734 (char *) "self",(char *) "text", NULL
36737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36739 if (!SWIG_IsOK(res1
)) {
36740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
36742 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36744 arg2
= wxString_in_helper(obj1
);
36745 if (arg2
== NULL
) SWIG_fail
;
36749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36750 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
36751 wxPyEndAllowThreads(__tstate
);
36752 if (PyErr_Occurred()) SWIG_fail
;
36754 resultobj
= SWIG_Py_Void();
36769 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36770 PyObject
*resultobj
= 0;
36771 wxWindow
*arg1
= (wxWindow
*) 0 ;
36775 PyObject
*swig_obj
[1] ;
36777 if (!args
) SWIG_fail
;
36778 swig_obj
[0] = args
;
36779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36780 if (!SWIG_IsOK(res1
)) {
36781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
36783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36786 result
= ((wxWindow
const *)arg1
)->GetHelpText();
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36803 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36804 PyObject
*resultobj
= 0;
36805 wxWindow
*arg1
= (wxWindow
*) 0 ;
36806 wxString
*arg2
= 0 ;
36809 bool temp2
= false ;
36810 PyObject
* obj0
= 0 ;
36811 PyObject
* obj1
= 0 ;
36812 char * kwnames
[] = {
36813 (char *) "self",(char *) "tip", NULL
36816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36818 if (!SWIG_IsOK(res1
)) {
36819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
36821 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36823 arg2
= wxString_in_helper(obj1
);
36824 if (arg2
== NULL
) SWIG_fail
;
36828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36829 (arg1
)->SetToolTip((wxString
const &)*arg2
);
36830 wxPyEndAllowThreads(__tstate
);
36831 if (PyErr_Occurred()) SWIG_fail
;
36833 resultobj
= SWIG_Py_Void();
36848 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36849 PyObject
*resultobj
= 0;
36850 wxWindow
*arg1
= (wxWindow
*) 0 ;
36851 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
36855 PyObject
* obj0
= 0 ;
36856 PyObject
* obj1
= 0 ;
36857 char * kwnames
[] = {
36858 (char *) "self",(char *) "tip", NULL
36861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36863 if (!SWIG_IsOK(res1
)) {
36864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
36866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36867 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
36868 if (!SWIG_IsOK(res2
)) {
36869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 (arg1
)->SetToolTip(arg2
);
36874 wxPyEndAllowThreads(__tstate
);
36875 if (PyErr_Occurred()) SWIG_fail
;
36877 resultobj
= SWIG_Py_Void();
36884 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36885 PyObject
*resultobj
= 0;
36886 wxWindow
*arg1
= (wxWindow
*) 0 ;
36887 wxToolTip
*result
= 0 ;
36890 PyObject
*swig_obj
[1] ;
36892 if (!args
) SWIG_fail
;
36893 swig_obj
[0] = args
;
36894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36895 if (!SWIG_IsOK(res1
)) {
36896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
36898 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36901 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36906 resultobj
= wxPyMake_wxObject(result
, (bool)0);
36914 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36915 PyObject
*resultobj
= 0;
36916 wxWindow
*arg1
= (wxWindow
*) 0 ;
36917 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
36921 PyObject
* obj0
= 0 ;
36922 PyObject
* obj1
= 0 ;
36923 char * kwnames
[] = {
36924 (char *) "self",(char *) "dropTarget", NULL
36927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36929 if (!SWIG_IsOK(res1
)) {
36930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
36932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36933 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
36934 if (!SWIG_IsOK(res2
)) {
36935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
36938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36939 (arg1
)->SetDropTarget(arg2
);
36940 wxPyEndAllowThreads(__tstate
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36943 resultobj
= SWIG_Py_Void();
36950 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36951 PyObject
*resultobj
= 0;
36952 wxWindow
*arg1
= (wxWindow
*) 0 ;
36953 wxPyDropTarget
*result
= 0 ;
36956 PyObject
*swig_obj
[1] ;
36958 if (!args
) SWIG_fail
;
36959 swig_obj
[0] = args
;
36960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36961 if (!SWIG_IsOK(res1
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
36964 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36967 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
36968 wxPyEndAllowThreads(__tstate
);
36969 if (PyErr_Occurred()) SWIG_fail
;
36971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
36978 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
= 0;
36980 wxWindow
*arg1
= (wxWindow
*) 0 ;
36986 PyObject
* obj0
= 0 ;
36987 PyObject
* obj1
= 0 ;
36988 char * kwnames
[] = {
36989 (char *) "self",(char *) "accept", NULL
36992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36994 if (!SWIG_IsOK(res1
)) {
36995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
36997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36998 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36999 if (!SWIG_IsOK(ecode2
)) {
37000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
37002 arg2
= static_cast< bool >(val2
);
37004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37005 wxWindow_DragAcceptFiles(arg1
,arg2
);
37006 wxPyEndAllowThreads(__tstate
);
37007 if (PyErr_Occurred()) SWIG_fail
;
37009 resultobj
= SWIG_Py_Void();
37016 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37017 PyObject
*resultobj
= 0;
37018 wxWindow
*arg1
= (wxWindow
*) 0 ;
37019 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
37023 PyObject
* obj0
= 0 ;
37024 PyObject
* obj1
= 0 ;
37025 char * kwnames
[] = {
37026 (char *) "self",(char *) "constraints", NULL
37029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37031 if (!SWIG_IsOK(res1
)) {
37032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
37034 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37035 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
37036 if (!SWIG_IsOK(res2
)) {
37037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
37040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37041 (arg1
)->SetConstraints(arg2
);
37042 wxPyEndAllowThreads(__tstate
);
37043 if (PyErr_Occurred()) SWIG_fail
;
37045 resultobj
= SWIG_Py_Void();
37052 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37053 PyObject
*resultobj
= 0;
37054 wxWindow
*arg1
= (wxWindow
*) 0 ;
37055 wxLayoutConstraints
*result
= 0 ;
37058 PyObject
*swig_obj
[1] ;
37060 if (!args
) SWIG_fail
;
37061 swig_obj
[0] = args
;
37062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37063 if (!SWIG_IsOK(res1
)) {
37064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
37066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37069 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
37080 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37081 PyObject
*resultobj
= 0;
37082 wxWindow
*arg1
= (wxWindow
*) 0 ;
37088 PyObject
* obj0
= 0 ;
37089 PyObject
* obj1
= 0 ;
37090 char * kwnames
[] = {
37091 (char *) "self",(char *) "autoLayout", NULL
37094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37096 if (!SWIG_IsOK(res1
)) {
37097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
37099 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37100 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37101 if (!SWIG_IsOK(ecode2
)) {
37102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
37104 arg2
= static_cast< bool >(val2
);
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 (arg1
)->SetAutoLayout(arg2
);
37108 wxPyEndAllowThreads(__tstate
);
37109 if (PyErr_Occurred()) SWIG_fail
;
37111 resultobj
= SWIG_Py_Void();
37118 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37119 PyObject
*resultobj
= 0;
37120 wxWindow
*arg1
= (wxWindow
*) 0 ;
37124 PyObject
*swig_obj
[1] ;
37126 if (!args
) SWIG_fail
;
37127 swig_obj
[0] = args
;
37128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37129 if (!SWIG_IsOK(res1
)) {
37130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
37132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37135 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
37136 wxPyEndAllowThreads(__tstate
);
37137 if (PyErr_Occurred()) SWIG_fail
;
37140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37148 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37149 PyObject
*resultobj
= 0;
37150 wxWindow
*arg1
= (wxWindow
*) 0 ;
37154 PyObject
*swig_obj
[1] ;
37156 if (!args
) SWIG_fail
;
37157 swig_obj
[0] = args
;
37158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37159 if (!SWIG_IsOK(res1
)) {
37160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
37162 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 result
= (bool)(arg1
)->Layout();
37166 wxPyEndAllowThreads(__tstate
);
37167 if (PyErr_Occurred()) SWIG_fail
;
37170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37178 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37179 PyObject
*resultobj
= 0;
37180 wxWindow
*arg1
= (wxWindow
*) 0 ;
37181 wxSizer
*arg2
= (wxSizer
*) 0 ;
37182 bool arg3
= (bool) true ;
37188 PyObject
* obj0
= 0 ;
37189 PyObject
* obj1
= 0 ;
37190 PyObject
* obj2
= 0 ;
37191 char * kwnames
[] = {
37192 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37197 if (!SWIG_IsOK(res1
)) {
37198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37200 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37201 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37202 if (!SWIG_IsOK(res2
)) {
37203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37206 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37207 if (!SWIG_IsOK(ecode3
)) {
37208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
37210 arg3
= static_cast< bool >(val3
);
37213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37214 (arg1
)->SetSizer(arg2
,arg3
);
37215 wxPyEndAllowThreads(__tstate
);
37216 if (PyErr_Occurred()) SWIG_fail
;
37218 resultobj
= SWIG_Py_Void();
37225 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37226 PyObject
*resultobj
= 0;
37227 wxWindow
*arg1
= (wxWindow
*) 0 ;
37228 wxSizer
*arg2
= (wxSizer
*) 0 ;
37229 bool arg3
= (bool) true ;
37235 PyObject
* obj0
= 0 ;
37236 PyObject
* obj1
= 0 ;
37237 PyObject
* obj2
= 0 ;
37238 char * kwnames
[] = {
37239 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37244 if (!SWIG_IsOK(res1
)) {
37245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
37247 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37248 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37249 if (!SWIG_IsOK(res2
)) {
37250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
37253 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37254 if (!SWIG_IsOK(ecode3
)) {
37255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
37257 arg3
= static_cast< bool >(val3
);
37260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37261 (arg1
)->SetSizerAndFit(arg2
,arg3
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= SWIG_Py_Void();
37272 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37273 PyObject
*resultobj
= 0;
37274 wxWindow
*arg1
= (wxWindow
*) 0 ;
37275 wxSizer
*result
= 0 ;
37278 PyObject
*swig_obj
[1] ;
37280 if (!args
) SWIG_fail
;
37281 swig_obj
[0] = args
;
37282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37283 if (!SWIG_IsOK(res1
)) {
37284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37289 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
37290 wxPyEndAllowThreads(__tstate
);
37291 if (PyErr_Occurred()) SWIG_fail
;
37294 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37302 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37303 PyObject
*resultobj
= 0;
37304 wxWindow
*arg1
= (wxWindow
*) 0 ;
37305 wxSizer
*arg2
= (wxSizer
*) 0 ;
37310 PyObject
* obj0
= 0 ;
37311 PyObject
* obj1
= 0 ;
37312 char * kwnames
[] = {
37313 (char *) "self",(char *) "sizer", NULL
37316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37318 if (!SWIG_IsOK(res1
)) {
37319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37321 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
37323 if (!SWIG_IsOK(res2
)) {
37324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37326 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
37328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37329 (arg1
)->SetContainingSizer(arg2
);
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37333 resultobj
= SWIG_Py_Void();
37340 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37341 PyObject
*resultobj
= 0;
37342 wxWindow
*arg1
= (wxWindow
*) 0 ;
37343 wxSizer
*result
= 0 ;
37346 PyObject
*swig_obj
[1] ;
37348 if (!args
) SWIG_fail
;
37349 swig_obj
[0] = args
;
37350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37351 if (!SWIG_IsOK(res1
)) {
37352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37357 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
37358 wxPyEndAllowThreads(__tstate
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37362 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37370 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37371 PyObject
*resultobj
= 0;
37372 wxWindow
*arg1
= (wxWindow
*) 0 ;
37375 PyObject
*swig_obj
[1] ;
37377 if (!args
) SWIG_fail
;
37378 swig_obj
[0] = args
;
37379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37380 if (!SWIG_IsOK(res1
)) {
37381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
37383 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37386 (arg1
)->InheritAttributes();
37387 wxPyEndAllowThreads(__tstate
);
37388 if (PyErr_Occurred()) SWIG_fail
;
37390 resultobj
= SWIG_Py_Void();
37397 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37398 PyObject
*resultobj
= 0;
37399 wxWindow
*arg1
= (wxWindow
*) 0 ;
37403 PyObject
*swig_obj
[1] ;
37405 if (!args
) SWIG_fail
;
37406 swig_obj
[0] = args
;
37407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37408 if (!SWIG_IsOK(res1
)) {
37409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
37411 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37414 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
37415 wxPyEndAllowThreads(__tstate
);
37416 if (PyErr_Occurred()) SWIG_fail
;
37419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37427 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37430 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
37431 return SWIG_Py_Void();
37434 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37435 return SWIG_Python_InitShadowInstance(args
);
37438 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37439 PyObject
*resultobj
= 0;
37441 wxWindow
*arg2
= (wxWindow
*) NULL
;
37442 wxWindow
*result
= 0 ;
37447 PyObject
* obj0
= 0 ;
37448 PyObject
* obj1
= 0 ;
37449 char * kwnames
[] = {
37450 (char *) "id",(char *) "parent", NULL
37453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37454 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
37455 if (!SWIG_IsOK(ecode1
)) {
37456 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
37458 arg1
= static_cast< long >(val1
);
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 '" "FindWindowById" "', 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
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37474 resultobj
= wxPyMake_wxObject(result
, 0);
37482 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37483 PyObject
*resultobj
= 0;
37484 wxString
*arg1
= 0 ;
37485 wxWindow
*arg2
= (wxWindow
*) NULL
;
37486 wxWindow
*result
= 0 ;
37487 bool temp1
= false ;
37490 PyObject
* obj0
= 0 ;
37491 PyObject
* obj1
= 0 ;
37492 char * kwnames
[] = {
37493 (char *) "name",(char *) "parent", NULL
37496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37498 arg1
= wxString_in_helper(obj0
);
37499 if (arg1
== NULL
) SWIG_fail
;
37503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37504 if (!SWIG_IsOK(res2
)) {
37505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
37507 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37510 if (!wxPyCheckForApp()) SWIG_fail
;
37511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37512 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37513 wxPyEndAllowThreads(__tstate
);
37514 if (PyErr_Occurred()) SWIG_fail
;
37517 resultobj
= wxPyMake_wxObject(result
, 0);
37533 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37534 PyObject
*resultobj
= 0;
37535 wxString
*arg1
= 0 ;
37536 wxWindow
*arg2
= (wxWindow
*) NULL
;
37537 wxWindow
*result
= 0 ;
37538 bool temp1
= false ;
37541 PyObject
* obj0
= 0 ;
37542 PyObject
* obj1
= 0 ;
37543 char * kwnames
[] = {
37544 (char *) "label",(char *) "parent", NULL
37547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37549 arg1
= wxString_in_helper(obj0
);
37550 if (arg1
== NULL
) SWIG_fail
;
37554 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37555 if (!SWIG_IsOK(res2
)) {
37556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
37558 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37561 if (!wxPyCheckForApp()) SWIG_fail
;
37562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37563 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37564 wxPyEndAllowThreads(__tstate
);
37565 if (PyErr_Occurred()) SWIG_fail
;
37568 resultobj
= wxPyMake_wxObject(result
, 0);
37584 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37585 PyObject
*resultobj
= 0;
37586 wxWindow
*arg1
= (wxWindow
*) 0 ;
37587 unsigned long arg2
;
37588 wxWindow
*result
= 0 ;
37591 unsigned long val2
;
37593 PyObject
* obj0
= 0 ;
37594 PyObject
* obj1
= 0 ;
37595 char * kwnames
[] = {
37596 (char *) "parent",(char *) "_hWnd", NULL
37599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37601 if (!SWIG_IsOK(res1
)) {
37602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
37604 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37605 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
37606 if (!SWIG_IsOK(ecode2
)) {
37607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
37609 arg2
= static_cast< unsigned long >(val2
);
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
37613 wxPyEndAllowThreads(__tstate
);
37614 if (PyErr_Occurred()) SWIG_fail
;
37617 resultobj
= wxPyMake_wxObject(result
, 0);
37625 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37626 PyObject
*resultobj
= 0;
37627 PyObject
*result
= 0 ;
37629 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
37631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37632 result
= (PyObject
*)GetTopLevelWindows();
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37636 resultobj
= result
;
37643 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37644 PyObject
*resultobj
= 0;
37645 wxValidator
*result
= 0 ;
37647 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
37649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37650 result
= (wxValidator
*)new wxValidator();
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
37661 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37662 PyObject
*resultobj
= 0;
37663 wxValidator
*arg1
= (wxValidator
*) 0 ;
37664 wxValidator
*result
= 0 ;
37667 PyObject
*swig_obj
[1] ;
37669 if (!args
) SWIG_fail
;
37670 swig_obj
[0] = args
;
37671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37672 if (!SWIG_IsOK(res1
)) {
37673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
37675 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37678 result
= (wxValidator
*)(arg1
)->Clone();
37679 wxPyEndAllowThreads(__tstate
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= wxPyMake_wxObject(result
, 0);
37691 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37692 PyObject
*resultobj
= 0;
37693 wxValidator
*arg1
= (wxValidator
*) 0 ;
37694 wxWindow
*arg2
= (wxWindow
*) 0 ;
37700 PyObject
* obj0
= 0 ;
37701 PyObject
* obj1
= 0 ;
37702 char * kwnames
[] = {
37703 (char *) "self",(char *) "parent", NULL
37706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37708 if (!SWIG_IsOK(res1
)) {
37709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
37711 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37713 if (!SWIG_IsOK(res2
)) {
37714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
37716 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37719 result
= (bool)(arg1
)->Validate(arg2
);
37720 wxPyEndAllowThreads(__tstate
);
37721 if (PyErr_Occurred()) SWIG_fail
;
37724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37732 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37733 PyObject
*resultobj
= 0;
37734 wxValidator
*arg1
= (wxValidator
*) 0 ;
37738 PyObject
*swig_obj
[1] ;
37740 if (!args
) SWIG_fail
;
37741 swig_obj
[0] = args
;
37742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37743 if (!SWIG_IsOK(res1
)) {
37744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37746 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37749 result
= (bool)(arg1
)->TransferToWindow();
37750 wxPyEndAllowThreads(__tstate
);
37751 if (PyErr_Occurred()) SWIG_fail
;
37754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37762 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37763 PyObject
*resultobj
= 0;
37764 wxValidator
*arg1
= (wxValidator
*) 0 ;
37768 PyObject
*swig_obj
[1] ;
37770 if (!args
) SWIG_fail
;
37771 swig_obj
[0] = args
;
37772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37773 if (!SWIG_IsOK(res1
)) {
37774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37776 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37779 result
= (bool)(arg1
)->TransferFromWindow();
37780 wxPyEndAllowThreads(__tstate
);
37781 if (PyErr_Occurred()) SWIG_fail
;
37784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37792 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37793 PyObject
*resultobj
= 0;
37794 wxValidator
*arg1
= (wxValidator
*) 0 ;
37795 wxWindow
*result
= 0 ;
37798 PyObject
*swig_obj
[1] ;
37800 if (!args
) SWIG_fail
;
37801 swig_obj
[0] = args
;
37802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37803 if (!SWIG_IsOK(res1
)) {
37804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37806 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37809 result
= (wxWindow
*)(arg1
)->GetWindow();
37810 wxPyEndAllowThreads(__tstate
);
37811 if (PyErr_Occurred()) SWIG_fail
;
37814 resultobj
= wxPyMake_wxObject(result
, 0);
37822 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37823 PyObject
*resultobj
= 0;
37824 wxValidator
*arg1
= (wxValidator
*) 0 ;
37825 wxWindow
*arg2
= (wxWindow
*) 0 ;
37830 PyObject
* obj0
= 0 ;
37831 PyObject
* obj1
= 0 ;
37832 char * kwnames
[] = {
37833 (char *) "self",(char *) "window", NULL
37836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37838 if (!SWIG_IsOK(res1
)) {
37839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37841 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37843 if (!SWIG_IsOK(res2
)) {
37844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
37846 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37849 (arg1
)->SetWindow(arg2
);
37850 wxPyEndAllowThreads(__tstate
);
37851 if (PyErr_Occurred()) SWIG_fail
;
37853 resultobj
= SWIG_Py_Void();
37860 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37861 PyObject
*resultobj
= 0;
37864 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
37866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37867 result
= (bool)wxValidator::IsSilent();
37868 wxPyEndAllowThreads(__tstate
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37880 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
= 0;
37882 int arg1
= (int) true ;
37885 PyObject
* obj0
= 0 ;
37886 char * kwnames
[] = {
37887 (char *) "doIt", NULL
37890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
37892 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37893 if (!SWIG_IsOK(ecode1
)) {
37894 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
37896 arg1
= static_cast< int >(val1
);
37899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37900 wxValidator::SetBellOnError(arg1
);
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37904 resultobj
= SWIG_Py_Void();
37911 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37914 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
37915 return SWIG_Py_Void();
37918 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37919 return SWIG_Python_InitShadowInstance(args
);
37922 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37923 PyObject
*resultobj
= 0;
37924 wxPyValidator
*result
= 0 ;
37926 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37929 result
= (wxPyValidator
*)new wxPyValidator();
37930 wxPyEndAllowThreads(__tstate
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
37940 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37941 PyObject
*resultobj
= 0;
37942 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
37943 PyObject
*arg2
= (PyObject
*) 0 ;
37944 PyObject
*arg3
= (PyObject
*) 0 ;
37945 int arg4
= (int) true ;
37950 PyObject
* obj0
= 0 ;
37951 PyObject
* obj1
= 0 ;
37952 PyObject
* obj2
= 0 ;
37953 PyObject
* obj3
= 0 ;
37954 char * kwnames
[] = {
37955 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
37958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
37960 if (!SWIG_IsOK(res1
)) {
37961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
37963 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
37967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37968 if (!SWIG_IsOK(ecode4
)) {
37969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
37971 arg4
= static_cast< int >(val4
);
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37979 resultobj
= SWIG_Py_Void();
37986 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37989 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
37990 return SWIG_Py_Void();
37993 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37994 return SWIG_Python_InitShadowInstance(args
);
37997 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
37998 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
38003 SWIGINTERN PyObject
*DefaultValidator_get(void) {
38004 PyObject
*pyobj
= 0;
38006 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
38011 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38012 PyObject
*resultobj
= 0;
38013 wxString
const &arg1_defvalue
= wxPyEmptyString
;
38014 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
38015 long arg2
= (long) 0 ;
38016 wxMenu
*result
= 0 ;
38017 bool temp1
= false ;
38020 PyObject
* obj0
= 0 ;
38021 PyObject
* obj1
= 0 ;
38022 char * kwnames
[] = {
38023 (char *) "title",(char *) "style", NULL
38026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38029 arg1
= wxString_in_helper(obj0
);
38030 if (arg1
== NULL
) SWIG_fail
;
38035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
38036 if (!SWIG_IsOK(ecode2
)) {
38037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
38039 arg2
= static_cast< long >(val2
);
38042 if (!wxPyCheckForApp()) SWIG_fail
;
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
38045 wxPyEndAllowThreads(__tstate
);
38046 if (PyErr_Occurred()) SWIG_fail
;
38048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
38063 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38064 PyObject
*resultobj
= 0;
38065 wxMenu
*arg1
= (wxMenu
*) 0 ;
38067 wxString
*arg3
= 0 ;
38068 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38069 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38070 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38071 wxMenuItem
*result
= 0 ;
38076 bool temp3
= false ;
38077 bool temp4
= false ;
38080 PyObject
* obj0
= 0 ;
38081 PyObject
* obj1
= 0 ;
38082 PyObject
* obj2
= 0 ;
38083 PyObject
* obj3
= 0 ;
38084 PyObject
* obj4
= 0 ;
38085 char * kwnames
[] = {
38086 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38091 if (!SWIG_IsOK(res1
)) {
38092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
38094 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38096 if (!SWIG_IsOK(ecode2
)) {
38097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
38099 arg2
= static_cast< int >(val2
);
38101 arg3
= wxString_in_helper(obj2
);
38102 if (arg3
== NULL
) SWIG_fail
;
38107 arg4
= wxString_in_helper(obj3
);
38108 if (arg4
== NULL
) SWIG_fail
;
38113 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38114 if (!SWIG_IsOK(ecode5
)) {
38115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
38117 arg5
= static_cast< wxItemKind
>(val5
);
38120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38121 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38122 wxPyEndAllowThreads(__tstate
);
38123 if (PyErr_Occurred()) SWIG_fail
;
38126 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38150 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38151 PyObject
*resultobj
= 0;
38152 wxMenu
*arg1
= (wxMenu
*) 0 ;
38153 wxMenuItem
*result
= 0 ;
38156 PyObject
*swig_obj
[1] ;
38158 if (!args
) SWIG_fail
;
38159 swig_obj
[0] = args
;
38160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38161 if (!SWIG_IsOK(res1
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38164 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38172 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38180 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38181 PyObject
*resultobj
= 0;
38182 wxMenu
*arg1
= (wxMenu
*) 0 ;
38184 wxString
*arg3
= 0 ;
38185 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38186 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38187 wxMenuItem
*result
= 0 ;
38192 bool temp3
= false ;
38193 bool temp4
= false ;
38194 PyObject
* obj0
= 0 ;
38195 PyObject
* obj1
= 0 ;
38196 PyObject
* obj2
= 0 ;
38197 PyObject
* obj3
= 0 ;
38198 char * kwnames
[] = {
38199 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38204 if (!SWIG_IsOK(res1
)) {
38205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38207 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38209 if (!SWIG_IsOK(ecode2
)) {
38210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
38212 arg2
= static_cast< int >(val2
);
38214 arg3
= wxString_in_helper(obj2
);
38215 if (arg3
== NULL
) SWIG_fail
;
38220 arg4
= wxString_in_helper(obj3
);
38221 if (arg4
== NULL
) SWIG_fail
;
38226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38227 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38228 wxPyEndAllowThreads(__tstate
);
38229 if (PyErr_Occurred()) SWIG_fail
;
38232 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38256 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38257 PyObject
*resultobj
= 0;
38258 wxMenu
*arg1
= (wxMenu
*) 0 ;
38260 wxString
*arg3
= 0 ;
38261 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38263 wxMenuItem
*result
= 0 ;
38268 bool temp3
= false ;
38269 bool temp4
= false ;
38270 PyObject
* obj0
= 0 ;
38271 PyObject
* obj1
= 0 ;
38272 PyObject
* obj2
= 0 ;
38273 PyObject
* obj3
= 0 ;
38274 char * kwnames
[] = {
38275 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38280 if (!SWIG_IsOK(res1
)) {
38281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38283 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38285 if (!SWIG_IsOK(ecode2
)) {
38286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
38288 arg2
= static_cast< int >(val2
);
38290 arg3
= wxString_in_helper(obj2
);
38291 if (arg3
== NULL
) SWIG_fail
;
38296 arg4
= wxString_in_helper(obj3
);
38297 if (arg4
== NULL
) SWIG_fail
;
38302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38303 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38304 wxPyEndAllowThreads(__tstate
);
38305 if (PyErr_Occurred()) SWIG_fail
;
38308 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38332 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38333 PyObject
*resultobj
= 0;
38334 wxMenu
*arg1
= (wxMenu
*) 0 ;
38336 wxString
*arg3
= 0 ;
38337 wxMenu
*arg4
= (wxMenu
*) 0 ;
38338 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38339 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38340 wxMenuItem
*result
= 0 ;
38345 bool temp3
= false ;
38348 bool temp5
= false ;
38349 PyObject
* obj0
= 0 ;
38350 PyObject
* obj1
= 0 ;
38351 PyObject
* obj2
= 0 ;
38352 PyObject
* obj3
= 0 ;
38353 PyObject
* obj4
= 0 ;
38354 char * kwnames
[] = {
38355 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38360 if (!SWIG_IsOK(res1
)) {
38361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38363 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38365 if (!SWIG_IsOK(ecode2
)) {
38366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
38368 arg2
= static_cast< int >(val2
);
38370 arg3
= wxString_in_helper(obj2
);
38371 if (arg3
== NULL
) SWIG_fail
;
38374 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38375 if (!SWIG_IsOK(res4
)) {
38376 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
38378 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
38381 arg5
= wxString_in_helper(obj4
);
38382 if (arg5
== NULL
) SWIG_fail
;
38387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38388 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
38389 wxPyEndAllowThreads(__tstate
);
38390 if (PyErr_Occurred()) SWIG_fail
;
38393 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38417 SWIGINTERN PyObject
*_wrap_Menu_AppendSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38418 PyObject
*resultobj
= 0;
38419 wxMenu
*arg1
= (wxMenu
*) 0 ;
38420 wxMenu
*arg2
= (wxMenu
*) 0 ;
38421 wxString
*arg3
= 0 ;
38422 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38423 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38424 wxMenuItem
*result
= 0 ;
38429 bool temp3
= false ;
38430 bool temp4
= false ;
38431 PyObject
* obj0
= 0 ;
38432 PyObject
* obj1
= 0 ;
38433 PyObject
* obj2
= 0 ;
38434 PyObject
* obj3
= 0 ;
38435 char * kwnames
[] = {
38436 (char *) "self",(char *) "submenu",(char *) "text",(char *) "help", NULL
38439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendSubMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38441 if (!SWIG_IsOK(res1
)) {
38442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSubMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38444 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38446 if (!SWIG_IsOK(res2
)) {
38447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
38449 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
38451 arg3
= wxString_in_helper(obj2
);
38452 if (arg3
== NULL
) SWIG_fail
;
38457 arg4
= wxString_in_helper(obj3
);
38458 if (arg4
== NULL
) SWIG_fail
;
38463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38464 result
= (wxMenuItem
*)(arg1
)->AppendSubMenu(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38469 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38493 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38494 PyObject
*resultobj
= 0;
38495 wxMenu
*arg1
= (wxMenu
*) 0 ;
38496 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38497 wxMenuItem
*result
= 0 ;
38501 PyObject
* obj0
= 0 ;
38502 PyObject
* obj1
= 0 ;
38503 char * kwnames
[] = {
38504 (char *) "self",(char *) "item", NULL
38507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38509 if (!SWIG_IsOK(res1
)) {
38510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38512 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38513 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38514 if (!SWIG_IsOK(res2
)) {
38515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38519 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
38520 wxPyEndAllowThreads(__tstate
);
38521 if (PyErr_Occurred()) SWIG_fail
;
38524 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38532 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38533 PyObject
*resultobj
= 0;
38534 wxMenu
*arg1
= (wxMenu
*) 0 ;
38536 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
38537 wxMenuItem
*result
= 0 ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 PyObject
* obj2
= 0 ;
38546 char * kwnames
[] = {
38547 (char *) "self",(char *) "pos",(char *) "item", NULL
38550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38552 if (!SWIG_IsOK(res1
)) {
38553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38555 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38556 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38557 if (!SWIG_IsOK(ecode2
)) {
38558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
38560 arg2
= static_cast< size_t >(val2
);
38561 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38562 if (!SWIG_IsOK(res3
)) {
38563 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
38568 wxPyEndAllowThreads(__tstate
);
38569 if (PyErr_Occurred()) SWIG_fail
;
38572 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38580 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38581 PyObject
*resultobj
= 0;
38582 wxMenu
*arg1
= (wxMenu
*) 0 ;
38583 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38584 wxMenuItem
*result
= 0 ;
38588 PyObject
* obj0
= 0 ;
38589 PyObject
* obj1
= 0 ;
38590 char * kwnames
[] = {
38591 (char *) "self",(char *) "item", NULL
38594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38596 if (!SWIG_IsOK(res1
)) {
38597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38599 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38600 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38601 if (!SWIG_IsOK(res2
)) {
38602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38606 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
38607 wxPyEndAllowThreads(__tstate
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38611 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38619 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38620 PyObject
*resultobj
= 0;
38621 wxMenu
*arg1
= (wxMenu
*) 0 ;
38624 PyObject
*swig_obj
[1] ;
38626 if (!args
) SWIG_fail
;
38627 swig_obj
[0] = args
;
38628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38629 if (!SWIG_IsOK(res1
)) {
38630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
38632 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 wxPyEndAllowThreads(__tstate
);
38637 if (PyErr_Occurred()) SWIG_fail
;
38639 resultobj
= SWIG_Py_Void();
38646 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38647 PyObject
*resultobj
= 0;
38648 wxMenu
*arg1
= (wxMenu
*) 0 ;
38651 wxString
*arg4
= 0 ;
38652 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38653 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38654 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
38655 wxMenuItem
*result
= 0 ;
38662 bool temp4
= false ;
38663 bool temp5
= false ;
38666 PyObject
* obj0
= 0 ;
38667 PyObject
* obj1
= 0 ;
38668 PyObject
* obj2
= 0 ;
38669 PyObject
* obj3
= 0 ;
38670 PyObject
* obj4
= 0 ;
38671 PyObject
* obj5
= 0 ;
38672 char * kwnames
[] = {
38673 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38678 if (!SWIG_IsOK(res1
)) {
38679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
38681 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38682 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38683 if (!SWIG_IsOK(ecode2
)) {
38684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
38686 arg2
= static_cast< size_t >(val2
);
38687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38688 if (!SWIG_IsOK(ecode3
)) {
38689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
38691 arg3
= static_cast< int >(val3
);
38693 arg4
= wxString_in_helper(obj3
);
38694 if (arg4
== NULL
) SWIG_fail
;
38699 arg5
= wxString_in_helper(obj4
);
38700 if (arg5
== NULL
) SWIG_fail
;
38705 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38706 if (!SWIG_IsOK(ecode6
)) {
38707 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
38709 arg6
= static_cast< wxItemKind
>(val6
);
38712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38713 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
38714 wxPyEndAllowThreads(__tstate
);
38715 if (PyErr_Occurred()) SWIG_fail
;
38718 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38742 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38743 PyObject
*resultobj
= 0;
38744 wxMenu
*arg1
= (wxMenu
*) 0 ;
38746 wxMenuItem
*result
= 0 ;
38751 PyObject
* obj0
= 0 ;
38752 PyObject
* obj1
= 0 ;
38753 char * kwnames
[] = {
38754 (char *) "self",(char *) "pos", NULL
38757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38759 if (!SWIG_IsOK(res1
)) {
38760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38762 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38763 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38764 if (!SWIG_IsOK(ecode2
)) {
38765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
38767 arg2
= static_cast< size_t >(val2
);
38769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38770 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
38771 wxPyEndAllowThreads(__tstate
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38775 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38783 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38784 PyObject
*resultobj
= 0;
38785 wxMenu
*arg1
= (wxMenu
*) 0 ;
38788 wxString
*arg4
= 0 ;
38789 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38790 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38791 wxMenuItem
*result
= 0 ;
38798 bool temp4
= false ;
38799 bool temp5
= false ;
38800 PyObject
* obj0
= 0 ;
38801 PyObject
* obj1
= 0 ;
38802 PyObject
* obj2
= 0 ;
38803 PyObject
* obj3
= 0 ;
38804 PyObject
* obj4
= 0 ;
38805 char * kwnames
[] = {
38806 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38811 if (!SWIG_IsOK(res1
)) {
38812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38814 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38815 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38816 if (!SWIG_IsOK(ecode2
)) {
38817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
38819 arg2
= static_cast< size_t >(val2
);
38820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38821 if (!SWIG_IsOK(ecode3
)) {
38822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
38824 arg3
= static_cast< int >(val3
);
38826 arg4
= wxString_in_helper(obj3
);
38827 if (arg4
== NULL
) SWIG_fail
;
38832 arg5
= wxString_in_helper(obj4
);
38833 if (arg5
== NULL
) SWIG_fail
;
38838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38839 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38840 wxPyEndAllowThreads(__tstate
);
38841 if (PyErr_Occurred()) SWIG_fail
;
38844 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38868 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38869 PyObject
*resultobj
= 0;
38870 wxMenu
*arg1
= (wxMenu
*) 0 ;
38873 wxString
*arg4
= 0 ;
38874 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38875 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38876 wxMenuItem
*result
= 0 ;
38883 bool temp4
= false ;
38884 bool temp5
= false ;
38885 PyObject
* obj0
= 0 ;
38886 PyObject
* obj1
= 0 ;
38887 PyObject
* obj2
= 0 ;
38888 PyObject
* obj3
= 0 ;
38889 PyObject
* obj4
= 0 ;
38890 char * kwnames
[] = {
38891 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38896 if (!SWIG_IsOK(res1
)) {
38897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38899 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38900 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38901 if (!SWIG_IsOK(ecode2
)) {
38902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
38904 arg2
= static_cast< size_t >(val2
);
38905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38906 if (!SWIG_IsOK(ecode3
)) {
38907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
38909 arg3
= static_cast< int >(val3
);
38911 arg4
= wxString_in_helper(obj3
);
38912 if (arg4
== NULL
) SWIG_fail
;
38917 arg5
= wxString_in_helper(obj4
);
38918 if (arg5
== NULL
) SWIG_fail
;
38923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38924 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38925 wxPyEndAllowThreads(__tstate
);
38926 if (PyErr_Occurred()) SWIG_fail
;
38929 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38953 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38954 PyObject
*resultobj
= 0;
38955 wxMenu
*arg1
= (wxMenu
*) 0 ;
38958 wxString
*arg4
= 0 ;
38959 wxMenu
*arg5
= (wxMenu
*) 0 ;
38960 wxString
const &arg6_defvalue
= wxPyEmptyString
;
38961 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
38962 wxMenuItem
*result
= 0 ;
38969 bool temp4
= false ;
38972 bool temp6
= false ;
38973 PyObject
* obj0
= 0 ;
38974 PyObject
* obj1
= 0 ;
38975 PyObject
* obj2
= 0 ;
38976 PyObject
* obj3
= 0 ;
38977 PyObject
* obj4
= 0 ;
38978 PyObject
* obj5
= 0 ;
38979 char * kwnames
[] = {
38980 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38985 if (!SWIG_IsOK(res1
)) {
38986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38988 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38989 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38990 if (!SWIG_IsOK(ecode2
)) {
38991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
38993 arg2
= static_cast< size_t >(val2
);
38994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38995 if (!SWIG_IsOK(ecode3
)) {
38996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
38998 arg3
= static_cast< int >(val3
);
39000 arg4
= wxString_in_helper(obj3
);
39001 if (arg4
== NULL
) SWIG_fail
;
39004 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39005 if (!SWIG_IsOK(res5
)) {
39006 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
39008 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
39011 arg6
= wxString_in_helper(obj5
);
39012 if (arg6
== NULL
) SWIG_fail
;
39017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39018 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
39019 wxPyEndAllowThreads(__tstate
);
39020 if (PyErr_Occurred()) SWIG_fail
;
39023 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39047 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39048 PyObject
*resultobj
= 0;
39049 wxMenu
*arg1
= (wxMenu
*) 0 ;
39051 wxString
*arg3
= 0 ;
39052 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39053 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39054 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
39055 wxMenuItem
*result
= 0 ;
39060 bool temp3
= false ;
39061 bool temp4
= false ;
39064 PyObject
* obj0
= 0 ;
39065 PyObject
* obj1
= 0 ;
39066 PyObject
* obj2
= 0 ;
39067 PyObject
* obj3
= 0 ;
39068 PyObject
* obj4
= 0 ;
39069 char * kwnames
[] = {
39070 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
39073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39075 if (!SWIG_IsOK(res1
)) {
39076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
39078 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39080 if (!SWIG_IsOK(ecode2
)) {
39081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
39083 arg2
= static_cast< int >(val2
);
39085 arg3
= wxString_in_helper(obj2
);
39086 if (arg3
== NULL
) SWIG_fail
;
39091 arg4
= wxString_in_helper(obj3
);
39092 if (arg4
== NULL
) SWIG_fail
;
39097 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39098 if (!SWIG_IsOK(ecode5
)) {
39099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
39101 arg5
= static_cast< wxItemKind
>(val5
);
39104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39105 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
39106 wxPyEndAllowThreads(__tstate
);
39107 if (PyErr_Occurred()) SWIG_fail
;
39110 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39134 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39135 PyObject
*resultobj
= 0;
39136 wxMenu
*arg1
= (wxMenu
*) 0 ;
39137 wxMenuItem
*result
= 0 ;
39140 PyObject
*swig_obj
[1] ;
39142 if (!args
) SWIG_fail
;
39143 swig_obj
[0] = args
;
39144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39145 if (!SWIG_IsOK(res1
)) {
39146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39148 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39151 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
39152 wxPyEndAllowThreads(__tstate
);
39153 if (PyErr_Occurred()) SWIG_fail
;
39156 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39164 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39165 PyObject
*resultobj
= 0;
39166 wxMenu
*arg1
= (wxMenu
*) 0 ;
39168 wxString
*arg3
= 0 ;
39169 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39170 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39171 wxMenuItem
*result
= 0 ;
39176 bool temp3
= false ;
39177 bool temp4
= false ;
39178 PyObject
* obj0
= 0 ;
39179 PyObject
* obj1
= 0 ;
39180 PyObject
* obj2
= 0 ;
39181 PyObject
* obj3
= 0 ;
39182 char * kwnames
[] = {
39183 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39188 if (!SWIG_IsOK(res1
)) {
39189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39191 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39193 if (!SWIG_IsOK(ecode2
)) {
39194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
39196 arg2
= static_cast< int >(val2
);
39198 arg3
= wxString_in_helper(obj2
);
39199 if (arg3
== NULL
) SWIG_fail
;
39204 arg4
= wxString_in_helper(obj3
);
39205 if (arg4
== NULL
) SWIG_fail
;
39210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39211 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39212 wxPyEndAllowThreads(__tstate
);
39213 if (PyErr_Occurred()) SWIG_fail
;
39216 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39240 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39241 PyObject
*resultobj
= 0;
39242 wxMenu
*arg1
= (wxMenu
*) 0 ;
39244 wxString
*arg3
= 0 ;
39245 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39246 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39247 wxMenuItem
*result
= 0 ;
39252 bool temp3
= false ;
39253 bool temp4
= false ;
39254 PyObject
* obj0
= 0 ;
39255 PyObject
* obj1
= 0 ;
39256 PyObject
* obj2
= 0 ;
39257 PyObject
* obj3
= 0 ;
39258 char * kwnames
[] = {
39259 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39264 if (!SWIG_IsOK(res1
)) {
39265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39267 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39269 if (!SWIG_IsOK(ecode2
)) {
39270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
39272 arg2
= static_cast< int >(val2
);
39274 arg3
= wxString_in_helper(obj2
);
39275 if (arg3
== NULL
) SWIG_fail
;
39280 arg4
= wxString_in_helper(obj3
);
39281 if (arg4
== NULL
) SWIG_fail
;
39286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39287 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39288 wxPyEndAllowThreads(__tstate
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39292 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39316 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39317 PyObject
*resultobj
= 0;
39318 wxMenu
*arg1
= (wxMenu
*) 0 ;
39320 wxString
*arg3
= 0 ;
39321 wxMenu
*arg4
= (wxMenu
*) 0 ;
39322 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39323 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39324 wxMenuItem
*result
= 0 ;
39329 bool temp3
= false ;
39332 bool temp5
= false ;
39333 PyObject
* obj0
= 0 ;
39334 PyObject
* obj1
= 0 ;
39335 PyObject
* obj2
= 0 ;
39336 PyObject
* obj3
= 0 ;
39337 PyObject
* obj4
= 0 ;
39338 char * kwnames
[] = {
39339 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39344 if (!SWIG_IsOK(res1
)) {
39345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39347 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39349 if (!SWIG_IsOK(ecode2
)) {
39350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
39352 arg2
= static_cast< int >(val2
);
39354 arg3
= wxString_in_helper(obj2
);
39355 if (arg3
== NULL
) SWIG_fail
;
39358 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39359 if (!SWIG_IsOK(res4
)) {
39360 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
39362 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
39365 arg5
= wxString_in_helper(obj4
);
39366 if (arg5
== NULL
) SWIG_fail
;
39371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39372 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
39373 wxPyEndAllowThreads(__tstate
);
39374 if (PyErr_Occurred()) SWIG_fail
;
39377 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39401 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39402 PyObject
*resultobj
= 0;
39403 wxMenu
*arg1
= (wxMenu
*) 0 ;
39405 wxMenuItem
*result
= 0 ;
39410 PyObject
* obj0
= 0 ;
39411 PyObject
* obj1
= 0 ;
39412 char * kwnames
[] = {
39413 (char *) "self",(char *) "id", NULL
39416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39418 if (!SWIG_IsOK(res1
)) {
39419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
39421 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39423 if (!SWIG_IsOK(ecode2
)) {
39424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
39426 arg2
= static_cast< int >(val2
);
39428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39429 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39430 wxPyEndAllowThreads(__tstate
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39434 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39442 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39443 PyObject
*resultobj
= 0;
39444 wxMenu
*arg1
= (wxMenu
*) 0 ;
39445 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39446 wxMenuItem
*result
= 0 ;
39451 PyObject
* obj0
= 0 ;
39452 PyObject
* obj1
= 0 ;
39453 char * kwnames
[] = {
39454 (char *) "self",(char *) "item", NULL
39457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39459 if (!SWIG_IsOK(res1
)) {
39460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39462 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39464 if (!SWIG_IsOK(res2
)) {
39465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39467 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39470 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39471 wxPyEndAllowThreads(__tstate
);
39472 if (PyErr_Occurred()) SWIG_fail
;
39475 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39483 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39484 PyObject
*resultobj
= 0;
39485 wxMenu
*arg1
= (wxMenu
*) 0 ;
39492 PyObject
* obj0
= 0 ;
39493 PyObject
* obj1
= 0 ;
39494 char * kwnames
[] = {
39495 (char *) "self",(char *) "id", NULL
39498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39500 if (!SWIG_IsOK(res1
)) {
39501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
39503 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39505 if (!SWIG_IsOK(ecode2
)) {
39506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
39508 arg2
= static_cast< int >(val2
);
39510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39511 result
= (bool)(arg1
)->Delete(arg2
);
39512 wxPyEndAllowThreads(__tstate
);
39513 if (PyErr_Occurred()) SWIG_fail
;
39516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39524 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39525 PyObject
*resultobj
= 0;
39526 wxMenu
*arg1
= (wxMenu
*) 0 ;
39527 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39533 PyObject
* obj0
= 0 ;
39534 PyObject
* obj1
= 0 ;
39535 char * kwnames
[] = {
39536 (char *) "self",(char *) "item", NULL
39539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39541 if (!SWIG_IsOK(res1
)) {
39542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39544 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39545 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39546 if (!SWIG_IsOK(res2
)) {
39547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39549 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39552 result
= (bool)(arg1
)->Delete(arg2
);
39553 wxPyEndAllowThreads(__tstate
);
39554 if (PyErr_Occurred()) SWIG_fail
;
39557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39565 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39566 PyObject
*resultobj
= 0;
39567 wxMenu
*arg1
= (wxMenu
*) 0 ;
39570 PyObject
*swig_obj
[1] ;
39572 if (!args
) SWIG_fail
;
39573 swig_obj
[0] = args
;
39574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39575 if (!SWIG_IsOK(res1
)) {
39576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
39578 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39581 wxMenu_Destroy(arg1
);
39582 wxPyEndAllowThreads(__tstate
);
39583 if (PyErr_Occurred()) SWIG_fail
;
39585 resultobj
= SWIG_Py_Void();
39592 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39593 PyObject
*resultobj
= 0;
39594 wxMenu
*arg1
= (wxMenu
*) 0 ;
39601 PyObject
* obj0
= 0 ;
39602 PyObject
* obj1
= 0 ;
39603 char * kwnames
[] = {
39604 (char *) "self",(char *) "id", NULL
39607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39609 if (!SWIG_IsOK(res1
)) {
39610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
39612 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39614 if (!SWIG_IsOK(ecode2
)) {
39615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
39617 arg2
= static_cast< int >(val2
);
39619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39620 result
= (bool)(arg1
)->Destroy(arg2
);
39621 wxPyEndAllowThreads(__tstate
);
39622 if (PyErr_Occurred()) SWIG_fail
;
39625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39633 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39634 PyObject
*resultobj
= 0;
39635 wxMenu
*arg1
= (wxMenu
*) 0 ;
39636 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39642 PyObject
* obj0
= 0 ;
39643 PyObject
* obj1
= 0 ;
39644 char * kwnames
[] = {
39645 (char *) "self",(char *) "item", NULL
39648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39650 if (!SWIG_IsOK(res1
)) {
39651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39653 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39655 if (!SWIG_IsOK(res2
)) {
39656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39658 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39661 result
= (bool)(arg1
)->Destroy(arg2
);
39662 wxPyEndAllowThreads(__tstate
);
39663 if (PyErr_Occurred()) SWIG_fail
;
39666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39674 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39675 PyObject
*resultobj
= 0;
39676 wxMenu
*arg1
= (wxMenu
*) 0 ;
39680 PyObject
*swig_obj
[1] ;
39682 if (!args
) SWIG_fail
;
39683 swig_obj
[0] = args
;
39684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39685 if (!SWIG_IsOK(res1
)) {
39686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
39688 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39691 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
39692 wxPyEndAllowThreads(__tstate
);
39693 if (PyErr_Occurred()) SWIG_fail
;
39695 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
39702 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39703 PyObject
*resultobj
= 0;
39704 wxMenu
*arg1
= (wxMenu
*) 0 ;
39705 PyObject
*result
= 0 ;
39708 PyObject
*swig_obj
[1] ;
39710 if (!args
) SWIG_fail
;
39711 swig_obj
[0] = args
;
39712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39713 if (!SWIG_IsOK(res1
)) {
39714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
39716 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39719 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
39720 wxPyEndAllowThreads(__tstate
);
39721 if (PyErr_Occurred()) SWIG_fail
;
39723 resultobj
= result
;
39730 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39731 PyObject
*resultobj
= 0;
39732 wxMenu
*arg1
= (wxMenu
*) 0 ;
39733 wxString
*arg2
= 0 ;
39737 bool temp2
= false ;
39738 PyObject
* obj0
= 0 ;
39739 PyObject
* obj1
= 0 ;
39740 char * kwnames
[] = {
39741 (char *) "self",(char *) "item", NULL
39744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39746 if (!SWIG_IsOK(res1
)) {
39747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
39749 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39751 arg2
= wxString_in_helper(obj1
);
39752 if (arg2
== NULL
) SWIG_fail
;
39756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39757 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
39758 wxPyEndAllowThreads(__tstate
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 resultobj
= SWIG_From_int(static_cast< int >(result
));
39776 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39777 PyObject
*resultobj
= 0;
39778 wxMenu
*arg1
= (wxMenu
*) 0 ;
39780 wxMenuItem
*result
= 0 ;
39785 PyObject
* obj0
= 0 ;
39786 PyObject
* obj1
= 0 ;
39787 char * kwnames
[] = {
39788 (char *) "self",(char *) "id", NULL
39791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39793 if (!SWIG_IsOK(res1
)) {
39794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
39796 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39798 if (!SWIG_IsOK(ecode2
)) {
39799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
39801 arg2
= static_cast< int >(val2
);
39803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39804 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
39805 wxPyEndAllowThreads(__tstate
);
39806 if (PyErr_Occurred()) SWIG_fail
;
39809 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39817 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39818 PyObject
*resultobj
= 0;
39819 wxMenu
*arg1
= (wxMenu
*) 0 ;
39821 wxMenuItem
*result
= 0 ;
39826 PyObject
* obj0
= 0 ;
39827 PyObject
* obj1
= 0 ;
39828 char * kwnames
[] = {
39829 (char *) "self",(char *) "position", NULL
39832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39834 if (!SWIG_IsOK(res1
)) {
39835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
39837 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39838 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39839 if (!SWIG_IsOK(ecode2
)) {
39840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
39842 arg2
= static_cast< size_t >(val2
);
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
39846 wxPyEndAllowThreads(__tstate
);
39847 if (PyErr_Occurred()) SWIG_fail
;
39850 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39858 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39859 PyObject
*resultobj
= 0;
39860 wxMenu
*arg1
= (wxMenu
*) 0 ;
39869 PyObject
* obj0
= 0 ;
39870 PyObject
* obj1
= 0 ;
39871 PyObject
* obj2
= 0 ;
39872 char * kwnames
[] = {
39873 (char *) "self",(char *) "id",(char *) "enable", NULL
39876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39878 if (!SWIG_IsOK(res1
)) {
39879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
39881 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39883 if (!SWIG_IsOK(ecode2
)) {
39884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
39886 arg2
= static_cast< int >(val2
);
39887 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39888 if (!SWIG_IsOK(ecode3
)) {
39889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
39891 arg3
= static_cast< bool >(val3
);
39893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39894 (arg1
)->Enable(arg2
,arg3
);
39895 wxPyEndAllowThreads(__tstate
);
39896 if (PyErr_Occurred()) SWIG_fail
;
39898 resultobj
= SWIG_Py_Void();
39905 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39906 PyObject
*resultobj
= 0;
39907 wxMenu
*arg1
= (wxMenu
*) 0 ;
39914 PyObject
* obj0
= 0 ;
39915 PyObject
* obj1
= 0 ;
39916 char * kwnames
[] = {
39917 (char *) "self",(char *) "id", NULL
39920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39922 if (!SWIG_IsOK(res1
)) {
39923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
39925 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39927 if (!SWIG_IsOK(ecode2
)) {
39928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
39930 arg2
= static_cast< int >(val2
);
39932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39933 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
39934 wxPyEndAllowThreads(__tstate
);
39935 if (PyErr_Occurred()) SWIG_fail
;
39938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39946 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
= 0;
39948 wxMenu
*arg1
= (wxMenu
*) 0 ;
39957 PyObject
* obj0
= 0 ;
39958 PyObject
* obj1
= 0 ;
39959 PyObject
* obj2
= 0 ;
39960 char * kwnames
[] = {
39961 (char *) "self",(char *) "id",(char *) "check", NULL
39964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39966 if (!SWIG_IsOK(res1
)) {
39967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
39969 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39971 if (!SWIG_IsOK(ecode2
)) {
39972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
39974 arg2
= static_cast< int >(val2
);
39975 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39976 if (!SWIG_IsOK(ecode3
)) {
39977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
39979 arg3
= static_cast< bool >(val3
);
39981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39982 (arg1
)->Check(arg2
,arg3
);
39983 wxPyEndAllowThreads(__tstate
);
39984 if (PyErr_Occurred()) SWIG_fail
;
39986 resultobj
= SWIG_Py_Void();
39993 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39994 PyObject
*resultobj
= 0;
39995 wxMenu
*arg1
= (wxMenu
*) 0 ;
40002 PyObject
* obj0
= 0 ;
40003 PyObject
* obj1
= 0 ;
40004 char * kwnames
[] = {
40005 (char *) "self",(char *) "id", NULL
40008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40010 if (!SWIG_IsOK(res1
)) {
40011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
40013 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40015 if (!SWIG_IsOK(ecode2
)) {
40016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
40018 arg2
= static_cast< int >(val2
);
40020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40021 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
40022 wxPyEndAllowThreads(__tstate
);
40023 if (PyErr_Occurred()) SWIG_fail
;
40026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40034 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40035 PyObject
*resultobj
= 0;
40036 wxMenu
*arg1
= (wxMenu
*) 0 ;
40038 wxString
*arg3
= 0 ;
40043 bool temp3
= false ;
40044 PyObject
* obj0
= 0 ;
40045 PyObject
* obj1
= 0 ;
40046 PyObject
* obj2
= 0 ;
40047 char * kwnames
[] = {
40048 (char *) "self",(char *) "id",(char *) "label", NULL
40051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40053 if (!SWIG_IsOK(res1
)) {
40054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
40056 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40058 if (!SWIG_IsOK(ecode2
)) {
40059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
40061 arg2
= static_cast< int >(val2
);
40063 arg3
= wxString_in_helper(obj2
);
40064 if (arg3
== NULL
) SWIG_fail
;
40068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40069 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
40070 wxPyEndAllowThreads(__tstate
);
40071 if (PyErr_Occurred()) SWIG_fail
;
40073 resultobj
= SWIG_Py_Void();
40088 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40089 PyObject
*resultobj
= 0;
40090 wxMenu
*arg1
= (wxMenu
*) 0 ;
40097 PyObject
* obj0
= 0 ;
40098 PyObject
* obj1
= 0 ;
40099 char * kwnames
[] = {
40100 (char *) "self",(char *) "id", NULL
40103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40105 if (!SWIG_IsOK(res1
)) {
40106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
40108 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40110 if (!SWIG_IsOK(ecode2
)) {
40111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
40113 arg2
= static_cast< int >(val2
);
40115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40116 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
40117 wxPyEndAllowThreads(__tstate
);
40118 if (PyErr_Occurred()) SWIG_fail
;
40122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40133 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
= 0;
40135 wxMenu
*arg1
= (wxMenu
*) 0 ;
40137 wxString
*arg3
= 0 ;
40142 bool temp3
= false ;
40143 PyObject
* obj0
= 0 ;
40144 PyObject
* obj1
= 0 ;
40145 PyObject
* obj2
= 0 ;
40146 char * kwnames
[] = {
40147 (char *) "self",(char *) "id",(char *) "helpString", NULL
40150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40152 if (!SWIG_IsOK(res1
)) {
40153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
40155 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40157 if (!SWIG_IsOK(ecode2
)) {
40158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
40160 arg2
= static_cast< int >(val2
);
40162 arg3
= wxString_in_helper(obj2
);
40163 if (arg3
== NULL
) SWIG_fail
;
40167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40168 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40172 resultobj
= SWIG_Py_Void();
40187 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40188 PyObject
*resultobj
= 0;
40189 wxMenu
*arg1
= (wxMenu
*) 0 ;
40196 PyObject
* obj0
= 0 ;
40197 PyObject
* obj1
= 0 ;
40198 char * kwnames
[] = {
40199 (char *) "self",(char *) "id", NULL
40202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40204 if (!SWIG_IsOK(res1
)) {
40205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
40207 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40209 if (!SWIG_IsOK(ecode2
)) {
40210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
40212 arg2
= static_cast< int >(val2
);
40214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40215 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
40216 wxPyEndAllowThreads(__tstate
);
40217 if (PyErr_Occurred()) SWIG_fail
;
40221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40232 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40233 PyObject
*resultobj
= 0;
40234 wxMenu
*arg1
= (wxMenu
*) 0 ;
40235 wxString
*arg2
= 0 ;
40238 bool temp2
= false ;
40239 PyObject
* obj0
= 0 ;
40240 PyObject
* obj1
= 0 ;
40241 char * kwnames
[] = {
40242 (char *) "self",(char *) "title", NULL
40245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40247 if (!SWIG_IsOK(res1
)) {
40248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
40250 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40252 arg2
= wxString_in_helper(obj1
);
40253 if (arg2
== NULL
) SWIG_fail
;
40257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40258 (arg1
)->SetTitle((wxString
const &)*arg2
);
40259 wxPyEndAllowThreads(__tstate
);
40260 if (PyErr_Occurred()) SWIG_fail
;
40262 resultobj
= SWIG_Py_Void();
40277 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40278 PyObject
*resultobj
= 0;
40279 wxMenu
*arg1
= (wxMenu
*) 0 ;
40283 PyObject
*swig_obj
[1] ;
40285 if (!args
) SWIG_fail
;
40286 swig_obj
[0] = args
;
40287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40288 if (!SWIG_IsOK(res1
)) {
40289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40291 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40294 result
= ((wxMenu
const *)arg1
)->GetTitle();
40295 wxPyEndAllowThreads(__tstate
);
40296 if (PyErr_Occurred()) SWIG_fail
;
40300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40311 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40312 PyObject
*resultobj
= 0;
40313 wxMenu
*arg1
= (wxMenu
*) 0 ;
40314 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
40319 PyObject
* obj0
= 0 ;
40320 PyObject
* obj1
= 0 ;
40321 char * kwnames
[] = {
40322 (char *) "self",(char *) "handler", NULL
40325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40327 if (!SWIG_IsOK(res1
)) {
40328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
40330 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40332 if (!SWIG_IsOK(res2
)) {
40333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40335 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40338 (arg1
)->SetEventHandler(arg2
);
40339 wxPyEndAllowThreads(__tstate
);
40340 if (PyErr_Occurred()) SWIG_fail
;
40342 resultobj
= SWIG_Py_Void();
40349 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40350 PyObject
*resultobj
= 0;
40351 wxMenu
*arg1
= (wxMenu
*) 0 ;
40352 wxEvtHandler
*result
= 0 ;
40355 PyObject
*swig_obj
[1] ;
40357 if (!args
) SWIG_fail
;
40358 swig_obj
[0] = args
;
40359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40360 if (!SWIG_IsOK(res1
)) {
40361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
40363 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40366 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
40367 wxPyEndAllowThreads(__tstate
);
40368 if (PyErr_Occurred()) SWIG_fail
;
40371 resultobj
= wxPyMake_wxObject(result
, 0);
40379 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40380 PyObject
*resultobj
= 0;
40381 wxMenu
*arg1
= (wxMenu
*) 0 ;
40382 wxWindow
*arg2
= (wxWindow
*) 0 ;
40387 PyObject
* obj0
= 0 ;
40388 PyObject
* obj1
= 0 ;
40389 char * kwnames
[] = {
40390 (char *) "self",(char *) "win", NULL
40393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40395 if (!SWIG_IsOK(res1
)) {
40396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
40398 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40400 if (!SWIG_IsOK(res2
)) {
40401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
40403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40406 (arg1
)->SetInvokingWindow(arg2
);
40407 wxPyEndAllowThreads(__tstate
);
40408 if (PyErr_Occurred()) SWIG_fail
;
40410 resultobj
= SWIG_Py_Void();
40417 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40418 PyObject
*resultobj
= 0;
40419 wxMenu
*arg1
= (wxMenu
*) 0 ;
40420 wxWindow
*result
= 0 ;
40423 PyObject
*swig_obj
[1] ;
40425 if (!args
) SWIG_fail
;
40426 swig_obj
[0] = args
;
40427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40428 if (!SWIG_IsOK(res1
)) {
40429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
40431 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40434 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
40435 wxPyEndAllowThreads(__tstate
);
40436 if (PyErr_Occurred()) SWIG_fail
;
40439 resultobj
= wxPyMake_wxObject(result
, 0);
40447 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40448 PyObject
*resultobj
= 0;
40449 wxMenu
*arg1
= (wxMenu
*) 0 ;
40453 PyObject
*swig_obj
[1] ;
40455 if (!args
) SWIG_fail
;
40456 swig_obj
[0] = args
;
40457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40458 if (!SWIG_IsOK(res1
)) {
40459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40461 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40464 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
40465 wxPyEndAllowThreads(__tstate
);
40466 if (PyErr_Occurred()) SWIG_fail
;
40468 resultobj
= SWIG_From_long(static_cast< long >(result
));
40475 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40476 PyObject
*resultobj
= 0;
40477 wxMenu
*arg1
= (wxMenu
*) 0 ;
40478 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
40483 PyObject
* obj0
= 0 ;
40484 PyObject
* obj1
= 0 ;
40485 char * kwnames
[] = {
40486 (char *) "self",(char *) "source", NULL
40489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40491 if (!SWIG_IsOK(res1
)) {
40492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
40494 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40497 if (!SWIG_IsOK(res2
)) {
40498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40500 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40504 (arg1
)->UpdateUI(arg2
);
40505 wxPyEndAllowThreads(__tstate
);
40506 if (PyErr_Occurred()) SWIG_fail
;
40508 resultobj
= SWIG_Py_Void();
40515 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40516 PyObject
*resultobj
= 0;
40517 wxMenu
*arg1
= (wxMenu
*) 0 ;
40518 wxMenuBar
*result
= 0 ;
40521 PyObject
*swig_obj
[1] ;
40523 if (!args
) SWIG_fail
;
40524 swig_obj
[0] = args
;
40525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40526 if (!SWIG_IsOK(res1
)) {
40527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
40529 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40532 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
40533 wxPyEndAllowThreads(__tstate
);
40534 if (PyErr_Occurred()) SWIG_fail
;
40537 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40545 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40546 PyObject
*resultobj
= 0;
40547 wxMenu
*arg1
= (wxMenu
*) 0 ;
40548 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
40553 PyObject
* obj0
= 0 ;
40554 PyObject
* obj1
= 0 ;
40555 char * kwnames
[] = {
40556 (char *) "self",(char *) "menubar", NULL
40559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40561 if (!SWIG_IsOK(res1
)) {
40562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
40564 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
40566 if (!SWIG_IsOK(res2
)) {
40567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
40569 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
40571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40572 (arg1
)->Attach(arg2
);
40573 wxPyEndAllowThreads(__tstate
);
40574 if (PyErr_Occurred()) SWIG_fail
;
40576 resultobj
= SWIG_Py_Void();
40583 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40584 PyObject
*resultobj
= 0;
40585 wxMenu
*arg1
= (wxMenu
*) 0 ;
40588 PyObject
*swig_obj
[1] ;
40590 if (!args
) SWIG_fail
;
40591 swig_obj
[0] = args
;
40592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40593 if (!SWIG_IsOK(res1
)) {
40594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
40596 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40600 wxPyEndAllowThreads(__tstate
);
40601 if (PyErr_Occurred()) SWIG_fail
;
40603 resultobj
= SWIG_Py_Void();
40610 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40611 PyObject
*resultobj
= 0;
40612 wxMenu
*arg1
= (wxMenu
*) 0 ;
40616 PyObject
*swig_obj
[1] ;
40618 if (!args
) SWIG_fail
;
40619 swig_obj
[0] = args
;
40620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40621 if (!SWIG_IsOK(res1
)) {
40622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
40624 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40627 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
40628 wxPyEndAllowThreads(__tstate
);
40629 if (PyErr_Occurred()) SWIG_fail
;
40632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40640 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40641 PyObject
*resultobj
= 0;
40642 wxMenu
*arg1
= (wxMenu
*) 0 ;
40643 wxMenu
*arg2
= (wxMenu
*) 0 ;
40648 PyObject
* obj0
= 0 ;
40649 PyObject
* obj1
= 0 ;
40650 char * kwnames
[] = {
40651 (char *) "self",(char *) "parent", NULL
40654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40656 if (!SWIG_IsOK(res1
)) {
40657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
40659 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40661 if (!SWIG_IsOK(res2
)) {
40662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
40664 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40667 (arg1
)->SetParent(arg2
);
40668 wxPyEndAllowThreads(__tstate
);
40669 if (PyErr_Occurred()) SWIG_fail
;
40671 resultobj
= SWIG_Py_Void();
40678 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40679 PyObject
*resultobj
= 0;
40680 wxMenu
*arg1
= (wxMenu
*) 0 ;
40681 wxMenu
*result
= 0 ;
40684 PyObject
*swig_obj
[1] ;
40686 if (!args
) SWIG_fail
;
40687 swig_obj
[0] = args
;
40688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40689 if (!SWIG_IsOK(res1
)) {
40690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
40692 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40695 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
40696 wxPyEndAllowThreads(__tstate
);
40697 if (PyErr_Occurred()) SWIG_fail
;
40700 resultobj
= wxPyMake_wxObject(result
, 0);
40708 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40711 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
40712 return SWIG_Py_Void();
40715 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40716 return SWIG_Python_InitShadowInstance(args
);
40719 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40720 PyObject
*resultobj
= 0;
40721 long arg1
= (long) 0 ;
40722 wxMenuBar
*result
= 0 ;
40725 PyObject
* obj0
= 0 ;
40726 char * kwnames
[] = {
40727 (char *) "style", NULL
40730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
40732 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
40733 if (!SWIG_IsOK(ecode1
)) {
40734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
40736 arg1
= static_cast< long >(val1
);
40739 if (!wxPyCheckForApp()) SWIG_fail
;
40740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40741 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
40742 wxPyEndAllowThreads(__tstate
);
40743 if (PyErr_Occurred()) SWIG_fail
;
40745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
40752 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40753 PyObject
*resultobj
= 0;
40754 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40755 wxMenu
*arg2
= (wxMenu
*) 0 ;
40756 wxString
*arg3
= 0 ;
40762 bool temp3
= false ;
40763 PyObject
* obj0
= 0 ;
40764 PyObject
* obj1
= 0 ;
40765 PyObject
* obj2
= 0 ;
40766 char * kwnames
[] = {
40767 (char *) "self",(char *) "menu",(char *) "title", NULL
40770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40772 if (!SWIG_IsOK(res1
)) {
40773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40775 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40777 if (!SWIG_IsOK(res2
)) {
40778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
40780 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40782 arg3
= wxString_in_helper(obj2
);
40783 if (arg3
== NULL
) SWIG_fail
;
40787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40788 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
40789 wxPyEndAllowThreads(__tstate
);
40790 if (PyErr_Occurred()) SWIG_fail
;
40793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40809 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40810 PyObject
*resultobj
= 0;
40811 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40813 wxMenu
*arg3
= (wxMenu
*) 0 ;
40814 wxString
*arg4
= 0 ;
40822 bool temp4
= false ;
40823 PyObject
* obj0
= 0 ;
40824 PyObject
* obj1
= 0 ;
40825 PyObject
* obj2
= 0 ;
40826 PyObject
* obj3
= 0 ;
40827 char * kwnames
[] = {
40828 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40833 if (!SWIG_IsOK(res1
)) {
40834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40836 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40837 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40838 if (!SWIG_IsOK(ecode2
)) {
40839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
40841 arg2
= static_cast< size_t >(val2
);
40842 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40843 if (!SWIG_IsOK(res3
)) {
40844 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
40846 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40848 arg4
= wxString_in_helper(obj3
);
40849 if (arg4
== NULL
) SWIG_fail
;
40853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40854 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
40855 wxPyEndAllowThreads(__tstate
);
40856 if (PyErr_Occurred()) SWIG_fail
;
40859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40875 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40876 PyObject
*resultobj
= 0;
40877 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40881 PyObject
*swig_obj
[1] ;
40883 if (!args
) SWIG_fail
;
40884 swig_obj
[0] = args
;
40885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40886 if (!SWIG_IsOK(res1
)) {
40887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40889 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40892 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
40893 wxPyEndAllowThreads(__tstate
);
40894 if (PyErr_Occurred()) SWIG_fail
;
40896 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
40903 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40904 PyObject
*resultobj
= 0;
40905 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40907 wxMenu
*result
= 0 ;
40912 PyObject
* obj0
= 0 ;
40913 PyObject
* obj1
= 0 ;
40914 char * kwnames
[] = {
40915 (char *) "self",(char *) "pos", NULL
40918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40920 if (!SWIG_IsOK(res1
)) {
40921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40923 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40925 if (!SWIG_IsOK(ecode2
)) {
40926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
40928 arg2
= static_cast< size_t >(val2
);
40930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40931 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
40932 wxPyEndAllowThreads(__tstate
);
40933 if (PyErr_Occurred()) SWIG_fail
;
40936 resultobj
= wxPyMake_wxObject(result
, 0);
40944 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40945 PyObject
*resultobj
= 0;
40946 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40948 wxMenu
*arg3
= (wxMenu
*) 0 ;
40949 wxString
*arg4
= 0 ;
40950 wxMenu
*result
= 0 ;
40957 bool temp4
= false ;
40958 PyObject
* obj0
= 0 ;
40959 PyObject
* obj1
= 0 ;
40960 PyObject
* obj2
= 0 ;
40961 PyObject
* obj3
= 0 ;
40962 char * kwnames
[] = {
40963 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40968 if (!SWIG_IsOK(res1
)) {
40969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40971 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40972 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40973 if (!SWIG_IsOK(ecode2
)) {
40974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
40976 arg2
= static_cast< size_t >(val2
);
40977 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40978 if (!SWIG_IsOK(res3
)) {
40979 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
40981 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40983 arg4
= wxString_in_helper(obj3
);
40984 if (arg4
== NULL
) SWIG_fail
;
40988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40989 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
40990 wxPyEndAllowThreads(__tstate
);
40991 if (PyErr_Occurred()) SWIG_fail
;
40994 resultobj
= wxPyMake_wxObject(result
, 0);
41010 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41011 PyObject
*resultobj
= 0;
41012 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41014 wxMenu
*result
= 0 ;
41019 PyObject
* obj0
= 0 ;
41020 PyObject
* obj1
= 0 ;
41021 char * kwnames
[] = {
41022 (char *) "self",(char *) "pos", NULL
41025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41027 if (!SWIG_IsOK(res1
)) {
41028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41030 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41031 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41032 if (!SWIG_IsOK(ecode2
)) {
41033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
41035 arg2
= static_cast< size_t >(val2
);
41037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41038 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
41039 wxPyEndAllowThreads(__tstate
);
41040 if (PyErr_Occurred()) SWIG_fail
;
41043 resultobj
= wxPyMake_wxObject(result
, 0);
41051 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41052 PyObject
*resultobj
= 0;
41053 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41062 PyObject
* obj0
= 0 ;
41063 PyObject
* obj1
= 0 ;
41064 PyObject
* obj2
= 0 ;
41065 char * kwnames
[] = {
41066 (char *) "self",(char *) "pos",(char *) "enable", NULL
41069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41071 if (!SWIG_IsOK(res1
)) {
41072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41074 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41075 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41076 if (!SWIG_IsOK(ecode2
)) {
41077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
41079 arg2
= static_cast< size_t >(val2
);
41080 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41081 if (!SWIG_IsOK(ecode3
)) {
41082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
41084 arg3
= static_cast< bool >(val3
);
41086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41087 (arg1
)->EnableTop(arg2
,arg3
);
41088 wxPyEndAllowThreads(__tstate
);
41089 if (PyErr_Occurred()) SWIG_fail
;
41091 resultobj
= SWIG_Py_Void();
41098 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41099 PyObject
*resultobj
= 0;
41100 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41107 PyObject
* obj0
= 0 ;
41108 PyObject
* obj1
= 0 ;
41109 char * kwnames
[] = {
41110 (char *) "self",(char *) "pos", NULL
41113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41115 if (!SWIG_IsOK(res1
)) {
41116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41118 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41119 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41120 if (!SWIG_IsOK(ecode2
)) {
41121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
41123 arg2
= static_cast< size_t >(val2
);
41125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41126 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
41127 wxPyEndAllowThreads(__tstate
);
41128 if (PyErr_Occurred()) SWIG_fail
;
41131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41139 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41140 PyObject
*resultobj
= 0;
41141 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41143 wxString
*arg3
= 0 ;
41148 bool temp3
= false ;
41149 PyObject
* obj0
= 0 ;
41150 PyObject
* obj1
= 0 ;
41151 PyObject
* obj2
= 0 ;
41152 char * kwnames
[] = {
41153 (char *) "self",(char *) "pos",(char *) "label", NULL
41156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41158 if (!SWIG_IsOK(res1
)) {
41159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41161 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41162 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41163 if (!SWIG_IsOK(ecode2
)) {
41164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41166 arg2
= static_cast< size_t >(val2
);
41168 arg3
= wxString_in_helper(obj2
);
41169 if (arg3
== NULL
) SWIG_fail
;
41173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41174 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
41175 wxPyEndAllowThreads(__tstate
);
41176 if (PyErr_Occurred()) SWIG_fail
;
41178 resultobj
= SWIG_Py_Void();
41193 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41194 PyObject
*resultobj
= 0;
41195 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41202 PyObject
* obj0
= 0 ;
41203 PyObject
* obj1
= 0 ;
41204 char * kwnames
[] = {
41205 (char *) "self",(char *) "pos", NULL
41208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41210 if (!SWIG_IsOK(res1
)) {
41211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41213 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41214 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41215 if (!SWIG_IsOK(ecode2
)) {
41216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41218 arg2
= static_cast< size_t >(val2
);
41220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41221 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
41222 wxPyEndAllowThreads(__tstate
);
41223 if (PyErr_Occurred()) SWIG_fail
;
41227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41238 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41239 PyObject
*resultobj
= 0;
41240 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41241 wxString
*arg2
= 0 ;
41242 wxString
*arg3
= 0 ;
41246 bool temp2
= false ;
41247 bool temp3
= false ;
41248 PyObject
* obj0
= 0 ;
41249 PyObject
* obj1
= 0 ;
41250 PyObject
* obj2
= 0 ;
41251 char * kwnames
[] = {
41252 (char *) "self",(char *) "menu",(char *) "item", NULL
41255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41257 if (!SWIG_IsOK(res1
)) {
41258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41260 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41262 arg2
= wxString_in_helper(obj1
);
41263 if (arg2
== NULL
) SWIG_fail
;
41267 arg3
= wxString_in_helper(obj2
);
41268 if (arg3
== NULL
) SWIG_fail
;
41272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41273 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
41274 wxPyEndAllowThreads(__tstate
);
41275 if (PyErr_Occurred()) SWIG_fail
;
41277 resultobj
= SWIG_From_int(static_cast< int >(result
));
41300 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41301 PyObject
*resultobj
= 0;
41302 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41304 wxMenuItem
*result
= 0 ;
41309 PyObject
* obj0
= 0 ;
41310 PyObject
* obj1
= 0 ;
41311 char * kwnames
[] = {
41312 (char *) "self",(char *) "id", NULL
41315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41317 if (!SWIG_IsOK(res1
)) {
41318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41320 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41322 if (!SWIG_IsOK(ecode2
)) {
41323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
41325 arg2
= static_cast< int >(val2
);
41327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41328 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
41329 wxPyEndAllowThreads(__tstate
);
41330 if (PyErr_Occurred()) SWIG_fail
;
41333 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41341 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41342 PyObject
*resultobj
= 0;
41343 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41344 wxString
*arg2
= 0 ;
41348 bool temp2
= false ;
41349 PyObject
* obj0
= 0 ;
41350 PyObject
* obj1
= 0 ;
41351 char * kwnames
[] = {
41352 (char *) "self",(char *) "title", NULL
41355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41357 if (!SWIG_IsOK(res1
)) {
41358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41360 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41362 arg2
= wxString_in_helper(obj1
);
41363 if (arg2
== NULL
) SWIG_fail
;
41367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41368 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
41369 wxPyEndAllowThreads(__tstate
);
41370 if (PyErr_Occurred()) SWIG_fail
;
41372 resultobj
= SWIG_From_int(static_cast< int >(result
));
41387 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41388 PyObject
*resultobj
= 0;
41389 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41398 PyObject
* obj0
= 0 ;
41399 PyObject
* obj1
= 0 ;
41400 PyObject
* obj2
= 0 ;
41401 char * kwnames
[] = {
41402 (char *) "self",(char *) "id",(char *) "enable", NULL
41405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41407 if (!SWIG_IsOK(res1
)) {
41408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41410 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41412 if (!SWIG_IsOK(ecode2
)) {
41413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
41415 arg2
= static_cast< int >(val2
);
41416 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41417 if (!SWIG_IsOK(ecode3
)) {
41418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
41420 arg3
= static_cast< bool >(val3
);
41422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41423 (arg1
)->Enable(arg2
,arg3
);
41424 wxPyEndAllowThreads(__tstate
);
41425 if (PyErr_Occurred()) SWIG_fail
;
41427 resultobj
= SWIG_Py_Void();
41434 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41435 PyObject
*resultobj
= 0;
41436 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41445 PyObject
* obj0
= 0 ;
41446 PyObject
* obj1
= 0 ;
41447 PyObject
* obj2
= 0 ;
41448 char * kwnames
[] = {
41449 (char *) "self",(char *) "id",(char *) "check", NULL
41452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41454 if (!SWIG_IsOK(res1
)) {
41455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41457 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41459 if (!SWIG_IsOK(ecode2
)) {
41460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
41462 arg2
= static_cast< int >(val2
);
41463 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41464 if (!SWIG_IsOK(ecode3
)) {
41465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
41467 arg3
= static_cast< bool >(val3
);
41469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41470 (arg1
)->Check(arg2
,arg3
);
41471 wxPyEndAllowThreads(__tstate
);
41472 if (PyErr_Occurred()) SWIG_fail
;
41474 resultobj
= SWIG_Py_Void();
41481 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41482 PyObject
*resultobj
= 0;
41483 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41490 PyObject
* obj0
= 0 ;
41491 PyObject
* obj1
= 0 ;
41492 char * kwnames
[] = {
41493 (char *) "self",(char *) "id", NULL
41496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41498 if (!SWIG_IsOK(res1
)) {
41499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41501 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41503 if (!SWIG_IsOK(ecode2
)) {
41504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
41506 arg2
= static_cast< int >(val2
);
41508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41509 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
41510 wxPyEndAllowThreads(__tstate
);
41511 if (PyErr_Occurred()) SWIG_fail
;
41514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41522 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41523 PyObject
*resultobj
= 0;
41524 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41531 PyObject
* obj0
= 0 ;
41532 PyObject
* obj1
= 0 ;
41533 char * kwnames
[] = {
41534 (char *) "self",(char *) "id", NULL
41537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41539 if (!SWIG_IsOK(res1
)) {
41540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41542 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41544 if (!SWIG_IsOK(ecode2
)) {
41545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
41547 arg2
= static_cast< int >(val2
);
41549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41550 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
41551 wxPyEndAllowThreads(__tstate
);
41552 if (PyErr_Occurred()) SWIG_fail
;
41555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41563 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41564 PyObject
*resultobj
= 0;
41565 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41567 wxString
*arg3
= 0 ;
41572 bool temp3
= false ;
41573 PyObject
* obj0
= 0 ;
41574 PyObject
* obj1
= 0 ;
41575 PyObject
* obj2
= 0 ;
41576 char * kwnames
[] = {
41577 (char *) "self",(char *) "id",(char *) "label", NULL
41580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41582 if (!SWIG_IsOK(res1
)) {
41583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41585 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41587 if (!SWIG_IsOK(ecode2
)) {
41588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
41590 arg2
= static_cast< int >(val2
);
41592 arg3
= wxString_in_helper(obj2
);
41593 if (arg3
== NULL
) SWIG_fail
;
41597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41598 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
41599 wxPyEndAllowThreads(__tstate
);
41600 if (PyErr_Occurred()) SWIG_fail
;
41602 resultobj
= SWIG_Py_Void();
41617 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41618 PyObject
*resultobj
= 0;
41619 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41626 PyObject
* obj0
= 0 ;
41627 PyObject
* obj1
= 0 ;
41628 char * kwnames
[] = {
41629 (char *) "self",(char *) "id", NULL
41632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41634 if (!SWIG_IsOK(res1
)) {
41635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41637 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41639 if (!SWIG_IsOK(ecode2
)) {
41640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
41642 arg2
= static_cast< int >(val2
);
41644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41645 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
41646 wxPyEndAllowThreads(__tstate
);
41647 if (PyErr_Occurred()) SWIG_fail
;
41651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41662 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41663 PyObject
*resultobj
= 0;
41664 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41666 wxString
*arg3
= 0 ;
41671 bool temp3
= false ;
41672 PyObject
* obj0
= 0 ;
41673 PyObject
* obj1
= 0 ;
41674 PyObject
* obj2
= 0 ;
41675 char * kwnames
[] = {
41676 (char *) "self",(char *) "id",(char *) "helpString", NULL
41679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41681 if (!SWIG_IsOK(res1
)) {
41682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41684 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41686 if (!SWIG_IsOK(ecode2
)) {
41687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
41689 arg2
= static_cast< int >(val2
);
41691 arg3
= wxString_in_helper(obj2
);
41692 if (arg3
== NULL
) SWIG_fail
;
41696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41697 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
41698 wxPyEndAllowThreads(__tstate
);
41699 if (PyErr_Occurred()) SWIG_fail
;
41701 resultobj
= SWIG_Py_Void();
41716 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41717 PyObject
*resultobj
= 0;
41718 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41725 PyObject
* obj0
= 0 ;
41726 PyObject
* obj1
= 0 ;
41727 char * kwnames
[] = {
41728 (char *) "self",(char *) "id", NULL
41731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41733 if (!SWIG_IsOK(res1
)) {
41734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41736 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41738 if (!SWIG_IsOK(ecode2
)) {
41739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
41741 arg2
= static_cast< int >(val2
);
41743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41744 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
41745 wxPyEndAllowThreads(__tstate
);
41746 if (PyErr_Occurred()) SWIG_fail
;
41750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41761 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41762 PyObject
*resultobj
= 0;
41763 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41764 wxFrame
*result
= 0 ;
41767 PyObject
*swig_obj
[1] ;
41769 if (!args
) SWIG_fail
;
41770 swig_obj
[0] = args
;
41771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41772 if (!SWIG_IsOK(res1
)) {
41773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41775 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41778 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
41779 wxPyEndAllowThreads(__tstate
);
41780 if (PyErr_Occurred()) SWIG_fail
;
41783 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41791 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41792 PyObject
*resultobj
= 0;
41793 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41797 PyObject
*swig_obj
[1] ;
41799 if (!args
) SWIG_fail
;
41800 swig_obj
[0] = args
;
41801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41802 if (!SWIG_IsOK(res1
)) {
41803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41805 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41808 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
41809 wxPyEndAllowThreads(__tstate
);
41810 if (PyErr_Occurred()) SWIG_fail
;
41813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41821 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41822 PyObject
*resultobj
= 0;
41823 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41824 wxFrame
*arg2
= (wxFrame
*) 0 ;
41829 PyObject
* obj0
= 0 ;
41830 PyObject
* obj1
= 0 ;
41831 char * kwnames
[] = {
41832 (char *) "self",(char *) "frame", NULL
41835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41837 if (!SWIG_IsOK(res1
)) {
41838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41840 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
41842 if (!SWIG_IsOK(res2
)) {
41843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
41845 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
41847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41848 (arg1
)->Attach(arg2
);
41849 wxPyEndAllowThreads(__tstate
);
41850 if (PyErr_Occurred()) SWIG_fail
;
41852 resultobj
= SWIG_Py_Void();
41859 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41860 PyObject
*resultobj
= 0;
41861 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41864 PyObject
*swig_obj
[1] ;
41866 if (!args
) SWIG_fail
;
41867 swig_obj
[0] = args
;
41868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41869 if (!SWIG_IsOK(res1
)) {
41870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41872 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41876 wxPyEndAllowThreads(__tstate
);
41877 if (PyErr_Occurred()) SWIG_fail
;
41879 resultobj
= SWIG_Py_Void();
41886 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41887 PyObject
*resultobj
= 0;
41891 PyObject
* obj0
= 0 ;
41892 char * kwnames
[] = {
41893 (char *) "enable", NULL
41896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
41897 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
41898 if (!SWIG_IsOK(ecode1
)) {
41899 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
41901 arg1
= static_cast< bool >(val1
);
41903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41904 wxMenuBar_SetAutoWindowMenu(arg1
);
41905 wxPyEndAllowThreads(__tstate
);
41906 if (PyErr_Occurred()) SWIG_fail
;
41908 resultobj
= SWIG_Py_Void();
41915 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41916 PyObject
*resultobj
= 0;
41919 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
41921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41922 result
= (bool)wxMenuBar_GetAutoWindowMenu();
41923 wxPyEndAllowThreads(__tstate
);
41924 if (PyErr_Occurred()) SWIG_fail
;
41927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41935 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41938 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
41939 return SWIG_Py_Void();
41942 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41943 return SWIG_Python_InitShadowInstance(args
);
41946 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41947 PyObject
*resultobj
= 0;
41948 wxMenu
*arg1
= (wxMenu
*) NULL
;
41949 int arg2
= (int) wxID_ANY
;
41950 wxString
const &arg3_defvalue
= wxPyEmptyString
;
41951 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
41952 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41953 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41954 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
41955 wxMenu
*arg6
= (wxMenu
*) NULL
;
41956 wxMenuItem
*result
= 0 ;
41961 bool temp3
= false ;
41962 bool temp4
= false ;
41967 PyObject
* obj0
= 0 ;
41968 PyObject
* obj1
= 0 ;
41969 PyObject
* obj2
= 0 ;
41970 PyObject
* obj3
= 0 ;
41971 PyObject
* obj4
= 0 ;
41972 PyObject
* obj5
= 0 ;
41973 char * kwnames
[] = {
41974 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
41977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
41979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41980 if (!SWIG_IsOK(res1
)) {
41981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41983 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41987 if (!SWIG_IsOK(ecode2
)) {
41988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
41990 arg2
= static_cast< int >(val2
);
41994 arg3
= wxString_in_helper(obj2
);
41995 if (arg3
== NULL
) SWIG_fail
;
42001 arg4
= wxString_in_helper(obj3
);
42002 if (arg4
== NULL
) SWIG_fail
;
42007 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
42008 if (!SWIG_IsOK(ecode5
)) {
42009 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
42011 arg5
= static_cast< wxItemKind
>(val5
);
42014 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42015 if (!SWIG_IsOK(res6
)) {
42016 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
42018 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
42021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42022 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
42023 wxPyEndAllowThreads(__tstate
);
42024 if (PyErr_Occurred()) SWIG_fail
;
42027 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
42051 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42052 PyObject
*resultobj
= 0;
42053 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42056 PyObject
*swig_obj
[1] ;
42058 if (!args
) SWIG_fail
;
42059 swig_obj
[0] = args
;
42060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42061 if (!SWIG_IsOK(res1
)) {
42062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42064 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42069 wxPyEndAllowThreads(__tstate
);
42070 if (PyErr_Occurred()) SWIG_fail
;
42072 resultobj
= SWIG_Py_Void();
42079 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42080 PyObject
*resultobj
= 0;
42081 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42082 wxMenu
*result
= 0 ;
42085 PyObject
*swig_obj
[1] ;
42087 if (!args
) SWIG_fail
;
42088 swig_obj
[0] = args
;
42089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42090 if (!SWIG_IsOK(res1
)) {
42091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42093 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42096 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
42097 wxPyEndAllowThreads(__tstate
);
42098 if (PyErr_Occurred()) SWIG_fail
;
42101 resultobj
= wxPyMake_wxObject(result
, 0);
42109 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42110 PyObject
*resultobj
= 0;
42111 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42112 wxMenu
*arg2
= (wxMenu
*) 0 ;
42117 PyObject
* obj0
= 0 ;
42118 PyObject
* obj1
= 0 ;
42119 char * kwnames
[] = {
42120 (char *) "self",(char *) "menu", NULL
42123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42125 if (!SWIG_IsOK(res1
)) {
42126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42128 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42130 if (!SWIG_IsOK(res2
)) {
42131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42133 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42136 (arg1
)->SetMenu(arg2
);
42137 wxPyEndAllowThreads(__tstate
);
42138 if (PyErr_Occurred()) SWIG_fail
;
42140 resultobj
= SWIG_Py_Void();
42147 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42148 PyObject
*resultobj
= 0;
42149 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42155 PyObject
* obj0
= 0 ;
42156 PyObject
* obj1
= 0 ;
42157 char * kwnames
[] = {
42158 (char *) "self",(char *) "id", NULL
42161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42163 if (!SWIG_IsOK(res1
)) {
42164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42166 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42168 if (!SWIG_IsOK(ecode2
)) {
42169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
42171 arg2
= static_cast< int >(val2
);
42173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42174 (arg1
)->SetId(arg2
);
42175 wxPyEndAllowThreads(__tstate
);
42176 if (PyErr_Occurred()) SWIG_fail
;
42178 resultobj
= SWIG_Py_Void();
42185 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42186 PyObject
*resultobj
= 0;
42187 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42191 PyObject
*swig_obj
[1] ;
42193 if (!args
) SWIG_fail
;
42194 swig_obj
[0] = args
;
42195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42196 if (!SWIG_IsOK(res1
)) {
42197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42199 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42202 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
42203 wxPyEndAllowThreads(__tstate
);
42204 if (PyErr_Occurred()) SWIG_fail
;
42206 resultobj
= SWIG_From_int(static_cast< int >(result
));
42213 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42214 PyObject
*resultobj
= 0;
42215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42219 PyObject
*swig_obj
[1] ;
42221 if (!args
) SWIG_fail
;
42222 swig_obj
[0] = args
;
42223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42224 if (!SWIG_IsOK(res1
)) {
42225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42227 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42230 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
42231 wxPyEndAllowThreads(__tstate
);
42232 if (PyErr_Occurred()) SWIG_fail
;
42235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42243 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42244 PyObject
*resultobj
= 0;
42245 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42246 wxString
*arg2
= 0 ;
42249 bool temp2
= false ;
42250 PyObject
* obj0
= 0 ;
42251 PyObject
* obj1
= 0 ;
42252 char * kwnames
[] = {
42253 (char *) "self",(char *) "str", NULL
42256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42258 if (!SWIG_IsOK(res1
)) {
42259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42261 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42263 arg2
= wxString_in_helper(obj1
);
42264 if (arg2
== NULL
) SWIG_fail
;
42268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42269 (arg1
)->SetText((wxString
const &)*arg2
);
42270 wxPyEndAllowThreads(__tstate
);
42271 if (PyErr_Occurred()) SWIG_fail
;
42273 resultobj
= SWIG_Py_Void();
42288 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42289 PyObject
*resultobj
= 0;
42290 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42294 PyObject
*swig_obj
[1] ;
42296 if (!args
) SWIG_fail
;
42297 swig_obj
[0] = args
;
42298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42299 if (!SWIG_IsOK(res1
)) {
42300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42302 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42305 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
42306 wxPyEndAllowThreads(__tstate
);
42307 if (PyErr_Occurred()) SWIG_fail
;
42311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42322 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42323 PyObject
*resultobj
= 0;
42324 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42325 wxString
*result
= 0 ;
42328 PyObject
*swig_obj
[1] ;
42330 if (!args
) SWIG_fail
;
42331 swig_obj
[0] = args
;
42332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42333 if (!SWIG_IsOK(res1
)) {
42334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42336 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42340 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
42341 result
= (wxString
*) &_result_ref
;
42343 wxPyEndAllowThreads(__tstate
);
42344 if (PyErr_Occurred()) SWIG_fail
;
42348 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42350 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42359 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42360 PyObject
*resultobj
= 0;
42361 wxString
*arg1
= 0 ;
42363 bool temp1
= false ;
42364 PyObject
* obj0
= 0 ;
42365 char * kwnames
[] = {
42366 (char *) "text", NULL
42369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
42371 arg1
= wxString_in_helper(obj0
);
42372 if (arg1
== NULL
) SWIG_fail
;
42376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42377 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
42378 wxPyEndAllowThreads(__tstate
);
42379 if (PyErr_Occurred()) SWIG_fail
;
42383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42402 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42403 PyObject
*resultobj
= 0;
42404 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42408 PyObject
*swig_obj
[1] ;
42410 if (!args
) SWIG_fail
;
42411 swig_obj
[0] = args
;
42412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42413 if (!SWIG_IsOK(res1
)) {
42414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42416 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42419 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
42420 wxPyEndAllowThreads(__tstate
);
42421 if (PyErr_Occurred()) SWIG_fail
;
42423 resultobj
= SWIG_From_int(static_cast< int >(result
));
42430 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42431 PyObject
*resultobj
= 0;
42432 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42438 PyObject
* obj0
= 0 ;
42439 PyObject
* obj1
= 0 ;
42440 char * kwnames
[] = {
42441 (char *) "self",(char *) "kind", NULL
42444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42446 if (!SWIG_IsOK(res1
)) {
42447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42449 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42451 if (!SWIG_IsOK(ecode2
)) {
42452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
42454 arg2
= static_cast< wxItemKind
>(val2
);
42456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42457 (arg1
)->SetKind(arg2
);
42458 wxPyEndAllowThreads(__tstate
);
42459 if (PyErr_Occurred()) SWIG_fail
;
42461 resultobj
= SWIG_Py_Void();
42468 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42469 PyObject
*resultobj
= 0;
42470 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42476 PyObject
* obj0
= 0 ;
42477 PyObject
* obj1
= 0 ;
42478 char * kwnames
[] = {
42479 (char *) "self",(char *) "checkable", NULL
42482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42484 if (!SWIG_IsOK(res1
)) {
42485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42487 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42488 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42489 if (!SWIG_IsOK(ecode2
)) {
42490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
42492 arg2
= static_cast< bool >(val2
);
42494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42495 (arg1
)->SetCheckable(arg2
);
42496 wxPyEndAllowThreads(__tstate
);
42497 if (PyErr_Occurred()) SWIG_fail
;
42499 resultobj
= SWIG_Py_Void();
42506 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42507 PyObject
*resultobj
= 0;
42508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42512 PyObject
*swig_obj
[1] ;
42514 if (!args
) SWIG_fail
;
42515 swig_obj
[0] = args
;
42516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42517 if (!SWIG_IsOK(res1
)) {
42518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42520 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42523 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
42524 wxPyEndAllowThreads(__tstate
);
42525 if (PyErr_Occurred()) SWIG_fail
;
42528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42536 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42537 PyObject
*resultobj
= 0;
42538 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42542 PyObject
*swig_obj
[1] ;
42544 if (!args
) SWIG_fail
;
42545 swig_obj
[0] = args
;
42546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42547 if (!SWIG_IsOK(res1
)) {
42548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42550 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42553 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
42554 wxPyEndAllowThreads(__tstate
);
42555 if (PyErr_Occurred()) SWIG_fail
;
42558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42566 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42567 PyObject
*resultobj
= 0;
42568 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42569 wxMenu
*arg2
= (wxMenu
*) 0 ;
42574 PyObject
* obj0
= 0 ;
42575 PyObject
* obj1
= 0 ;
42576 char * kwnames
[] = {
42577 (char *) "self",(char *) "menu", NULL
42580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42582 if (!SWIG_IsOK(res1
)) {
42583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42585 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42587 if (!SWIG_IsOK(res2
)) {
42588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42590 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42593 (arg1
)->SetSubMenu(arg2
);
42594 wxPyEndAllowThreads(__tstate
);
42595 if (PyErr_Occurred()) SWIG_fail
;
42597 resultobj
= SWIG_Py_Void();
42604 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42605 PyObject
*resultobj
= 0;
42606 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42607 wxMenu
*result
= 0 ;
42610 PyObject
*swig_obj
[1] ;
42612 if (!args
) SWIG_fail
;
42613 swig_obj
[0] = args
;
42614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42615 if (!SWIG_IsOK(res1
)) {
42616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42618 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42621 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
42622 wxPyEndAllowThreads(__tstate
);
42623 if (PyErr_Occurred()) SWIG_fail
;
42626 resultobj
= wxPyMake_wxObject(result
, 0);
42634 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42635 PyObject
*resultobj
= 0;
42636 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42637 bool arg2
= (bool) true ;
42642 PyObject
* obj0
= 0 ;
42643 PyObject
* obj1
= 0 ;
42644 char * kwnames
[] = {
42645 (char *) "self",(char *) "enable", NULL
42648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42650 if (!SWIG_IsOK(res1
)) {
42651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42653 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42655 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42656 if (!SWIG_IsOK(ecode2
)) {
42657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
42659 arg2
= static_cast< bool >(val2
);
42662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42663 (arg1
)->Enable(arg2
);
42664 wxPyEndAllowThreads(__tstate
);
42665 if (PyErr_Occurred()) SWIG_fail
;
42667 resultobj
= SWIG_Py_Void();
42674 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42675 PyObject
*resultobj
= 0;
42676 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42680 PyObject
*swig_obj
[1] ;
42682 if (!args
) SWIG_fail
;
42683 swig_obj
[0] = args
;
42684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42685 if (!SWIG_IsOK(res1
)) {
42686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42688 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42691 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
42692 wxPyEndAllowThreads(__tstate
);
42693 if (PyErr_Occurred()) SWIG_fail
;
42696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42704 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42705 PyObject
*resultobj
= 0;
42706 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42707 bool arg2
= (bool) true ;
42712 PyObject
* obj0
= 0 ;
42713 PyObject
* obj1
= 0 ;
42714 char * kwnames
[] = {
42715 (char *) "self",(char *) "check", NULL
42718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42720 if (!SWIG_IsOK(res1
)) {
42721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42723 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42725 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42726 if (!SWIG_IsOK(ecode2
)) {
42727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
42729 arg2
= static_cast< bool >(val2
);
42732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42733 (arg1
)->Check(arg2
);
42734 wxPyEndAllowThreads(__tstate
);
42735 if (PyErr_Occurred()) SWIG_fail
;
42737 resultobj
= SWIG_Py_Void();
42744 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42745 PyObject
*resultobj
= 0;
42746 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42750 PyObject
*swig_obj
[1] ;
42752 if (!args
) SWIG_fail
;
42753 swig_obj
[0] = args
;
42754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42755 if (!SWIG_IsOK(res1
)) {
42756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42758 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42761 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
42762 wxPyEndAllowThreads(__tstate
);
42763 if (PyErr_Occurred()) SWIG_fail
;
42766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42774 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42775 PyObject
*resultobj
= 0;
42776 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42779 PyObject
*swig_obj
[1] ;
42781 if (!args
) SWIG_fail
;
42782 swig_obj
[0] = args
;
42783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42784 if (!SWIG_IsOK(res1
)) {
42785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42787 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42791 wxPyEndAllowThreads(__tstate
);
42792 if (PyErr_Occurred()) SWIG_fail
;
42794 resultobj
= SWIG_Py_Void();
42801 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42802 PyObject
*resultobj
= 0;
42803 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42804 wxString
*arg2
= 0 ;
42807 bool temp2
= false ;
42808 PyObject
* obj0
= 0 ;
42809 PyObject
* obj1
= 0 ;
42810 char * kwnames
[] = {
42811 (char *) "self",(char *) "str", NULL
42814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42816 if (!SWIG_IsOK(res1
)) {
42817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42819 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42821 arg2
= wxString_in_helper(obj1
);
42822 if (arg2
== NULL
) SWIG_fail
;
42826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42827 (arg1
)->SetHelp((wxString
const &)*arg2
);
42828 wxPyEndAllowThreads(__tstate
);
42829 if (PyErr_Occurred()) SWIG_fail
;
42831 resultobj
= SWIG_Py_Void();
42846 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42847 PyObject
*resultobj
= 0;
42848 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42849 wxString
*result
= 0 ;
42852 PyObject
*swig_obj
[1] ;
42854 if (!args
) SWIG_fail
;
42855 swig_obj
[0] = args
;
42856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42857 if (!SWIG_IsOK(res1
)) {
42858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42860 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42864 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
42865 result
= (wxString
*) &_result_ref
;
42867 wxPyEndAllowThreads(__tstate
);
42868 if (PyErr_Occurred()) SWIG_fail
;
42872 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42874 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42883 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42884 PyObject
*resultobj
= 0;
42885 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42886 wxAcceleratorEntry
*result
= 0 ;
42889 PyObject
*swig_obj
[1] ;
42891 if (!args
) SWIG_fail
;
42892 swig_obj
[0] = args
;
42893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42894 if (!SWIG_IsOK(res1
)) {
42895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42897 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42900 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
42901 wxPyEndAllowThreads(__tstate
);
42902 if (PyErr_Occurred()) SWIG_fail
;
42904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42911 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42912 PyObject
*resultobj
= 0;
42913 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42914 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
42919 PyObject
* obj0
= 0 ;
42920 PyObject
* obj1
= 0 ;
42921 char * kwnames
[] = {
42922 (char *) "self",(char *) "accel", NULL
42925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42927 if (!SWIG_IsOK(res1
)) {
42928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42930 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42932 if (!SWIG_IsOK(res2
)) {
42933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
42935 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
42937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42938 (arg1
)->SetAccel(arg2
);
42939 wxPyEndAllowThreads(__tstate
);
42940 if (PyErr_Occurred()) SWIG_fail
;
42942 resultobj
= SWIG_Py_Void();
42949 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42950 PyObject
*resultobj
= 0;
42951 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42952 wxBitmap
*arg2
= 0 ;
42957 PyObject
* obj0
= 0 ;
42958 PyObject
* obj1
= 0 ;
42959 char * kwnames
[] = {
42960 (char *) "self",(char *) "bitmap", NULL
42963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42965 if (!SWIG_IsOK(res1
)) {
42966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42968 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
42970 if (!SWIG_IsOK(res2
)) {
42971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42976 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
42978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42979 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
42980 wxPyEndAllowThreads(__tstate
);
42981 if (PyErr_Occurred()) SWIG_fail
;
42983 resultobj
= SWIG_Py_Void();
42990 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42991 PyObject
*resultobj
= 0;
42992 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42993 wxBitmap
*result
= 0 ;
42996 PyObject
*swig_obj
[1] ;
42998 if (!args
) SWIG_fail
;
42999 swig_obj
[0] = args
;
43000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43001 if (!SWIG_IsOK(res1
)) {
43002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43004 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43008 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
43009 result
= (wxBitmap
*) &_result_ref
;
43011 wxPyEndAllowThreads(__tstate
);
43012 if (PyErr_Occurred()) SWIG_fail
;
43015 wxBitmap
* resultptr
= new wxBitmap(*result
);
43016 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
43024 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43025 PyObject
*resultobj
= 0;
43026 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43032 PyObject
* obj0
= 0 ;
43033 PyObject
* obj1
= 0 ;
43034 char * kwnames
[] = {
43035 (char *) "self",(char *) "font", NULL
43038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43040 if (!SWIG_IsOK(res1
)) {
43041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43043 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
43045 if (!SWIG_IsOK(res2
)) {
43046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
43049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
43051 arg2
= reinterpret_cast< wxFont
* >(argp2
);
43053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43054 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
43055 wxPyEndAllowThreads(__tstate
);
43056 if (PyErr_Occurred()) SWIG_fail
;
43058 resultobj
= SWIG_Py_Void();
43065 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43066 PyObject
*resultobj
= 0;
43067 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43071 PyObject
*swig_obj
[1] ;
43073 if (!args
) SWIG_fail
;
43074 swig_obj
[0] = args
;
43075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43076 if (!SWIG_IsOK(res1
)) {
43077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43079 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43082 result
= wxMenuItem_GetFont(arg1
);
43083 wxPyEndAllowThreads(__tstate
);
43084 if (PyErr_Occurred()) SWIG_fail
;
43086 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
43093 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43094 PyObject
*resultobj
= 0;
43095 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43096 wxColour
*arg2
= 0 ;
43100 PyObject
* obj0
= 0 ;
43101 PyObject
* obj1
= 0 ;
43102 char * kwnames
[] = {
43103 (char *) "self",(char *) "colText", NULL
43106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43108 if (!SWIG_IsOK(res1
)) {
43109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43111 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43114 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43118 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
43119 wxPyEndAllowThreads(__tstate
);
43120 if (PyErr_Occurred()) SWIG_fail
;
43122 resultobj
= SWIG_Py_Void();
43129 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43130 PyObject
*resultobj
= 0;
43131 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43135 PyObject
*swig_obj
[1] ;
43137 if (!args
) SWIG_fail
;
43138 swig_obj
[0] = args
;
43139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43140 if (!SWIG_IsOK(res1
)) {
43141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43143 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43146 result
= wxMenuItem_GetTextColour(arg1
);
43147 wxPyEndAllowThreads(__tstate
);
43148 if (PyErr_Occurred()) SWIG_fail
;
43150 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43157 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43158 PyObject
*resultobj
= 0;
43159 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43160 wxColour
*arg2
= 0 ;
43164 PyObject
* obj0
= 0 ;
43165 PyObject
* obj1
= 0 ;
43166 char * kwnames
[] = {
43167 (char *) "self",(char *) "colBack", NULL
43170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43172 if (!SWIG_IsOK(res1
)) {
43173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43175 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43182 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
43183 wxPyEndAllowThreads(__tstate
);
43184 if (PyErr_Occurred()) SWIG_fail
;
43186 resultobj
= SWIG_Py_Void();
43193 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43194 PyObject
*resultobj
= 0;
43195 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43199 PyObject
*swig_obj
[1] ;
43201 if (!args
) SWIG_fail
;
43202 swig_obj
[0] = args
;
43203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43204 if (!SWIG_IsOK(res1
)) {
43205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43207 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43210 result
= wxMenuItem_GetBackgroundColour(arg1
);
43211 wxPyEndAllowThreads(__tstate
);
43212 if (PyErr_Occurred()) SWIG_fail
;
43214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43221 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43222 PyObject
*resultobj
= 0;
43223 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43224 wxBitmap
*arg2
= 0 ;
43225 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
43226 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
43233 PyObject
* obj0
= 0 ;
43234 PyObject
* obj1
= 0 ;
43235 PyObject
* obj2
= 0 ;
43236 char * kwnames
[] = {
43237 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
43240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43242 if (!SWIG_IsOK(res1
)) {
43243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43245 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43247 if (!SWIG_IsOK(res2
)) {
43248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43253 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43255 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43256 if (!SWIG_IsOK(res3
)) {
43257 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43262 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
43265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43266 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
43267 wxPyEndAllowThreads(__tstate
);
43268 if (PyErr_Occurred()) SWIG_fail
;
43270 resultobj
= SWIG_Py_Void();
43277 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43278 PyObject
*resultobj
= 0;
43279 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43280 wxBitmap
*arg2
= 0 ;
43285 PyObject
* obj0
= 0 ;
43286 PyObject
* obj1
= 0 ;
43287 char * kwnames
[] = {
43288 (char *) "self",(char *) "bmpDisabled", NULL
43291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43293 if (!SWIG_IsOK(res1
)) {
43294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43296 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43298 if (!SWIG_IsOK(res2
)) {
43299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43307 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
43308 wxPyEndAllowThreads(__tstate
);
43309 if (PyErr_Occurred()) SWIG_fail
;
43311 resultobj
= SWIG_Py_Void();
43318 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43319 PyObject
*resultobj
= 0;
43320 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43321 wxBitmap
*result
= 0 ;
43324 PyObject
*swig_obj
[1] ;
43326 if (!args
) SWIG_fail
;
43327 swig_obj
[0] = args
;
43328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43329 if (!SWIG_IsOK(res1
)) {
43330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43332 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43336 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
43337 result
= (wxBitmap
*) &_result_ref
;
43339 wxPyEndAllowThreads(__tstate
);
43340 if (PyErr_Occurred()) SWIG_fail
;
43343 wxBitmap
* resultptr
= new wxBitmap(*result
);
43344 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
43352 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43353 PyObject
*resultobj
= 0;
43354 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43360 PyObject
* obj0
= 0 ;
43361 PyObject
* obj1
= 0 ;
43362 char * kwnames
[] = {
43363 (char *) "self",(char *) "nWidth", NULL
43366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43368 if (!SWIG_IsOK(res1
)) {
43369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43371 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43373 if (!SWIG_IsOK(ecode2
)) {
43374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
43376 arg2
= static_cast< int >(val2
);
43378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43379 wxMenuItem_SetMarginWidth(arg1
,arg2
);
43380 wxPyEndAllowThreads(__tstate
);
43381 if (PyErr_Occurred()) SWIG_fail
;
43383 resultobj
= SWIG_Py_Void();
43390 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43391 PyObject
*resultobj
= 0;
43392 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43396 PyObject
*swig_obj
[1] ;
43398 if (!args
) SWIG_fail
;
43399 swig_obj
[0] = args
;
43400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43401 if (!SWIG_IsOK(res1
)) {
43402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43404 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43407 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
43408 wxPyEndAllowThreads(__tstate
);
43409 if (PyErr_Occurred()) SWIG_fail
;
43411 resultobj
= SWIG_From_int(static_cast< int >(result
));
43418 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43419 PyObject
*resultobj
= 0;
43422 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
43424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43425 result
= (int)wxMenuItem_GetDefaultMarginWidth();
43426 wxPyEndAllowThreads(__tstate
);
43427 if (PyErr_Occurred()) SWIG_fail
;
43429 resultobj
= SWIG_From_int(static_cast< int >(result
));
43436 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43437 PyObject
*resultobj
= 0;
43438 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43442 PyObject
*swig_obj
[1] ;
43444 if (!args
) SWIG_fail
;
43445 swig_obj
[0] = args
;
43446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43447 if (!SWIG_IsOK(res1
)) {
43448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43450 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43453 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
43454 wxPyEndAllowThreads(__tstate
);
43455 if (PyErr_Occurred()) SWIG_fail
;
43458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43466 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43467 PyObject
*resultobj
= 0;
43468 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43469 bool arg2
= (bool) true ;
43474 PyObject
* obj0
= 0 ;
43475 PyObject
* obj1
= 0 ;
43476 char * kwnames
[] = {
43477 (char *) "self",(char *) "ownerDrawn", NULL
43480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43482 if (!SWIG_IsOK(res1
)) {
43483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43485 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43487 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43488 if (!SWIG_IsOK(ecode2
)) {
43489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
43491 arg2
= static_cast< bool >(val2
);
43494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43495 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
43496 wxPyEndAllowThreads(__tstate
);
43497 if (PyErr_Occurred()) SWIG_fail
;
43499 resultobj
= SWIG_Py_Void();
43506 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43507 PyObject
*resultobj
= 0;
43508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43511 PyObject
*swig_obj
[1] ;
43513 if (!args
) SWIG_fail
;
43514 swig_obj
[0] = args
;
43515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43516 if (!SWIG_IsOK(res1
)) {
43517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43519 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43522 wxMenuItem_ResetOwnerDrawn(arg1
);
43523 wxPyEndAllowThreads(__tstate
);
43524 if (PyErr_Occurred()) SWIG_fail
;
43526 resultobj
= SWIG_Py_Void();
43533 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43536 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
43537 return SWIG_Py_Void();
43540 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43541 return SWIG_Python_InitShadowInstance(args
);
43544 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
43545 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
43550 SWIGINTERN PyObject
*ControlNameStr_get(void) {
43551 PyObject
*pyobj
= 0;
43555 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43557 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43564 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43565 PyObject
*resultobj
= 0;
43566 wxWindow
*arg1
= (wxWindow
*) 0 ;
43567 int arg2
= (int) -1 ;
43568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
43569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
43570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
43571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
43572 long arg5
= (long) 0 ;
43573 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
43574 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
43575 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
43576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
43577 wxControl
*result
= 0 ;
43588 bool temp7
= false ;
43589 PyObject
* obj0
= 0 ;
43590 PyObject
* obj1
= 0 ;
43591 PyObject
* obj2
= 0 ;
43592 PyObject
* obj3
= 0 ;
43593 PyObject
* obj4
= 0 ;
43594 PyObject
* obj5
= 0 ;
43595 PyObject
* obj6
= 0 ;
43596 char * kwnames
[] = {
43597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
43601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43602 if (!SWIG_IsOK(res1
)) {
43603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
43605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43608 if (!SWIG_IsOK(ecode2
)) {
43609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
43611 arg2
= static_cast< int >(val2
);
43616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
43622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
43626 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
43627 if (!SWIG_IsOK(ecode5
)) {
43628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
43630 arg5
= static_cast< long >(val5
);
43633 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
43634 if (!SWIG_IsOK(res6
)) {
43635 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43640 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
43644 arg7
= wxString_in_helper(obj6
);
43645 if (arg7
== NULL
) SWIG_fail
;
43650 if (!wxPyCheckForApp()) SWIG_fail
;
43651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43652 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
43653 wxPyEndAllowThreads(__tstate
);
43654 if (PyErr_Occurred()) SWIG_fail
;
43656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
43671 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43672 PyObject
*resultobj
= 0;
43673 wxControl
*result
= 0 ;
43675 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
43677 if (!wxPyCheckForApp()) SWIG_fail
;
43678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43679 result
= (wxControl
*)new wxControl();
43680 wxPyEndAllowThreads(__tstate
);
43681 if (PyErr_Occurred()) SWIG_fail
;
43683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
43690 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43691 PyObject
*resultobj
= 0;
43692 wxControl
*arg1
= (wxControl
*) 0 ;
43693 wxWindow
*arg2
= (wxWindow
*) 0 ;
43694 int arg3
= (int) -1 ;
43695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43699 long arg6
= (long) 0 ;
43700 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43701 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43702 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
43703 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43717 bool temp8
= false ;
43718 PyObject
* obj0
= 0 ;
43719 PyObject
* obj1
= 0 ;
43720 PyObject
* obj2
= 0 ;
43721 PyObject
* obj3
= 0 ;
43722 PyObject
* obj4
= 0 ;
43723 PyObject
* obj5
= 0 ;
43724 PyObject
* obj6
= 0 ;
43725 PyObject
* obj7
= 0 ;
43726 char * kwnames
[] = {
43727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43732 if (!SWIG_IsOK(res1
)) {
43733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
43735 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43737 if (!SWIG_IsOK(res2
)) {
43738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43740 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43743 if (!SWIG_IsOK(ecode3
)) {
43744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
43746 arg3
= static_cast< int >(val3
);
43751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43761 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43762 if (!SWIG_IsOK(ecode6
)) {
43763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
43765 arg6
= static_cast< long >(val6
);
43768 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43769 if (!SWIG_IsOK(res7
)) {
43770 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43775 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43779 arg8
= wxString_in_helper(obj7
);
43780 if (arg8
== NULL
) SWIG_fail
;
43785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43787 wxPyEndAllowThreads(__tstate
);
43788 if (PyErr_Occurred()) SWIG_fail
;
43791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43807 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43808 PyObject
*resultobj
= 0;
43809 wxControl
*arg1
= (wxControl
*) 0 ;
43810 wxCommandEvent
*arg2
= 0 ;
43815 PyObject
* obj0
= 0 ;
43816 PyObject
* obj1
= 0 ;
43817 char * kwnames
[] = {
43818 (char *) "self",(char *) "event", NULL
43821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43823 if (!SWIG_IsOK(res1
)) {
43824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
43826 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
43828 if (!SWIG_IsOK(res2
)) {
43829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43834 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
43836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43837 (arg1
)->Command(*arg2
);
43838 wxPyEndAllowThreads(__tstate
);
43839 if (PyErr_Occurred()) SWIG_fail
;
43841 resultobj
= SWIG_Py_Void();
43848 SWIGINTERN PyObject
*_wrap_Control_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43849 PyObject
*resultobj
= 0;
43850 wxControl
*arg1
= (wxControl
*) 0 ;
43854 PyObject
*swig_obj
[1] ;
43856 if (!args
) SWIG_fail
;
43857 swig_obj
[0] = args
;
43858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43859 if (!SWIG_IsOK(res1
)) {
43860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabel" "', expected argument " "1"" of type '" "wxControl *""'");
43862 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43865 result
= (arg1
)->GetLabel();
43866 wxPyEndAllowThreads(__tstate
);
43867 if (PyErr_Occurred()) SWIG_fail
;
43871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43882 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43883 PyObject
*resultobj
= 0;
43884 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
43885 SwigValueWrapper
<wxVisualAttributes
> result
;
43888 PyObject
* obj0
= 0 ;
43889 char * kwnames
[] = {
43890 (char *) "variant", NULL
43893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
43895 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
43896 if (!SWIG_IsOK(ecode1
)) {
43897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
43899 arg1
= static_cast< wxWindowVariant
>(val1
);
43902 if (!wxPyCheckForApp()) SWIG_fail
;
43903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43904 result
= wxControl::GetClassDefaultAttributes(arg1
);
43905 wxPyEndAllowThreads(__tstate
);
43906 if (PyErr_Occurred()) SWIG_fail
;
43908 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
43915 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43918 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
43919 return SWIG_Py_Void();
43922 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43923 return SWIG_Python_InitShadowInstance(args
);
43926 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43927 PyObject
*resultobj
= 0;
43928 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43929 wxString
*arg2
= 0 ;
43930 PyObject
*arg3
= (PyObject
*) NULL
;
43934 bool temp2
= false ;
43935 PyObject
* obj0
= 0 ;
43936 PyObject
* obj1
= 0 ;
43937 PyObject
* obj2
= 0 ;
43938 char * kwnames
[] = {
43939 (char *) "self",(char *) "item",(char *) "clientData", NULL
43942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43944 if (!SWIG_IsOK(res1
)) {
43945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43947 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43949 arg2
= wxString_in_helper(obj1
);
43950 if (arg2
== NULL
) SWIG_fail
;
43957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43958 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
43959 wxPyEndAllowThreads(__tstate
);
43960 if (PyErr_Occurred()) SWIG_fail
;
43962 resultobj
= SWIG_From_int(static_cast< int >(result
));
43977 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43978 PyObject
*resultobj
= 0;
43979 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43980 wxArrayString
*arg2
= 0 ;
43983 bool temp2
= false ;
43984 PyObject
* obj0
= 0 ;
43985 PyObject
* obj1
= 0 ;
43986 char * kwnames
[] = {
43987 (char *) "self",(char *) "strings", NULL
43990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43992 if (!SWIG_IsOK(res1
)) {
43993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43995 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43997 if (! PySequence_Check(obj1
)) {
43998 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
44001 arg2
= new wxArrayString
;
44003 int i
, len
=PySequence_Length(obj1
);
44004 for (i
=0; i
<len
; i
++) {
44005 PyObject
* item
= PySequence_GetItem(obj1
, i
);
44006 wxString
* s
= wxString_in_helper(item
);
44007 if (PyErr_Occurred()) SWIG_fail
;
44014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44015 (arg1
)->Append((wxArrayString
const &)*arg2
);
44016 wxPyEndAllowThreads(__tstate
);
44017 if (PyErr_Occurred()) SWIG_fail
;
44019 resultobj
= SWIG_Py_Void();
44021 if (temp2
) delete arg2
;
44026 if (temp2
) delete arg2
;
44032 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44033 PyObject
*resultobj
= 0;
44034 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44035 wxString
*arg2
= 0 ;
44036 unsigned int arg3
;
44037 PyObject
*arg4
= (PyObject
*) NULL
;
44041 bool temp2
= false ;
44042 unsigned int val3
;
44044 PyObject
* obj0
= 0 ;
44045 PyObject
* obj1
= 0 ;
44046 PyObject
* obj2
= 0 ;
44047 PyObject
* obj3
= 0 ;
44048 char * kwnames
[] = {
44049 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
44052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44054 if (!SWIG_IsOK(res1
)) {
44055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44057 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44059 arg2
= wxString_in_helper(obj1
);
44060 if (arg2
== NULL
) SWIG_fail
;
44063 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
44064 if (!SWIG_IsOK(ecode3
)) {
44065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "unsigned int""'");
44067 arg3
= static_cast< unsigned int >(val3
);
44072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44073 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
44074 wxPyEndAllowThreads(__tstate
);
44075 if (PyErr_Occurred()) SWIG_fail
;
44077 resultobj
= SWIG_From_int(static_cast< int >(result
));
44092 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44093 PyObject
*resultobj
= 0;
44094 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44097 PyObject
*swig_obj
[1] ;
44099 if (!args
) SWIG_fail
;
44100 swig_obj
[0] = args
;
44101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44102 if (!SWIG_IsOK(res1
)) {
44103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44105 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44109 wxPyEndAllowThreads(__tstate
);
44110 if (PyErr_Occurred()) SWIG_fail
;
44112 resultobj
= SWIG_Py_Void();
44119 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44120 PyObject
*resultobj
= 0;
44121 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44122 unsigned int arg2
;
44125 unsigned int val2
;
44127 PyObject
* obj0
= 0 ;
44128 PyObject
* obj1
= 0 ;
44129 char * kwnames
[] = {
44130 (char *) "self",(char *) "n", NULL
44133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44135 if (!SWIG_IsOK(res1
)) {
44136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44138 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44139 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44140 if (!SWIG_IsOK(ecode2
)) {
44141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "unsigned int""'");
44143 arg2
= static_cast< unsigned int >(val2
);
44145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44146 (arg1
)->Delete(arg2
);
44147 wxPyEndAllowThreads(__tstate
);
44148 if (PyErr_Occurred()) SWIG_fail
;
44150 resultobj
= SWIG_Py_Void();
44157 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44158 PyObject
*resultobj
= 0;
44159 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44160 unsigned int arg2
;
44161 PyObject
*result
= 0 ;
44164 unsigned int val2
;
44166 PyObject
* obj0
= 0 ;
44167 PyObject
* obj1
= 0 ;
44168 char * kwnames
[] = {
44169 (char *) "self",(char *) "n", NULL
44172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44174 if (!SWIG_IsOK(res1
)) {
44175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44177 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44178 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44179 if (!SWIG_IsOK(ecode2
)) {
44180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44182 arg2
= static_cast< unsigned int >(val2
);
44184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44185 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
44186 wxPyEndAllowThreads(__tstate
);
44187 if (PyErr_Occurred()) SWIG_fail
;
44189 resultobj
= result
;
44196 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44197 PyObject
*resultobj
= 0;
44198 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44199 unsigned int arg2
;
44200 PyObject
*arg3
= (PyObject
*) 0 ;
44203 unsigned int val2
;
44205 PyObject
* obj0
= 0 ;
44206 PyObject
* obj1
= 0 ;
44207 PyObject
* obj2
= 0 ;
44208 char * kwnames
[] = {
44209 (char *) "self",(char *) "n",(char *) "clientData", NULL
44212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44214 if (!SWIG_IsOK(res1
)) {
44215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44217 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44218 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44219 if (!SWIG_IsOK(ecode2
)) {
44220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44222 arg2
= static_cast< unsigned int >(val2
);
44225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44226 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
44227 wxPyEndAllowThreads(__tstate
);
44228 if (PyErr_Occurred()) SWIG_fail
;
44230 resultobj
= SWIG_Py_Void();
44237 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44238 PyObject
*resultobj
= 0;
44239 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44240 unsigned int result
;
44243 PyObject
*swig_obj
[1] ;
44245 if (!args
) SWIG_fail
;
44246 swig_obj
[0] = args
;
44247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44248 if (!SWIG_IsOK(res1
)) {
44249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44251 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44254 result
= (unsigned int)((wxItemContainer
const *)arg1
)->GetCount();
44255 wxPyEndAllowThreads(__tstate
);
44256 if (PyErr_Occurred()) SWIG_fail
;
44258 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44265 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44266 PyObject
*resultobj
= 0;
44267 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44271 PyObject
*swig_obj
[1] ;
44273 if (!args
) SWIG_fail
;
44274 swig_obj
[0] = args
;
44275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44276 if (!SWIG_IsOK(res1
)) {
44277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44279 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44282 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
44283 wxPyEndAllowThreads(__tstate
);
44284 if (PyErr_Occurred()) SWIG_fail
;
44287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44295 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44296 PyObject
*resultobj
= 0;
44297 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44298 unsigned int arg2
;
44302 unsigned int val2
;
44304 PyObject
* obj0
= 0 ;
44305 PyObject
* obj1
= 0 ;
44306 char * kwnames
[] = {
44307 (char *) "self",(char *) "n", NULL
44310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44312 if (!SWIG_IsOK(res1
)) {
44313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44315 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44316 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44317 if (!SWIG_IsOK(ecode2
)) {
44318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "unsigned int""'");
44320 arg2
= static_cast< unsigned int >(val2
);
44322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44323 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
44324 wxPyEndAllowThreads(__tstate
);
44325 if (PyErr_Occurred()) SWIG_fail
;
44329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44340 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44341 PyObject
*resultobj
= 0;
44342 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44343 wxArrayString result
;
44346 PyObject
*swig_obj
[1] ;
44348 if (!args
) SWIG_fail
;
44349 swig_obj
[0] = args
;
44350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44351 if (!SWIG_IsOK(res1
)) {
44352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44354 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44357 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
44358 wxPyEndAllowThreads(__tstate
);
44359 if (PyErr_Occurred()) SWIG_fail
;
44362 resultobj
= wxArrayString2PyList_helper(result
);
44370 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44371 PyObject
*resultobj
= 0;
44372 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44373 unsigned int arg2
;
44374 wxString
*arg3
= 0 ;
44377 unsigned int val2
;
44379 bool temp3
= false ;
44380 PyObject
* obj0
= 0 ;
44381 PyObject
* obj1
= 0 ;
44382 PyObject
* obj2
= 0 ;
44383 char * kwnames
[] = {
44384 (char *) "self",(char *) "n",(char *) "s", NULL
44387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44389 if (!SWIG_IsOK(res1
)) {
44390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44392 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44393 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44394 if (!SWIG_IsOK(ecode2
)) {
44395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "unsigned int""'");
44397 arg2
= static_cast< unsigned int >(val2
);
44399 arg3
= wxString_in_helper(obj2
);
44400 if (arg3
== NULL
) SWIG_fail
;
44404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44405 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
44406 wxPyEndAllowThreads(__tstate
);
44407 if (PyErr_Occurred()) SWIG_fail
;
44409 resultobj
= SWIG_Py_Void();
44424 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44425 PyObject
*resultobj
= 0;
44426 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44427 wxString
*arg2
= 0 ;
44431 bool temp2
= false ;
44432 PyObject
* obj0
= 0 ;
44433 PyObject
* obj1
= 0 ;
44434 char * kwnames
[] = {
44435 (char *) "self",(char *) "s", NULL
44438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44440 if (!SWIG_IsOK(res1
)) {
44441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44443 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44445 arg2
= wxString_in_helper(obj1
);
44446 if (arg2
== NULL
) SWIG_fail
;
44450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44451 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
44452 wxPyEndAllowThreads(__tstate
);
44453 if (PyErr_Occurred()) SWIG_fail
;
44455 resultobj
= SWIG_From_int(static_cast< int >(result
));
44470 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44471 PyObject
*resultobj
= 0;
44472 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44478 PyObject
* obj0
= 0 ;
44479 PyObject
* obj1
= 0 ;
44480 char * kwnames
[] = {
44481 (char *) "self",(char *) "n", NULL
44484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44486 if (!SWIG_IsOK(res1
)) {
44487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44489 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44491 if (!SWIG_IsOK(ecode2
)) {
44492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
44494 arg2
= static_cast< int >(val2
);
44496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44497 (arg1
)->SetSelection(arg2
);
44498 wxPyEndAllowThreads(__tstate
);
44499 if (PyErr_Occurred()) SWIG_fail
;
44501 resultobj
= SWIG_Py_Void();
44508 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44509 PyObject
*resultobj
= 0;
44510 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44514 PyObject
*swig_obj
[1] ;
44516 if (!args
) SWIG_fail
;
44517 swig_obj
[0] = args
;
44518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44519 if (!SWIG_IsOK(res1
)) {
44520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44522 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44525 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
44526 wxPyEndAllowThreads(__tstate
);
44527 if (PyErr_Occurred()) SWIG_fail
;
44529 resultobj
= SWIG_From_int(static_cast< int >(result
));
44536 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44537 PyObject
*resultobj
= 0;
44538 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44539 wxString
*arg2
= 0 ;
44543 bool temp2
= false ;
44544 PyObject
* obj0
= 0 ;
44545 PyObject
* obj1
= 0 ;
44546 char * kwnames
[] = {
44547 (char *) "self",(char *) "s", NULL
44550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44552 if (!SWIG_IsOK(res1
)) {
44553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44555 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44557 arg2
= wxString_in_helper(obj1
);
44558 if (arg2
== NULL
) SWIG_fail
;
44562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44563 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
44564 wxPyEndAllowThreads(__tstate
);
44565 if (PyErr_Occurred()) SWIG_fail
;
44568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44584 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44585 PyObject
*resultobj
= 0;
44586 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44590 PyObject
*swig_obj
[1] ;
44592 if (!args
) SWIG_fail
;
44593 swig_obj
[0] = args
;
44594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44595 if (!SWIG_IsOK(res1
)) {
44596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44598 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44601 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
44602 wxPyEndAllowThreads(__tstate
);
44603 if (PyErr_Occurred()) SWIG_fail
;
44607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44618 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44619 PyObject
*resultobj
= 0;
44620 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44626 PyObject
* obj0
= 0 ;
44627 PyObject
* obj1
= 0 ;
44628 char * kwnames
[] = {
44629 (char *) "self",(char *) "n", NULL
44632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44634 if (!SWIG_IsOK(res1
)) {
44635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44637 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44639 if (!SWIG_IsOK(ecode2
)) {
44640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
44642 arg2
= static_cast< int >(val2
);
44644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44645 (arg1
)->Select(arg2
);
44646 wxPyEndAllowThreads(__tstate
);
44647 if (PyErr_Occurred()) SWIG_fail
;
44649 resultobj
= SWIG_Py_Void();
44656 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44659 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
44660 return SWIG_Py_Void();
44663 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44666 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
44667 return SWIG_Py_Void();
44670 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44671 PyObject
*resultobj
= 0;
44672 wxSizerItem
*result
= 0 ;
44674 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
44676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44677 result
= (wxSizerItem
*)new wxSizerItem();
44678 wxPyEndAllowThreads(__tstate
);
44679 if (PyErr_Occurred()) SWIG_fail
;
44681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
44688 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44689 PyObject
*resultobj
= 0;
44690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44693 PyObject
*swig_obj
[1] ;
44695 if (!args
) SWIG_fail
;
44696 swig_obj
[0] = args
;
44697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
44698 if (!SWIG_IsOK(res1
)) {
44699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44701 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44706 wxPyEndAllowThreads(__tstate
);
44707 if (PyErr_Occurred()) SWIG_fail
;
44709 resultobj
= SWIG_Py_Void();
44716 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44717 PyObject
*resultobj
= 0;
44718 wxWindow
*arg1
= (wxWindow
*) 0 ;
44722 PyObject
*arg5
= (PyObject
*) NULL
;
44723 wxSizerItem
*result
= 0 ;
44732 PyObject
* obj0
= 0 ;
44733 PyObject
* obj1
= 0 ;
44734 PyObject
* obj2
= 0 ;
44735 PyObject
* obj3
= 0 ;
44736 PyObject
* obj4
= 0 ;
44737 char * kwnames
[] = {
44738 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44743 if (!SWIG_IsOK(res1
)) {
44744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
44746 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44748 if (!SWIG_IsOK(ecode2
)) {
44749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
44751 arg2
= static_cast< int >(val2
);
44752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44753 if (!SWIG_IsOK(ecode3
)) {
44754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
44756 arg3
= static_cast< int >(val3
);
44757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44758 if (!SWIG_IsOK(ecode4
)) {
44759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
44761 arg4
= static_cast< int >(val4
);
44766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44767 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44768 wxPyEndAllowThreads(__tstate
);
44769 if (PyErr_Occurred()) SWIG_fail
;
44771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44778 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44779 PyObject
*resultobj
= 0;
44785 PyObject
*arg6
= (PyObject
*) NULL
;
44786 wxSizerItem
*result
= 0 ;
44797 PyObject
* obj0
= 0 ;
44798 PyObject
* obj1
= 0 ;
44799 PyObject
* obj2
= 0 ;
44800 PyObject
* obj3
= 0 ;
44801 PyObject
* obj4
= 0 ;
44802 PyObject
* obj5
= 0 ;
44803 char * kwnames
[] = {
44804 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
44808 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44809 if (!SWIG_IsOK(ecode1
)) {
44810 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
44812 arg1
= static_cast< int >(val1
);
44813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44814 if (!SWIG_IsOK(ecode2
)) {
44815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
44817 arg2
= static_cast< int >(val2
);
44818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44819 if (!SWIG_IsOK(ecode3
)) {
44820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
44822 arg3
= static_cast< int >(val3
);
44823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44824 if (!SWIG_IsOK(ecode4
)) {
44825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
44827 arg4
= static_cast< int >(val4
);
44828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
44829 if (!SWIG_IsOK(ecode5
)) {
44830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
44832 arg5
= static_cast< int >(val5
);
44837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44838 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
44839 wxPyEndAllowThreads(__tstate
);
44840 if (PyErr_Occurred()) SWIG_fail
;
44842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44849 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44850 PyObject
*resultobj
= 0;
44851 wxSizer
*arg1
= (wxSizer
*) 0 ;
44855 PyObject
*arg5
= (PyObject
*) NULL
;
44856 wxSizerItem
*result
= 0 ;
44864 PyObject
* obj0
= 0 ;
44865 PyObject
* obj1
= 0 ;
44866 PyObject
* obj2
= 0 ;
44867 PyObject
* obj3
= 0 ;
44868 PyObject
* obj4
= 0 ;
44869 char * kwnames
[] = {
44870 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44874 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
44875 if (!SWIG_IsOK(res1
)) {
44876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
44878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44879 if (!SWIG_IsOK(ecode2
)) {
44880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
44882 arg2
= static_cast< int >(val2
);
44883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44884 if (!SWIG_IsOK(ecode3
)) {
44885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
44887 arg3
= static_cast< int >(val3
);
44888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44889 if (!SWIG_IsOK(ecode4
)) {
44890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
44892 arg4
= static_cast< int >(val4
);
44897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44898 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44899 wxPyEndAllowThreads(__tstate
);
44900 if (PyErr_Occurred()) SWIG_fail
;
44902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44909 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44910 PyObject
*resultobj
= 0;
44911 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44914 PyObject
*swig_obj
[1] ;
44916 if (!args
) SWIG_fail
;
44917 swig_obj
[0] = args
;
44918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44919 if (!SWIG_IsOK(res1
)) {
44920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44922 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44925 (arg1
)->DeleteWindows();
44926 wxPyEndAllowThreads(__tstate
);
44927 if (PyErr_Occurred()) SWIG_fail
;
44929 resultobj
= SWIG_Py_Void();
44936 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44937 PyObject
*resultobj
= 0;
44938 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44941 PyObject
*swig_obj
[1] ;
44943 if (!args
) SWIG_fail
;
44944 swig_obj
[0] = args
;
44945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44946 if (!SWIG_IsOK(res1
)) {
44947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44949 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44952 (arg1
)->DetachSizer();
44953 wxPyEndAllowThreads(__tstate
);
44954 if (PyErr_Occurred()) SWIG_fail
;
44956 resultobj
= SWIG_Py_Void();
44963 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44964 PyObject
*resultobj
= 0;
44965 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44969 PyObject
*swig_obj
[1] ;
44971 if (!args
) SWIG_fail
;
44972 swig_obj
[0] = args
;
44973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44974 if (!SWIG_IsOK(res1
)) {
44975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44977 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44980 result
= (arg1
)->GetSize();
44981 wxPyEndAllowThreads(__tstate
);
44982 if (PyErr_Occurred()) SWIG_fail
;
44984 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44991 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44992 PyObject
*resultobj
= 0;
44993 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44997 PyObject
*swig_obj
[1] ;
44999 if (!args
) SWIG_fail
;
45000 swig_obj
[0] = args
;
45001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45002 if (!SWIG_IsOK(res1
)) {
45003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45005 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45008 result
= (arg1
)->CalcMin();
45009 wxPyEndAllowThreads(__tstate
);
45010 if (PyErr_Occurred()) SWIG_fail
;
45012 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45019 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45020 PyObject
*resultobj
= 0;
45021 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45022 wxPoint
*arg2
= 0 ;
45028 PyObject
* obj0
= 0 ;
45029 PyObject
* obj1
= 0 ;
45030 PyObject
* obj2
= 0 ;
45031 char * kwnames
[] = {
45032 (char *) "self",(char *) "pos",(char *) "size", NULL
45035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45037 if (!SWIG_IsOK(res1
)) {
45038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45040 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
45047 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
45050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45051 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
45052 wxPyEndAllowThreads(__tstate
);
45053 if (PyErr_Occurred()) SWIG_fail
;
45055 resultobj
= SWIG_Py_Void();
45062 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45063 PyObject
*resultobj
= 0;
45064 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45068 PyObject
*swig_obj
[1] ;
45070 if (!args
) SWIG_fail
;
45071 swig_obj
[0] = args
;
45072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45073 if (!SWIG_IsOK(res1
)) {
45074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45076 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45079 result
= (arg1
)->GetMinSize();
45080 wxPyEndAllowThreads(__tstate
);
45081 if (PyErr_Occurred()) SWIG_fail
;
45083 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45090 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45091 PyObject
*resultobj
= 0;
45092 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45096 PyObject
*swig_obj
[1] ;
45098 if (!args
) SWIG_fail
;
45099 swig_obj
[0] = args
;
45100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45101 if (!SWIG_IsOK(res1
)) {
45102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
45104 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45107 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
45108 wxPyEndAllowThreads(__tstate
);
45109 if (PyErr_Occurred()) SWIG_fail
;
45111 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45118 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45119 PyObject
*resultobj
= 0;
45120 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45129 PyObject
* obj0
= 0 ;
45130 PyObject
* obj1
= 0 ;
45131 PyObject
* obj2
= 0 ;
45132 char * kwnames
[] = {
45133 (char *) "self",(char *) "x",(char *) "y", NULL
45136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45138 if (!SWIG_IsOK(res1
)) {
45139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45141 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45143 if (!SWIG_IsOK(ecode2
)) {
45144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
45146 arg2
= static_cast< int >(val2
);
45147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45148 if (!SWIG_IsOK(ecode3
)) {
45149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
45151 arg3
= static_cast< int >(val3
);
45153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45154 (arg1
)->SetInitSize(arg2
,arg3
);
45155 wxPyEndAllowThreads(__tstate
);
45156 if (PyErr_Occurred()) SWIG_fail
;
45158 resultobj
= SWIG_Py_Void();
45165 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45166 PyObject
*resultobj
= 0;
45167 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45176 PyObject
* obj0
= 0 ;
45177 PyObject
* obj1
= 0 ;
45178 PyObject
* obj2
= 0 ;
45179 char * kwnames
[] = {
45180 (char *) "self",(char *) "width",(char *) "height", NULL
45183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45185 if (!SWIG_IsOK(res1
)) {
45186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45188 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45190 if (!SWIG_IsOK(ecode2
)) {
45191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
45193 arg2
= static_cast< int >(val2
);
45194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45195 if (!SWIG_IsOK(ecode3
)) {
45196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
45198 arg3
= static_cast< int >(val3
);
45200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45201 (arg1
)->SetRatio(arg2
,arg3
);
45202 wxPyEndAllowThreads(__tstate
);
45203 if (PyErr_Occurred()) SWIG_fail
;
45205 resultobj
= SWIG_Py_Void();
45212 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45213 PyObject
*resultobj
= 0;
45214 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45219 PyObject
* obj0
= 0 ;
45220 PyObject
* obj1
= 0 ;
45221 char * kwnames
[] = {
45222 (char *) "self",(char *) "size", NULL
45225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45227 if (!SWIG_IsOK(res1
)) {
45228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45230 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45233 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45237 (arg1
)->SetRatio((wxSize
const &)*arg2
);
45238 wxPyEndAllowThreads(__tstate
);
45239 if (PyErr_Occurred()) SWIG_fail
;
45241 resultobj
= SWIG_Py_Void();
45248 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45249 PyObject
*resultobj
= 0;
45250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45256 PyObject
* obj0
= 0 ;
45257 PyObject
* obj1
= 0 ;
45258 char * kwnames
[] = {
45259 (char *) "self",(char *) "ratio", NULL
45262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45264 if (!SWIG_IsOK(res1
)) {
45265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45267 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45268 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
45269 if (!SWIG_IsOK(ecode2
)) {
45270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
45272 arg2
= static_cast< float >(val2
);
45274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45275 (arg1
)->SetRatio(arg2
);
45276 wxPyEndAllowThreads(__tstate
);
45277 if (PyErr_Occurred()) SWIG_fail
;
45279 resultobj
= SWIG_Py_Void();
45286 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45287 PyObject
*resultobj
= 0;
45288 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45292 PyObject
*swig_obj
[1] ;
45294 if (!args
) SWIG_fail
;
45295 swig_obj
[0] = args
;
45296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45297 if (!SWIG_IsOK(res1
)) {
45298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45300 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45303 result
= (float)(arg1
)->GetRatio();
45304 wxPyEndAllowThreads(__tstate
);
45305 if (PyErr_Occurred()) SWIG_fail
;
45307 resultobj
= SWIG_From_float(static_cast< float >(result
));
45314 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45315 PyObject
*resultobj
= 0;
45316 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45320 PyObject
*swig_obj
[1] ;
45322 if (!args
) SWIG_fail
;
45323 swig_obj
[0] = args
;
45324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45325 if (!SWIG_IsOK(res1
)) {
45326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45328 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45331 result
= (arg1
)->GetRect();
45332 wxPyEndAllowThreads(__tstate
);
45333 if (PyErr_Occurred()) SWIG_fail
;
45335 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
45342 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45343 PyObject
*resultobj
= 0;
45344 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45348 PyObject
*swig_obj
[1] ;
45350 if (!args
) SWIG_fail
;
45351 swig_obj
[0] = args
;
45352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45353 if (!SWIG_IsOK(res1
)) {
45354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45356 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45359 result
= (bool)(arg1
)->IsWindow();
45360 wxPyEndAllowThreads(__tstate
);
45361 if (PyErr_Occurred()) SWIG_fail
;
45364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45372 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45373 PyObject
*resultobj
= 0;
45374 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45378 PyObject
*swig_obj
[1] ;
45380 if (!args
) SWIG_fail
;
45381 swig_obj
[0] = args
;
45382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45383 if (!SWIG_IsOK(res1
)) {
45384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45386 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45389 result
= (bool)(arg1
)->IsSizer();
45390 wxPyEndAllowThreads(__tstate
);
45391 if (PyErr_Occurred()) SWIG_fail
;
45394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45402 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45403 PyObject
*resultobj
= 0;
45404 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45408 PyObject
*swig_obj
[1] ;
45410 if (!args
) SWIG_fail
;
45411 swig_obj
[0] = args
;
45412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45413 if (!SWIG_IsOK(res1
)) {
45414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45416 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45419 result
= (bool)(arg1
)->IsSpacer();
45420 wxPyEndAllowThreads(__tstate
);
45421 if (PyErr_Occurred()) SWIG_fail
;
45424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45432 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45433 PyObject
*resultobj
= 0;
45434 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45440 PyObject
* obj0
= 0 ;
45441 PyObject
* obj1
= 0 ;
45442 char * kwnames
[] = {
45443 (char *) "self",(char *) "proportion", NULL
45446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45448 if (!SWIG_IsOK(res1
)) {
45449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45451 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45453 if (!SWIG_IsOK(ecode2
)) {
45454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
45456 arg2
= static_cast< int >(val2
);
45458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45459 (arg1
)->SetProportion(arg2
);
45460 wxPyEndAllowThreads(__tstate
);
45461 if (PyErr_Occurred()) SWIG_fail
;
45463 resultobj
= SWIG_Py_Void();
45470 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45471 PyObject
*resultobj
= 0;
45472 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45476 PyObject
*swig_obj
[1] ;
45478 if (!args
) SWIG_fail
;
45479 swig_obj
[0] = args
;
45480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45481 if (!SWIG_IsOK(res1
)) {
45482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45484 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45487 result
= (int)(arg1
)->GetProportion();
45488 wxPyEndAllowThreads(__tstate
);
45489 if (PyErr_Occurred()) SWIG_fail
;
45491 resultobj
= SWIG_From_int(static_cast< int >(result
));
45498 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45499 PyObject
*resultobj
= 0;
45500 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45506 PyObject
* obj0
= 0 ;
45507 PyObject
* obj1
= 0 ;
45508 char * kwnames
[] = {
45509 (char *) "self",(char *) "flag", NULL
45512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45514 if (!SWIG_IsOK(res1
)) {
45515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45517 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45519 if (!SWIG_IsOK(ecode2
)) {
45520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
45522 arg2
= static_cast< int >(val2
);
45524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45525 (arg1
)->SetFlag(arg2
);
45526 wxPyEndAllowThreads(__tstate
);
45527 if (PyErr_Occurred()) SWIG_fail
;
45529 resultobj
= SWIG_Py_Void();
45536 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45537 PyObject
*resultobj
= 0;
45538 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45542 PyObject
*swig_obj
[1] ;
45544 if (!args
) SWIG_fail
;
45545 swig_obj
[0] = args
;
45546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45547 if (!SWIG_IsOK(res1
)) {
45548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45550 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45553 result
= (int)(arg1
)->GetFlag();
45554 wxPyEndAllowThreads(__tstate
);
45555 if (PyErr_Occurred()) SWIG_fail
;
45557 resultobj
= SWIG_From_int(static_cast< int >(result
));
45564 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45565 PyObject
*resultobj
= 0;
45566 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45572 PyObject
* obj0
= 0 ;
45573 PyObject
* obj1
= 0 ;
45574 char * kwnames
[] = {
45575 (char *) "self",(char *) "border", NULL
45578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45580 if (!SWIG_IsOK(res1
)) {
45581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45583 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45585 if (!SWIG_IsOK(ecode2
)) {
45586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
45588 arg2
= static_cast< int >(val2
);
45590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45591 (arg1
)->SetBorder(arg2
);
45592 wxPyEndAllowThreads(__tstate
);
45593 if (PyErr_Occurred()) SWIG_fail
;
45595 resultobj
= SWIG_Py_Void();
45602 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45603 PyObject
*resultobj
= 0;
45604 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45608 PyObject
*swig_obj
[1] ;
45610 if (!args
) SWIG_fail
;
45611 swig_obj
[0] = args
;
45612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45613 if (!SWIG_IsOK(res1
)) {
45614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45616 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45619 result
= (int)(arg1
)->GetBorder();
45620 wxPyEndAllowThreads(__tstate
);
45621 if (PyErr_Occurred()) SWIG_fail
;
45623 resultobj
= SWIG_From_int(static_cast< int >(result
));
45630 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45631 PyObject
*resultobj
= 0;
45632 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45633 wxWindow
*result
= 0 ;
45636 PyObject
*swig_obj
[1] ;
45638 if (!args
) SWIG_fail
;
45639 swig_obj
[0] = args
;
45640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45641 if (!SWIG_IsOK(res1
)) {
45642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45644 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45647 result
= (wxWindow
*)(arg1
)->GetWindow();
45648 wxPyEndAllowThreads(__tstate
);
45649 if (PyErr_Occurred()) SWIG_fail
;
45652 resultobj
= wxPyMake_wxObject(result
, 0);
45660 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45661 PyObject
*resultobj
= 0;
45662 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45663 wxWindow
*arg2
= (wxWindow
*) 0 ;
45668 PyObject
* obj0
= 0 ;
45669 PyObject
* obj1
= 0 ;
45670 char * kwnames
[] = {
45671 (char *) "self",(char *) "window", NULL
45674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45676 if (!SWIG_IsOK(res1
)) {
45677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45679 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45681 if (!SWIG_IsOK(res2
)) {
45682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
45684 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45687 (arg1
)->SetWindow(arg2
);
45688 wxPyEndAllowThreads(__tstate
);
45689 if (PyErr_Occurred()) SWIG_fail
;
45691 resultobj
= SWIG_Py_Void();
45698 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45699 PyObject
*resultobj
= 0;
45700 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45701 wxSizer
*result
= 0 ;
45704 PyObject
*swig_obj
[1] ;
45706 if (!args
) SWIG_fail
;
45707 swig_obj
[0] = args
;
45708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45709 if (!SWIG_IsOK(res1
)) {
45710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45712 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45715 result
= (wxSizer
*)(arg1
)->GetSizer();
45716 wxPyEndAllowThreads(__tstate
);
45717 if (PyErr_Occurred()) SWIG_fail
;
45720 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45728 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45729 PyObject
*resultobj
= 0;
45730 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45731 wxSizer
*arg2
= (wxSizer
*) 0 ;
45735 PyObject
* obj0
= 0 ;
45736 PyObject
* obj1
= 0 ;
45737 char * kwnames
[] = {
45738 (char *) "self",(char *) "sizer", NULL
45741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45743 if (!SWIG_IsOK(res1
)) {
45744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45746 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45747 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45748 if (!SWIG_IsOK(res2
)) {
45749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
45752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45753 (arg1
)->SetSizer(arg2
);
45754 wxPyEndAllowThreads(__tstate
);
45755 if (PyErr_Occurred()) SWIG_fail
;
45757 resultobj
= SWIG_Py_Void();
45764 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45765 PyObject
*resultobj
= 0;
45766 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45767 wxSize
*result
= 0 ;
45770 PyObject
*swig_obj
[1] ;
45772 if (!args
) SWIG_fail
;
45773 swig_obj
[0] = args
;
45774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45775 if (!SWIG_IsOK(res1
)) {
45776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45778 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45782 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
45783 result
= (wxSize
*) &_result_ref
;
45785 wxPyEndAllowThreads(__tstate
);
45786 if (PyErr_Occurred()) SWIG_fail
;
45788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
45795 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45796 PyObject
*resultobj
= 0;
45797 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45802 PyObject
* obj0
= 0 ;
45803 PyObject
* obj1
= 0 ;
45804 char * kwnames
[] = {
45805 (char *) "self",(char *) "size", NULL
45808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45810 if (!SWIG_IsOK(res1
)) {
45811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45813 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45816 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45820 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
45821 wxPyEndAllowThreads(__tstate
);
45822 if (PyErr_Occurred()) SWIG_fail
;
45824 resultobj
= SWIG_Py_Void();
45831 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45832 PyObject
*resultobj
= 0;
45833 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45839 PyObject
* obj0
= 0 ;
45840 PyObject
* obj1
= 0 ;
45841 char * kwnames
[] = {
45842 (char *) "self",(char *) "show", NULL
45845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45847 if (!SWIG_IsOK(res1
)) {
45848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45850 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45851 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45852 if (!SWIG_IsOK(ecode2
)) {
45853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
45855 arg2
= static_cast< bool >(val2
);
45857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45858 (arg1
)->Show(arg2
);
45859 wxPyEndAllowThreads(__tstate
);
45860 if (PyErr_Occurred()) SWIG_fail
;
45862 resultobj
= SWIG_Py_Void();
45869 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45870 PyObject
*resultobj
= 0;
45871 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45875 PyObject
*swig_obj
[1] ;
45877 if (!args
) SWIG_fail
;
45878 swig_obj
[0] = args
;
45879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45880 if (!SWIG_IsOK(res1
)) {
45881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45883 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45886 result
= (bool)(arg1
)->IsShown();
45887 wxPyEndAllowThreads(__tstate
);
45888 if (PyErr_Occurred()) SWIG_fail
;
45891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45899 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45900 PyObject
*resultobj
= 0;
45901 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45905 PyObject
*swig_obj
[1] ;
45907 if (!args
) SWIG_fail
;
45908 swig_obj
[0] = args
;
45909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45910 if (!SWIG_IsOK(res1
)) {
45911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45913 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45916 result
= (arg1
)->GetPosition();
45917 wxPyEndAllowThreads(__tstate
);
45918 if (PyErr_Occurred()) SWIG_fail
;
45920 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
45927 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45928 PyObject
*resultobj
= 0;
45929 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45930 PyObject
*result
= 0 ;
45933 PyObject
*swig_obj
[1] ;
45935 if (!args
) SWIG_fail
;
45936 swig_obj
[0] = args
;
45937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45938 if (!SWIG_IsOK(res1
)) {
45939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45941 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45944 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
45945 wxPyEndAllowThreads(__tstate
);
45946 if (PyErr_Occurred()) SWIG_fail
;
45948 resultobj
= result
;
45955 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45956 PyObject
*resultobj
= 0;
45957 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45958 PyObject
*arg2
= (PyObject
*) 0 ;
45961 PyObject
* obj0
= 0 ;
45962 PyObject
* obj1
= 0 ;
45963 char * kwnames
[] = {
45964 (char *) "self",(char *) "userData", NULL
45967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45969 if (!SWIG_IsOK(res1
)) {
45970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45972 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45976 wxSizerItem_SetUserData(arg1
,arg2
);
45977 wxPyEndAllowThreads(__tstate
);
45978 if (PyErr_Occurred()) SWIG_fail
;
45980 resultobj
= SWIG_Py_Void();
45987 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45990 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
45991 return SWIG_Py_Void();
45994 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45995 return SWIG_Python_InitShadowInstance(args
);
45998 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45999 PyObject
*resultobj
= 0;
46000 wxSizer
*arg1
= (wxSizer
*) 0 ;
46003 PyObject
*swig_obj
[1] ;
46005 if (!args
) SWIG_fail
;
46006 swig_obj
[0] = args
;
46007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
46008 if (!SWIG_IsOK(res1
)) {
46009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
46011 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46016 wxPyEndAllowThreads(__tstate
);
46017 if (PyErr_Occurred()) SWIG_fail
;
46019 resultobj
= SWIG_Py_Void();
46026 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46027 PyObject
*resultobj
= 0;
46028 wxSizer
*arg1
= (wxSizer
*) 0 ;
46029 PyObject
*arg2
= (PyObject
*) 0 ;
46032 PyObject
* obj0
= 0 ;
46033 PyObject
* obj1
= 0 ;
46034 char * kwnames
[] = {
46035 (char *) "self",(char *) "_self", NULL
46038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46040 if (!SWIG_IsOK(res1
)) {
46041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
46043 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46047 wxSizer__setOORInfo(arg1
,arg2
);
46048 wxPyEndAllowThreads(__tstate
);
46049 if (PyErr_Occurred()) SWIG_fail
;
46051 resultobj
= SWIG_Py_Void();
46058 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46059 PyObject
*resultobj
= 0;
46060 wxSizer
*arg1
= (wxSizer
*) 0 ;
46061 PyObject
*arg2
= (PyObject
*) 0 ;
46062 int arg3
= (int) 0 ;
46063 int arg4
= (int) 0 ;
46064 int arg5
= (int) 0 ;
46065 PyObject
*arg6
= (PyObject
*) NULL
;
46066 wxSizerItem
*result
= 0 ;
46075 PyObject
* obj0
= 0 ;
46076 PyObject
* obj1
= 0 ;
46077 PyObject
* obj2
= 0 ;
46078 PyObject
* obj3
= 0 ;
46079 PyObject
* obj4
= 0 ;
46080 PyObject
* obj5
= 0 ;
46081 char * kwnames
[] = {
46082 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46087 if (!SWIG_IsOK(res1
)) {
46088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
46090 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46094 if (!SWIG_IsOK(ecode3
)) {
46095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
46097 arg3
= static_cast< int >(val3
);
46100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46101 if (!SWIG_IsOK(ecode4
)) {
46102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
46104 arg4
= static_cast< int >(val4
);
46107 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46108 if (!SWIG_IsOK(ecode5
)) {
46109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
46111 arg5
= static_cast< int >(val5
);
46117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46118 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46119 wxPyEndAllowThreads(__tstate
);
46120 if (PyErr_Occurred()) SWIG_fail
;
46122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46129 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46130 PyObject
*resultobj
= 0;
46131 wxSizer
*arg1
= (wxSizer
*) 0 ;
46133 PyObject
*arg3
= (PyObject
*) 0 ;
46134 int arg4
= (int) 0 ;
46135 int arg5
= (int) 0 ;
46136 int arg6
= (int) 0 ;
46137 PyObject
*arg7
= (PyObject
*) NULL
;
46138 wxSizerItem
*result
= 0 ;
46149 PyObject
* obj0
= 0 ;
46150 PyObject
* obj1
= 0 ;
46151 PyObject
* obj2
= 0 ;
46152 PyObject
* obj3
= 0 ;
46153 PyObject
* obj4
= 0 ;
46154 PyObject
* obj5
= 0 ;
46155 PyObject
* obj6
= 0 ;
46156 char * kwnames
[] = {
46157 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
46161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46162 if (!SWIG_IsOK(res1
)) {
46163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
46165 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46167 if (!SWIG_IsOK(ecode2
)) {
46168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
46170 arg2
= static_cast< int >(val2
);
46173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46174 if (!SWIG_IsOK(ecode4
)) {
46175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
46177 arg4
= static_cast< int >(val4
);
46180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46181 if (!SWIG_IsOK(ecode5
)) {
46182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
46184 arg5
= static_cast< int >(val5
);
46187 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
46188 if (!SWIG_IsOK(ecode6
)) {
46189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
46191 arg6
= static_cast< int >(val6
);
46197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46198 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
46199 wxPyEndAllowThreads(__tstate
);
46200 if (PyErr_Occurred()) SWIG_fail
;
46202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46209 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46210 PyObject
*resultobj
= 0;
46211 wxSizer
*arg1
= (wxSizer
*) 0 ;
46212 PyObject
*arg2
= (PyObject
*) 0 ;
46213 int arg3
= (int) 0 ;
46214 int arg4
= (int) 0 ;
46215 int arg5
= (int) 0 ;
46216 PyObject
*arg6
= (PyObject
*) NULL
;
46217 wxSizerItem
*result
= 0 ;
46226 PyObject
* obj0
= 0 ;
46227 PyObject
* obj1
= 0 ;
46228 PyObject
* obj2
= 0 ;
46229 PyObject
* obj3
= 0 ;
46230 PyObject
* obj4
= 0 ;
46231 PyObject
* obj5
= 0 ;
46232 char * kwnames
[] = {
46233 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46238 if (!SWIG_IsOK(res1
)) {
46239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
46241 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46245 if (!SWIG_IsOK(ecode3
)) {
46246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
46248 arg3
= static_cast< int >(val3
);
46251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46252 if (!SWIG_IsOK(ecode4
)) {
46253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
46255 arg4
= static_cast< int >(val4
);
46258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46259 if (!SWIG_IsOK(ecode5
)) {
46260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
46262 arg5
= static_cast< int >(val5
);
46268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46269 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46270 wxPyEndAllowThreads(__tstate
);
46271 if (PyErr_Occurred()) SWIG_fail
;
46273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46280 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46281 PyObject
*resultobj
= 0;
46282 wxSizer
*arg1
= (wxSizer
*) 0 ;
46283 PyObject
*arg2
= (PyObject
*) 0 ;
46287 PyObject
* obj0
= 0 ;
46288 PyObject
* obj1
= 0 ;
46289 char * kwnames
[] = {
46290 (char *) "self",(char *) "item", NULL
46293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46295 if (!SWIG_IsOK(res1
)) {
46296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
46298 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46302 result
= (bool)wxSizer_Remove(arg1
,arg2
);
46303 wxPyEndAllowThreads(__tstate
);
46304 if (PyErr_Occurred()) SWIG_fail
;
46307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46315 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46316 PyObject
*resultobj
= 0;
46317 wxSizer
*arg1
= (wxSizer
*) 0 ;
46318 PyObject
*arg2
= (PyObject
*) 0 ;
46322 PyObject
* obj0
= 0 ;
46323 PyObject
* obj1
= 0 ;
46324 char * kwnames
[] = {
46325 (char *) "self",(char *) "item", NULL
46328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46330 if (!SWIG_IsOK(res1
)) {
46331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
46333 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46337 result
= (bool)wxSizer_Detach(arg1
,arg2
);
46338 wxPyEndAllowThreads(__tstate
);
46339 if (PyErr_Occurred()) SWIG_fail
;
46342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46350 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46351 PyObject
*resultobj
= 0;
46352 wxSizer
*arg1
= (wxSizer
*) 0 ;
46353 PyObject
*arg2
= (PyObject
*) 0 ;
46354 wxSizerItem
*result
= 0 ;
46357 PyObject
* obj0
= 0 ;
46358 PyObject
* obj1
= 0 ;
46359 char * kwnames
[] = {
46360 (char *) "self",(char *) "item", NULL
46363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46365 if (!SWIG_IsOK(res1
)) {
46366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46368 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46372 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
46373 wxPyEndAllowThreads(__tstate
);
46374 if (PyErr_Occurred()) SWIG_fail
;
46376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46383 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46384 PyObject
*resultobj
= 0;
46385 wxSizer
*arg1
= (wxSizer
*) 0 ;
46386 PyObject
*arg2
= (PyObject
*) 0 ;
46391 PyObject
* obj0
= 0 ;
46392 PyObject
* obj1
= 0 ;
46393 PyObject
* obj2
= 0 ;
46394 char * kwnames
[] = {
46395 (char *) "self",(char *) "item",(char *) "size", NULL
46398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46400 if (!SWIG_IsOK(res1
)) {
46401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46403 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46407 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
46410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46411 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
46412 wxPyEndAllowThreads(__tstate
);
46413 if (PyErr_Occurred()) SWIG_fail
;
46415 resultobj
= SWIG_Py_Void();
46422 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46423 PyObject
*resultobj
= 0;
46424 wxSizer
*arg1
= (wxSizer
*) 0 ;
46425 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46426 wxSizerItem
*result
= 0 ;
46430 PyObject
* obj0
= 0 ;
46431 PyObject
* obj1
= 0 ;
46432 char * kwnames
[] = {
46433 (char *) "self",(char *) "item", NULL
46436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46438 if (!SWIG_IsOK(res1
)) {
46439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46441 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46442 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46443 if (!SWIG_IsOK(res2
)) {
46444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46448 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
46449 wxPyEndAllowThreads(__tstate
);
46450 if (PyErr_Occurred()) SWIG_fail
;
46452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46459 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46460 PyObject
*resultobj
= 0;
46461 wxSizer
*arg1
= (wxSizer
*) 0 ;
46463 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
46464 wxSizerItem
*result
= 0 ;
46470 PyObject
* obj0
= 0 ;
46471 PyObject
* obj1
= 0 ;
46472 PyObject
* obj2
= 0 ;
46473 char * kwnames
[] = {
46474 (char *) "self",(char *) "index",(char *) "item", NULL
46477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46479 if (!SWIG_IsOK(res1
)) {
46480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46482 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46483 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
46484 if (!SWIG_IsOK(ecode2
)) {
46485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
46487 arg2
= static_cast< size_t >(val2
);
46488 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46489 if (!SWIG_IsOK(res3
)) {
46490 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
46493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46494 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
46495 wxPyEndAllowThreads(__tstate
);
46496 if (PyErr_Occurred()) SWIG_fail
;
46498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46505 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46506 PyObject
*resultobj
= 0;
46507 wxSizer
*arg1
= (wxSizer
*) 0 ;
46508 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46509 wxSizerItem
*result
= 0 ;
46513 PyObject
* obj0
= 0 ;
46514 PyObject
* obj1
= 0 ;
46515 char * kwnames
[] = {
46516 (char *) "self",(char *) "item", NULL
46519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46521 if (!SWIG_IsOK(res1
)) {
46522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46524 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46525 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46526 if (!SWIG_IsOK(res2
)) {
46527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46531 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
46532 wxPyEndAllowThreads(__tstate
);
46533 if (PyErr_Occurred()) SWIG_fail
;
46535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46542 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46543 PyObject
*resultobj
= 0;
46544 wxSizer
*arg1
= (wxSizer
*) 0 ;
46559 PyObject
* obj0
= 0 ;
46560 PyObject
* obj1
= 0 ;
46561 PyObject
* obj2
= 0 ;
46562 PyObject
* obj3
= 0 ;
46563 PyObject
* obj4
= 0 ;
46564 char * kwnames
[] = {
46565 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
46568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46570 if (!SWIG_IsOK(res1
)) {
46571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
46573 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46575 if (!SWIG_IsOK(ecode2
)) {
46576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
46578 arg2
= static_cast< int >(val2
);
46579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46580 if (!SWIG_IsOK(ecode3
)) {
46581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
46583 arg3
= static_cast< int >(val3
);
46584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46585 if (!SWIG_IsOK(ecode4
)) {
46586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
46588 arg4
= static_cast< int >(val4
);
46589 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46590 if (!SWIG_IsOK(ecode5
)) {
46591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
46593 arg5
= static_cast< int >(val5
);
46595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46596 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
46597 wxPyEndAllowThreads(__tstate
);
46598 if (PyErr_Occurred()) SWIG_fail
;
46600 resultobj
= SWIG_Py_Void();
46607 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46608 PyObject
*resultobj
= 0;
46609 wxSizer
*arg1
= (wxSizer
*) 0 ;
46614 PyObject
* obj0
= 0 ;
46615 PyObject
* obj1
= 0 ;
46616 char * kwnames
[] = {
46617 (char *) "self",(char *) "size", NULL
46620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46622 if (!SWIG_IsOK(res1
)) {
46623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46625 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46628 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46632 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
46633 wxPyEndAllowThreads(__tstate
);
46634 if (PyErr_Occurred()) SWIG_fail
;
46636 resultobj
= SWIG_Py_Void();
46643 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46644 PyObject
*resultobj
= 0;
46645 wxSizer
*arg1
= (wxSizer
*) 0 ;
46649 PyObject
*swig_obj
[1] ;
46651 if (!args
) SWIG_fail
;
46652 swig_obj
[0] = args
;
46653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46654 if (!SWIG_IsOK(res1
)) {
46655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46657 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46660 result
= (arg1
)->GetSize();
46661 wxPyEndAllowThreads(__tstate
);
46662 if (PyErr_Occurred()) SWIG_fail
;
46664 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46671 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46672 PyObject
*resultobj
= 0;
46673 wxSizer
*arg1
= (wxSizer
*) 0 ;
46677 PyObject
*swig_obj
[1] ;
46679 if (!args
) SWIG_fail
;
46680 swig_obj
[0] = args
;
46681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46682 if (!SWIG_IsOK(res1
)) {
46683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
46685 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46688 result
= (arg1
)->GetPosition();
46689 wxPyEndAllowThreads(__tstate
);
46690 if (PyErr_Occurred()) SWIG_fail
;
46692 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
46699 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46700 PyObject
*resultobj
= 0;
46701 wxSizer
*arg1
= (wxSizer
*) 0 ;
46705 PyObject
*swig_obj
[1] ;
46707 if (!args
) SWIG_fail
;
46708 swig_obj
[0] = args
;
46709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46710 if (!SWIG_IsOK(res1
)) {
46711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46713 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46716 result
= (arg1
)->GetMinSize();
46717 wxPyEndAllowThreads(__tstate
);
46718 if (PyErr_Occurred()) SWIG_fail
;
46720 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46727 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46728 PyObject
*resultobj
= 0;
46729 wxSizer
*arg1
= (wxSizer
*) 0 ;
46732 PyObject
*swig_obj
[1] ;
46734 if (!args
) SWIG_fail
;
46735 swig_obj
[0] = args
;
46736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46737 if (!SWIG_IsOK(res1
)) {
46738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
46740 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46743 (arg1
)->RecalcSizes();
46744 wxPyEndAllowThreads(__tstate
);
46745 if (PyErr_Occurred()) SWIG_fail
;
46747 resultobj
= SWIG_Py_Void();
46754 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46755 PyObject
*resultobj
= 0;
46756 wxSizer
*arg1
= (wxSizer
*) 0 ;
46760 PyObject
*swig_obj
[1] ;
46762 if (!args
) SWIG_fail
;
46763 swig_obj
[0] = args
;
46764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46765 if (!SWIG_IsOK(res1
)) {
46766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
46768 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46771 result
= (arg1
)->CalcMin();
46772 wxPyEndAllowThreads(__tstate
);
46773 if (PyErr_Occurred()) SWIG_fail
;
46775 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46782 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46783 PyObject
*resultobj
= 0;
46784 wxSizer
*arg1
= (wxSizer
*) 0 ;
46787 PyObject
*swig_obj
[1] ;
46789 if (!args
) SWIG_fail
;
46790 swig_obj
[0] = args
;
46791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46792 if (!SWIG_IsOK(res1
)) {
46793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
46795 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46799 wxPyEndAllowThreads(__tstate
);
46800 if (PyErr_Occurred()) SWIG_fail
;
46802 resultobj
= SWIG_Py_Void();
46809 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46810 PyObject
*resultobj
= 0;
46811 wxSizer
*arg1
= (wxSizer
*) 0 ;
46812 wxWindow
*arg2
= (wxWindow
*) 0 ;
46818 PyObject
* obj0
= 0 ;
46819 PyObject
* obj1
= 0 ;
46820 char * kwnames
[] = {
46821 (char *) "self",(char *) "window", NULL
46824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46826 if (!SWIG_IsOK(res1
)) {
46827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
46829 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46831 if (!SWIG_IsOK(res2
)) {
46832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
46834 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46837 result
= (arg1
)->Fit(arg2
);
46838 wxPyEndAllowThreads(__tstate
);
46839 if (PyErr_Occurred()) SWIG_fail
;
46841 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46848 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46849 PyObject
*resultobj
= 0;
46850 wxSizer
*arg1
= (wxSizer
*) 0 ;
46851 wxWindow
*arg2
= (wxWindow
*) 0 ;
46856 PyObject
* obj0
= 0 ;
46857 PyObject
* obj1
= 0 ;
46858 char * kwnames
[] = {
46859 (char *) "self",(char *) "window", NULL
46862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46864 if (!SWIG_IsOK(res1
)) {
46865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
46867 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46869 if (!SWIG_IsOK(res2
)) {
46870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
46872 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46875 (arg1
)->FitInside(arg2
);
46876 wxPyEndAllowThreads(__tstate
);
46877 if (PyErr_Occurred()) SWIG_fail
;
46879 resultobj
= SWIG_Py_Void();
46886 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46887 PyObject
*resultobj
= 0;
46888 wxSizer
*arg1
= (wxSizer
*) 0 ;
46889 wxWindow
*arg2
= (wxWindow
*) 0 ;
46894 PyObject
* obj0
= 0 ;
46895 PyObject
* obj1
= 0 ;
46896 char * kwnames
[] = {
46897 (char *) "self",(char *) "window", NULL
46900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46902 if (!SWIG_IsOK(res1
)) {
46903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46905 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46907 if (!SWIG_IsOK(res2
)) {
46908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46910 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46913 (arg1
)->SetSizeHints(arg2
);
46914 wxPyEndAllowThreads(__tstate
);
46915 if (PyErr_Occurred()) SWIG_fail
;
46917 resultobj
= SWIG_Py_Void();
46924 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46925 PyObject
*resultobj
= 0;
46926 wxSizer
*arg1
= (wxSizer
*) 0 ;
46927 wxWindow
*arg2
= (wxWindow
*) 0 ;
46932 PyObject
* obj0
= 0 ;
46933 PyObject
* obj1
= 0 ;
46934 char * kwnames
[] = {
46935 (char *) "self",(char *) "window", NULL
46938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46940 if (!SWIG_IsOK(res1
)) {
46941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46943 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46945 if (!SWIG_IsOK(res2
)) {
46946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46951 (arg1
)->SetVirtualSizeHints(arg2
);
46952 wxPyEndAllowThreads(__tstate
);
46953 if (PyErr_Occurred()) SWIG_fail
;
46955 resultobj
= SWIG_Py_Void();
46962 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46963 PyObject
*resultobj
= 0;
46964 wxSizer
*arg1
= (wxSizer
*) 0 ;
46965 bool arg2
= (bool) false ;
46970 PyObject
* obj0
= 0 ;
46971 PyObject
* obj1
= 0 ;
46972 char * kwnames
[] = {
46973 (char *) "self",(char *) "deleteWindows", NULL
46976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46978 if (!SWIG_IsOK(res1
)) {
46979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
46981 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46983 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46984 if (!SWIG_IsOK(ecode2
)) {
46985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
46987 arg2
= static_cast< bool >(val2
);
46990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46991 (arg1
)->Clear(arg2
);
46992 wxPyEndAllowThreads(__tstate
);
46993 if (PyErr_Occurred()) SWIG_fail
;
46995 resultobj
= SWIG_Py_Void();
47002 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47003 PyObject
*resultobj
= 0;
47004 wxSizer
*arg1
= (wxSizer
*) 0 ;
47007 PyObject
*swig_obj
[1] ;
47009 if (!args
) SWIG_fail
;
47010 swig_obj
[0] = args
;
47011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47012 if (!SWIG_IsOK(res1
)) {
47013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
47015 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47018 (arg1
)->DeleteWindows();
47019 wxPyEndAllowThreads(__tstate
);
47020 if (PyErr_Occurred()) SWIG_fail
;
47022 resultobj
= SWIG_Py_Void();
47029 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47030 PyObject
*resultobj
= 0;
47031 wxSizer
*arg1
= (wxSizer
*) 0 ;
47032 PyObject
*result
= 0 ;
47035 PyObject
*swig_obj
[1] ;
47037 if (!args
) SWIG_fail
;
47038 swig_obj
[0] = args
;
47039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47040 if (!SWIG_IsOK(res1
)) {
47041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
47043 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47046 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
47047 wxPyEndAllowThreads(__tstate
);
47048 if (PyErr_Occurred()) SWIG_fail
;
47050 resultobj
= result
;
47057 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47058 PyObject
*resultobj
= 0;
47059 wxSizer
*arg1
= (wxSizer
*) 0 ;
47060 PyObject
*arg2
= (PyObject
*) 0 ;
47061 bool arg3
= (bool) true ;
47062 bool arg4
= (bool) false ;
47070 PyObject
* obj0
= 0 ;
47071 PyObject
* obj1
= 0 ;
47072 PyObject
* obj2
= 0 ;
47073 PyObject
* obj3
= 0 ;
47074 char * kwnames
[] = {
47075 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
47078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47080 if (!SWIG_IsOK(res1
)) {
47081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
47083 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47086 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
47087 if (!SWIG_IsOK(ecode3
)) {
47088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
47090 arg3
= static_cast< bool >(val3
);
47093 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
47094 if (!SWIG_IsOK(ecode4
)) {
47095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
47097 arg4
= static_cast< bool >(val4
);
47100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47101 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
47102 wxPyEndAllowThreads(__tstate
);
47103 if (PyErr_Occurred()) SWIG_fail
;
47106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47114 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47115 PyObject
*resultobj
= 0;
47116 wxSizer
*arg1
= (wxSizer
*) 0 ;
47117 PyObject
*arg2
= (PyObject
*) 0 ;
47121 PyObject
* obj0
= 0 ;
47122 PyObject
* obj1
= 0 ;
47123 char * kwnames
[] = {
47124 (char *) "self",(char *) "item", NULL
47127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47129 if (!SWIG_IsOK(res1
)) {
47130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
47132 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47136 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
47137 wxPyEndAllowThreads(__tstate
);
47138 if (PyErr_Occurred()) SWIG_fail
;
47141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47149 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47150 PyObject
*resultobj
= 0;
47151 wxSizer
*arg1
= (wxSizer
*) 0 ;
47157 PyObject
* obj0
= 0 ;
47158 PyObject
* obj1
= 0 ;
47159 char * kwnames
[] = {
47160 (char *) "self",(char *) "show", NULL
47163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47165 if (!SWIG_IsOK(res1
)) {
47166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
47168 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47169 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47170 if (!SWIG_IsOK(ecode2
)) {
47171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
47173 arg2
= static_cast< bool >(val2
);
47175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47176 (arg1
)->ShowItems(arg2
);
47177 wxPyEndAllowThreads(__tstate
);
47178 if (PyErr_Occurred()) SWIG_fail
;
47180 resultobj
= SWIG_Py_Void();
47187 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47190 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
47191 return SWIG_Py_Void();
47194 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47195 PyObject
*resultobj
= 0;
47196 wxPySizer
*result
= 0 ;
47198 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
47200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47201 result
= (wxPySizer
*)new wxPySizer();
47202 wxPyEndAllowThreads(__tstate
);
47203 if (PyErr_Occurred()) SWIG_fail
;
47205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
47212 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47213 PyObject
*resultobj
= 0;
47214 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
47215 PyObject
*arg2
= (PyObject
*) 0 ;
47216 PyObject
*arg3
= (PyObject
*) 0 ;
47219 PyObject
* obj0
= 0 ;
47220 PyObject
* obj1
= 0 ;
47221 PyObject
* obj2
= 0 ;
47222 char * kwnames
[] = {
47223 (char *) "self",(char *) "self",(char *) "_class", NULL
47226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
47228 if (!SWIG_IsOK(res1
)) {
47229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
47231 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
47235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47236 (arg1
)->_setCallbackInfo(arg2
,arg3
);
47237 wxPyEndAllowThreads(__tstate
);
47238 if (PyErr_Occurred()) SWIG_fail
;
47240 resultobj
= SWIG_Py_Void();
47247 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
47251 return SWIG_Py_Void();
47254 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47255 return SWIG_Python_InitShadowInstance(args
);
47258 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47259 PyObject
*resultobj
= 0;
47260 int arg1
= (int) wxHORIZONTAL
;
47261 wxBoxSizer
*result
= 0 ;
47264 PyObject
* obj0
= 0 ;
47265 char * kwnames
[] = {
47266 (char *) "orient", NULL
47269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
47271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47272 if (!SWIG_IsOK(ecode1
)) {
47273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
47275 arg1
= static_cast< int >(val1
);
47278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47279 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
47280 wxPyEndAllowThreads(__tstate
);
47281 if (PyErr_Occurred()) SWIG_fail
;
47283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
47290 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47291 PyObject
*resultobj
= 0;
47292 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47296 PyObject
*swig_obj
[1] ;
47298 if (!args
) SWIG_fail
;
47299 swig_obj
[0] = args
;
47300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47301 if (!SWIG_IsOK(res1
)) {
47302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47304 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47307 result
= (int)(arg1
)->GetOrientation();
47308 wxPyEndAllowThreads(__tstate
);
47309 if (PyErr_Occurred()) SWIG_fail
;
47311 resultobj
= SWIG_From_int(static_cast< int >(result
));
47318 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47319 PyObject
*resultobj
= 0;
47320 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47326 PyObject
* obj0
= 0 ;
47327 PyObject
* obj1
= 0 ;
47328 char * kwnames
[] = {
47329 (char *) "self",(char *) "orient", NULL
47332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47334 if (!SWIG_IsOK(res1
)) {
47335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47337 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47339 if (!SWIG_IsOK(ecode2
)) {
47340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
47342 arg2
= static_cast< int >(val2
);
47344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47345 (arg1
)->SetOrientation(arg2
);
47346 wxPyEndAllowThreads(__tstate
);
47347 if (PyErr_Occurred()) SWIG_fail
;
47349 resultobj
= SWIG_Py_Void();
47356 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47359 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
47360 return SWIG_Py_Void();
47363 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47364 return SWIG_Python_InitShadowInstance(args
);
47367 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47368 PyObject
*resultobj
= 0;
47369 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
47370 int arg2
= (int) wxHORIZONTAL
;
47371 wxStaticBoxSizer
*result
= 0 ;
47376 PyObject
* obj0
= 0 ;
47377 PyObject
* obj1
= 0 ;
47378 char * kwnames
[] = {
47379 (char *) "box",(char *) "orient", NULL
47382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
47384 if (!SWIG_IsOK(res1
)) {
47385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
47387 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
47389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47390 if (!SWIG_IsOK(ecode2
)) {
47391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
47393 arg2
= static_cast< int >(val2
);
47396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47397 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
47398 wxPyEndAllowThreads(__tstate
);
47399 if (PyErr_Occurred()) SWIG_fail
;
47401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
47408 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47409 PyObject
*resultobj
= 0;
47410 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
47411 wxStaticBox
*result
= 0 ;
47414 PyObject
*swig_obj
[1] ;
47416 if (!args
) SWIG_fail
;
47417 swig_obj
[0] = args
;
47418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
47419 if (!SWIG_IsOK(res1
)) {
47420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
47422 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
47424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47425 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
47426 wxPyEndAllowThreads(__tstate
);
47427 if (PyErr_Occurred()) SWIG_fail
;
47430 resultobj
= wxPyMake_wxObject(result
, (bool)0);
47438 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47441 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
47442 return SWIG_Py_Void();
47445 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47446 return SWIG_Python_InitShadowInstance(args
);
47449 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47450 PyObject
*resultobj
= 0;
47451 int arg1
= (int) 1 ;
47452 int arg2
= (int) 0 ;
47453 int arg3
= (int) 0 ;
47454 int arg4
= (int) 0 ;
47455 wxGridSizer
*result
= 0 ;
47464 PyObject
* obj0
= 0 ;
47465 PyObject
* obj1
= 0 ;
47466 PyObject
* obj2
= 0 ;
47467 PyObject
* obj3
= 0 ;
47468 char * kwnames
[] = {
47469 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47475 if (!SWIG_IsOK(ecode1
)) {
47476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
47478 arg1
= static_cast< int >(val1
);
47481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47482 if (!SWIG_IsOK(ecode2
)) {
47483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
47485 arg2
= static_cast< int >(val2
);
47488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47489 if (!SWIG_IsOK(ecode3
)) {
47490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
47492 arg3
= static_cast< int >(val3
);
47495 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47496 if (!SWIG_IsOK(ecode4
)) {
47497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
47499 arg4
= static_cast< int >(val4
);
47502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47503 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
47504 wxPyEndAllowThreads(__tstate
);
47505 if (PyErr_Occurred()) SWIG_fail
;
47507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
47514 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47515 PyObject
*resultobj
= 0;
47516 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47522 PyObject
* obj0
= 0 ;
47523 PyObject
* obj1
= 0 ;
47524 char * kwnames
[] = {
47525 (char *) "self",(char *) "cols", NULL
47528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47530 if (!SWIG_IsOK(res1
)) {
47531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47533 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47535 if (!SWIG_IsOK(ecode2
)) {
47536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
47538 arg2
= static_cast< int >(val2
);
47540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47541 (arg1
)->SetCols(arg2
);
47542 wxPyEndAllowThreads(__tstate
);
47543 if (PyErr_Occurred()) SWIG_fail
;
47545 resultobj
= SWIG_Py_Void();
47552 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47553 PyObject
*resultobj
= 0;
47554 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47560 PyObject
* obj0
= 0 ;
47561 PyObject
* obj1
= 0 ;
47562 char * kwnames
[] = {
47563 (char *) "self",(char *) "rows", NULL
47566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47568 if (!SWIG_IsOK(res1
)) {
47569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47571 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47573 if (!SWIG_IsOK(ecode2
)) {
47574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
47576 arg2
= static_cast< int >(val2
);
47578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47579 (arg1
)->SetRows(arg2
);
47580 wxPyEndAllowThreads(__tstate
);
47581 if (PyErr_Occurred()) SWIG_fail
;
47583 resultobj
= SWIG_Py_Void();
47590 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47591 PyObject
*resultobj
= 0;
47592 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47598 PyObject
* obj0
= 0 ;
47599 PyObject
* obj1
= 0 ;
47600 char * kwnames
[] = {
47601 (char *) "self",(char *) "gap", NULL
47604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47606 if (!SWIG_IsOK(res1
)) {
47607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47609 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47611 if (!SWIG_IsOK(ecode2
)) {
47612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
47614 arg2
= static_cast< int >(val2
);
47616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47617 (arg1
)->SetVGap(arg2
);
47618 wxPyEndAllowThreads(__tstate
);
47619 if (PyErr_Occurred()) SWIG_fail
;
47621 resultobj
= SWIG_Py_Void();
47628 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47629 PyObject
*resultobj
= 0;
47630 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47636 PyObject
* obj0
= 0 ;
47637 PyObject
* obj1
= 0 ;
47638 char * kwnames
[] = {
47639 (char *) "self",(char *) "gap", NULL
47642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47644 if (!SWIG_IsOK(res1
)) {
47645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47647 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47649 if (!SWIG_IsOK(ecode2
)) {
47650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
47652 arg2
= static_cast< int >(val2
);
47654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47655 (arg1
)->SetHGap(arg2
);
47656 wxPyEndAllowThreads(__tstate
);
47657 if (PyErr_Occurred()) SWIG_fail
;
47659 resultobj
= SWIG_Py_Void();
47666 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47667 PyObject
*resultobj
= 0;
47668 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47672 PyObject
*swig_obj
[1] ;
47674 if (!args
) SWIG_fail
;
47675 swig_obj
[0] = args
;
47676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47677 if (!SWIG_IsOK(res1
)) {
47678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47680 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47683 result
= (int)(arg1
)->GetCols();
47684 wxPyEndAllowThreads(__tstate
);
47685 if (PyErr_Occurred()) SWIG_fail
;
47687 resultobj
= SWIG_From_int(static_cast< int >(result
));
47694 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47695 PyObject
*resultobj
= 0;
47696 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47700 PyObject
*swig_obj
[1] ;
47702 if (!args
) SWIG_fail
;
47703 swig_obj
[0] = args
;
47704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47705 if (!SWIG_IsOK(res1
)) {
47706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47708 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47711 result
= (int)(arg1
)->GetRows();
47712 wxPyEndAllowThreads(__tstate
);
47713 if (PyErr_Occurred()) SWIG_fail
;
47715 resultobj
= SWIG_From_int(static_cast< int >(result
));
47722 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47723 PyObject
*resultobj
= 0;
47724 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47728 PyObject
*swig_obj
[1] ;
47730 if (!args
) SWIG_fail
;
47731 swig_obj
[0] = args
;
47732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47733 if (!SWIG_IsOK(res1
)) {
47734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47736 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47739 result
= (int)(arg1
)->GetVGap();
47740 wxPyEndAllowThreads(__tstate
);
47741 if (PyErr_Occurred()) SWIG_fail
;
47743 resultobj
= SWIG_From_int(static_cast< int >(result
));
47750 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47751 PyObject
*resultobj
= 0;
47752 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47756 PyObject
*swig_obj
[1] ;
47758 if (!args
) SWIG_fail
;
47759 swig_obj
[0] = args
;
47760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47761 if (!SWIG_IsOK(res1
)) {
47762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47764 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47767 result
= (int)(arg1
)->GetHGap();
47768 wxPyEndAllowThreads(__tstate
);
47769 if (PyErr_Occurred()) SWIG_fail
;
47771 resultobj
= SWIG_From_int(static_cast< int >(result
));
47778 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47781 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
47782 return SWIG_Py_Void();
47785 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47786 return SWIG_Python_InitShadowInstance(args
);
47789 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47790 PyObject
*resultobj
= 0;
47791 int arg1
= (int) 1 ;
47792 int arg2
= (int) 0 ;
47793 int arg3
= (int) 0 ;
47794 int arg4
= (int) 0 ;
47795 wxFlexGridSizer
*result
= 0 ;
47804 PyObject
* obj0
= 0 ;
47805 PyObject
* obj1
= 0 ;
47806 PyObject
* obj2
= 0 ;
47807 PyObject
* obj3
= 0 ;
47808 char * kwnames
[] = {
47809 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47814 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47815 if (!SWIG_IsOK(ecode1
)) {
47816 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
47818 arg1
= static_cast< int >(val1
);
47821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47822 if (!SWIG_IsOK(ecode2
)) {
47823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
47825 arg2
= static_cast< int >(val2
);
47828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47829 if (!SWIG_IsOK(ecode3
)) {
47830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
47832 arg3
= static_cast< int >(val3
);
47835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47836 if (!SWIG_IsOK(ecode4
)) {
47837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
47839 arg4
= static_cast< int >(val4
);
47842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47843 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
47844 wxPyEndAllowThreads(__tstate
);
47845 if (PyErr_Occurred()) SWIG_fail
;
47847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
47854 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47855 PyObject
*resultobj
= 0;
47856 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47858 int arg3
= (int) 0 ;
47865 PyObject
* obj0
= 0 ;
47866 PyObject
* obj1
= 0 ;
47867 PyObject
* obj2
= 0 ;
47868 char * kwnames
[] = {
47869 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47874 if (!SWIG_IsOK(res1
)) {
47875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47877 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47878 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47879 if (!SWIG_IsOK(ecode2
)) {
47880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47882 arg2
= static_cast< size_t >(val2
);
47884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47885 if (!SWIG_IsOK(ecode3
)) {
47886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
47888 arg3
= static_cast< int >(val3
);
47891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47892 (arg1
)->AddGrowableRow(arg2
,arg3
);
47893 wxPyEndAllowThreads(__tstate
);
47894 if (PyErr_Occurred()) SWIG_fail
;
47896 resultobj
= SWIG_Py_Void();
47903 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47904 PyObject
*resultobj
= 0;
47905 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47911 PyObject
* obj0
= 0 ;
47912 PyObject
* obj1
= 0 ;
47913 char * kwnames
[] = {
47914 (char *) "self",(char *) "idx", NULL
47917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47919 if (!SWIG_IsOK(res1
)) {
47920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47922 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47923 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47924 if (!SWIG_IsOK(ecode2
)) {
47925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47927 arg2
= static_cast< size_t >(val2
);
47929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47930 (arg1
)->RemoveGrowableRow(arg2
);
47931 wxPyEndAllowThreads(__tstate
);
47932 if (PyErr_Occurred()) SWIG_fail
;
47934 resultobj
= SWIG_Py_Void();
47941 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47942 PyObject
*resultobj
= 0;
47943 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47945 int arg3
= (int) 0 ;
47952 PyObject
* obj0
= 0 ;
47953 PyObject
* obj1
= 0 ;
47954 PyObject
* obj2
= 0 ;
47955 char * kwnames
[] = {
47956 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47961 if (!SWIG_IsOK(res1
)) {
47962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47964 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47965 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47966 if (!SWIG_IsOK(ecode2
)) {
47967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47969 arg2
= static_cast< size_t >(val2
);
47971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47972 if (!SWIG_IsOK(ecode3
)) {
47973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
47975 arg3
= static_cast< int >(val3
);
47978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47979 (arg1
)->AddGrowableCol(arg2
,arg3
);
47980 wxPyEndAllowThreads(__tstate
);
47981 if (PyErr_Occurred()) SWIG_fail
;
47983 resultobj
= SWIG_Py_Void();
47990 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47991 PyObject
*resultobj
= 0;
47992 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47998 PyObject
* obj0
= 0 ;
47999 PyObject
* obj1
= 0 ;
48000 char * kwnames
[] = {
48001 (char *) "self",(char *) "idx", NULL
48004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48006 if (!SWIG_IsOK(res1
)) {
48007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48009 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48010 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48011 if (!SWIG_IsOK(ecode2
)) {
48012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
48014 arg2
= static_cast< size_t >(val2
);
48016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48017 (arg1
)->RemoveGrowableCol(arg2
);
48018 wxPyEndAllowThreads(__tstate
);
48019 if (PyErr_Occurred()) SWIG_fail
;
48021 resultobj
= SWIG_Py_Void();
48028 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48029 PyObject
*resultobj
= 0;
48030 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48036 PyObject
* obj0
= 0 ;
48037 PyObject
* obj1
= 0 ;
48038 char * kwnames
[] = {
48039 (char *) "self",(char *) "direction", NULL
48042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48044 if (!SWIG_IsOK(res1
)) {
48045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48047 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48049 if (!SWIG_IsOK(ecode2
)) {
48050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
48052 arg2
= static_cast< int >(val2
);
48054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48055 (arg1
)->SetFlexibleDirection(arg2
);
48056 wxPyEndAllowThreads(__tstate
);
48057 if (PyErr_Occurred()) SWIG_fail
;
48059 resultobj
= SWIG_Py_Void();
48066 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48067 PyObject
*resultobj
= 0;
48068 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48072 PyObject
*swig_obj
[1] ;
48074 if (!args
) SWIG_fail
;
48075 swig_obj
[0] = args
;
48076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48077 if (!SWIG_IsOK(res1
)) {
48078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48080 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48083 result
= (int)(arg1
)->GetFlexibleDirection();
48084 wxPyEndAllowThreads(__tstate
);
48085 if (PyErr_Occurred()) SWIG_fail
;
48087 resultobj
= SWIG_From_int(static_cast< int >(result
));
48094 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48095 PyObject
*resultobj
= 0;
48096 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48097 wxFlexSizerGrowMode arg2
;
48102 PyObject
* obj0
= 0 ;
48103 PyObject
* obj1
= 0 ;
48104 char * kwnames
[] = {
48105 (char *) "self",(char *) "mode", NULL
48108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48110 if (!SWIG_IsOK(res1
)) {
48111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48113 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48115 if (!SWIG_IsOK(ecode2
)) {
48116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
48118 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
48120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48121 (arg1
)->SetNonFlexibleGrowMode(arg2
);
48122 wxPyEndAllowThreads(__tstate
);
48123 if (PyErr_Occurred()) SWIG_fail
;
48125 resultobj
= SWIG_Py_Void();
48132 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48133 PyObject
*resultobj
= 0;
48134 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48135 wxFlexSizerGrowMode result
;
48138 PyObject
*swig_obj
[1] ;
48140 if (!args
) SWIG_fail
;
48141 swig_obj
[0] = args
;
48142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48143 if (!SWIG_IsOK(res1
)) {
48144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48146 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48149 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
48150 wxPyEndAllowThreads(__tstate
);
48151 if (PyErr_Occurred()) SWIG_fail
;
48153 resultobj
= SWIG_From_int(static_cast< int >(result
));
48160 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48161 PyObject
*resultobj
= 0;
48162 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48163 wxArrayInt
*result
= 0 ;
48166 PyObject
*swig_obj
[1] ;
48168 if (!args
) SWIG_fail
;
48169 swig_obj
[0] = args
;
48170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48171 if (!SWIG_IsOK(res1
)) {
48172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48174 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48178 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
48179 result
= (wxArrayInt
*) &_result_ref
;
48181 wxPyEndAllowThreads(__tstate
);
48182 if (PyErr_Occurred()) SWIG_fail
;
48185 resultobj
= PyList_New(0);
48187 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48188 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48189 PyList_Append(resultobj
, val
);
48199 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48200 PyObject
*resultobj
= 0;
48201 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48202 wxArrayInt
*result
= 0 ;
48205 PyObject
*swig_obj
[1] ;
48207 if (!args
) SWIG_fail
;
48208 swig_obj
[0] = args
;
48209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48210 if (!SWIG_IsOK(res1
)) {
48211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48213 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48217 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
48218 result
= (wxArrayInt
*) &_result_ref
;
48220 wxPyEndAllowThreads(__tstate
);
48221 if (PyErr_Occurred()) SWIG_fail
;
48224 resultobj
= PyList_New(0);
48226 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48227 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48228 PyList_Append(resultobj
, val
);
48238 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48241 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
48242 return SWIG_Py_Void();
48245 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48246 return SWIG_Python_InitShadowInstance(args
);
48249 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48250 PyObject
*resultobj
= 0;
48251 wxStdDialogButtonSizer
*result
= 0 ;
48253 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
48255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48256 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
48257 wxPyEndAllowThreads(__tstate
);
48258 if (PyErr_Occurred()) SWIG_fail
;
48260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
48267 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48268 PyObject
*resultobj
= 0;
48269 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48270 wxButton
*arg2
= (wxButton
*) 0 ;
48275 PyObject
* obj0
= 0 ;
48276 PyObject
* obj1
= 0 ;
48277 char * kwnames
[] = {
48278 (char *) "self",(char *) "button", NULL
48281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48283 if (!SWIG_IsOK(res1
)) {
48284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48286 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48288 if (!SWIG_IsOK(res2
)) {
48289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
48291 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48294 (arg1
)->AddButton(arg2
);
48295 wxPyEndAllowThreads(__tstate
);
48296 if (PyErr_Occurred()) SWIG_fail
;
48298 resultobj
= SWIG_Py_Void();
48305 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48306 PyObject
*resultobj
= 0;
48307 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48310 PyObject
*swig_obj
[1] ;
48312 if (!args
) SWIG_fail
;
48313 swig_obj
[0] = args
;
48314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48315 if (!SWIG_IsOK(res1
)) {
48316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48318 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48322 wxPyEndAllowThreads(__tstate
);
48323 if (PyErr_Occurred()) SWIG_fail
;
48325 resultobj
= SWIG_Py_Void();
48332 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48333 PyObject
*resultobj
= 0;
48334 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48335 wxButton
*arg2
= (wxButton
*) 0 ;
48340 PyObject
* obj0
= 0 ;
48341 PyObject
* obj1
= 0 ;
48342 char * kwnames
[] = {
48343 (char *) "self",(char *) "button", NULL
48346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48348 if (!SWIG_IsOK(res1
)) {
48349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48351 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48353 if (!SWIG_IsOK(res2
)) {
48354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48356 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48359 (arg1
)->SetAffirmativeButton(arg2
);
48360 wxPyEndAllowThreads(__tstate
);
48361 if (PyErr_Occurred()) SWIG_fail
;
48363 resultobj
= SWIG_Py_Void();
48370 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48371 PyObject
*resultobj
= 0;
48372 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48373 wxButton
*arg2
= (wxButton
*) 0 ;
48378 PyObject
* obj0
= 0 ;
48379 PyObject
* obj1
= 0 ;
48380 char * kwnames
[] = {
48381 (char *) "self",(char *) "button", NULL
48384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48386 if (!SWIG_IsOK(res1
)) {
48387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48389 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48391 if (!SWIG_IsOK(res2
)) {
48392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48394 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48397 (arg1
)->SetNegativeButton(arg2
);
48398 wxPyEndAllowThreads(__tstate
);
48399 if (PyErr_Occurred()) SWIG_fail
;
48401 resultobj
= SWIG_Py_Void();
48408 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48409 PyObject
*resultobj
= 0;
48410 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48411 wxButton
*arg2
= (wxButton
*) 0 ;
48416 PyObject
* obj0
= 0 ;
48417 PyObject
* obj1
= 0 ;
48418 char * kwnames
[] = {
48419 (char *) "self",(char *) "button", NULL
48422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48424 if (!SWIG_IsOK(res1
)) {
48425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48427 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48429 if (!SWIG_IsOK(res2
)) {
48430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
48432 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48435 (arg1
)->SetCancelButton(arg2
);
48436 wxPyEndAllowThreads(__tstate
);
48437 if (PyErr_Occurred()) SWIG_fail
;
48439 resultobj
= SWIG_Py_Void();
48446 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48447 PyObject
*resultobj
= 0;
48448 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48449 wxButton
*result
= 0 ;
48452 PyObject
*swig_obj
[1] ;
48454 if (!args
) SWIG_fail
;
48455 swig_obj
[0] = args
;
48456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48457 if (!SWIG_IsOK(res1
)) {
48458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48460 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48463 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
48464 wxPyEndAllowThreads(__tstate
);
48465 if (PyErr_Occurred()) SWIG_fail
;
48468 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48476 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48477 PyObject
*resultobj
= 0;
48478 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48479 wxButton
*result
= 0 ;
48482 PyObject
*swig_obj
[1] ;
48484 if (!args
) SWIG_fail
;
48485 swig_obj
[0] = args
;
48486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48487 if (!SWIG_IsOK(res1
)) {
48488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48490 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48493 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
48494 wxPyEndAllowThreads(__tstate
);
48495 if (PyErr_Occurred()) SWIG_fail
;
48498 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48506 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48507 PyObject
*resultobj
= 0;
48508 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48509 wxButton
*result
= 0 ;
48512 PyObject
*swig_obj
[1] ;
48514 if (!args
) SWIG_fail
;
48515 swig_obj
[0] = args
;
48516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48517 if (!SWIG_IsOK(res1
)) {
48518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48520 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48523 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
48524 wxPyEndAllowThreads(__tstate
);
48525 if (PyErr_Occurred()) SWIG_fail
;
48528 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48536 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48537 PyObject
*resultobj
= 0;
48538 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48539 wxButton
*result
= 0 ;
48542 PyObject
*swig_obj
[1] ;
48544 if (!args
) SWIG_fail
;
48545 swig_obj
[0] = args
;
48546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48547 if (!SWIG_IsOK(res1
)) {
48548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48550 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48553 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
48554 wxPyEndAllowThreads(__tstate
);
48555 if (PyErr_Occurred()) SWIG_fail
;
48558 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48566 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48567 PyObject
*resultobj
= 0;
48568 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48569 wxButton
*result
= 0 ;
48572 PyObject
*swig_obj
[1] ;
48574 if (!args
) SWIG_fail
;
48575 swig_obj
[0] = args
;
48576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48577 if (!SWIG_IsOK(res1
)) {
48578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48580 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48583 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
48584 wxPyEndAllowThreads(__tstate
);
48585 if (PyErr_Occurred()) SWIG_fail
;
48588 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48596 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48599 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
48600 return SWIG_Py_Void();
48603 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48604 return SWIG_Python_InitShadowInstance(args
);
48607 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48608 PyObject
*resultobj
= 0;
48609 int arg1
= (int) 0 ;
48610 int arg2
= (int) 0 ;
48611 wxGBPosition
*result
= 0 ;
48616 PyObject
* obj0
= 0 ;
48617 PyObject
* obj1
= 0 ;
48618 char * kwnames
[] = {
48619 (char *) "row",(char *) "col", NULL
48622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48624 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48625 if (!SWIG_IsOK(ecode1
)) {
48626 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
48628 arg1
= static_cast< int >(val1
);
48631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48632 if (!SWIG_IsOK(ecode2
)) {
48633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
48635 arg2
= static_cast< int >(val2
);
48638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48639 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
48640 wxPyEndAllowThreads(__tstate
);
48641 if (PyErr_Occurred()) SWIG_fail
;
48643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
48650 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48651 PyObject
*resultobj
= 0;
48652 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48655 PyObject
*swig_obj
[1] ;
48657 if (!args
) SWIG_fail
;
48658 swig_obj
[0] = args
;
48659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
48660 if (!SWIG_IsOK(res1
)) {
48661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48663 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48668 wxPyEndAllowThreads(__tstate
);
48669 if (PyErr_Occurred()) SWIG_fail
;
48671 resultobj
= SWIG_Py_Void();
48678 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48679 PyObject
*resultobj
= 0;
48680 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48684 PyObject
*swig_obj
[1] ;
48686 if (!args
) SWIG_fail
;
48687 swig_obj
[0] = args
;
48688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48689 if (!SWIG_IsOK(res1
)) {
48690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48692 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48695 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
48696 wxPyEndAllowThreads(__tstate
);
48697 if (PyErr_Occurred()) SWIG_fail
;
48699 resultobj
= SWIG_From_int(static_cast< int >(result
));
48706 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48707 PyObject
*resultobj
= 0;
48708 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48712 PyObject
*swig_obj
[1] ;
48714 if (!args
) SWIG_fail
;
48715 swig_obj
[0] = args
;
48716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48717 if (!SWIG_IsOK(res1
)) {
48718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48720 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48723 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
48724 wxPyEndAllowThreads(__tstate
);
48725 if (PyErr_Occurred()) SWIG_fail
;
48727 resultobj
= SWIG_From_int(static_cast< int >(result
));
48734 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48735 PyObject
*resultobj
= 0;
48736 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48742 PyObject
* obj0
= 0 ;
48743 PyObject
* obj1
= 0 ;
48744 char * kwnames
[] = {
48745 (char *) "self",(char *) "row", NULL
48748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48750 if (!SWIG_IsOK(res1
)) {
48751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48753 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48755 if (!SWIG_IsOK(ecode2
)) {
48756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
48758 arg2
= static_cast< int >(val2
);
48760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48761 (arg1
)->SetRow(arg2
);
48762 wxPyEndAllowThreads(__tstate
);
48763 if (PyErr_Occurred()) SWIG_fail
;
48765 resultobj
= SWIG_Py_Void();
48772 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48773 PyObject
*resultobj
= 0;
48774 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48780 PyObject
* obj0
= 0 ;
48781 PyObject
* obj1
= 0 ;
48782 char * kwnames
[] = {
48783 (char *) "self",(char *) "col", NULL
48786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48788 if (!SWIG_IsOK(res1
)) {
48789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48791 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48793 if (!SWIG_IsOK(ecode2
)) {
48794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
48796 arg2
= static_cast< int >(val2
);
48798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48799 (arg1
)->SetCol(arg2
);
48800 wxPyEndAllowThreads(__tstate
);
48801 if (PyErr_Occurred()) SWIG_fail
;
48803 resultobj
= SWIG_Py_Void();
48810 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48811 PyObject
*resultobj
= 0;
48812 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48813 PyObject
*arg2
= (PyObject
*) 0 ;
48817 PyObject
* obj0
= 0 ;
48818 PyObject
* obj1
= 0 ;
48819 char * kwnames
[] = {
48820 (char *) "self",(char *) "other", NULL
48823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48825 if (!SWIG_IsOK(res1
)) {
48826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48828 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48831 result
= (bool)wxGBPosition___eq__(arg1
,arg2
);
48832 if (PyErr_Occurred()) SWIG_fail
;
48835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48843 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48844 PyObject
*resultobj
= 0;
48845 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48846 PyObject
*arg2
= (PyObject
*) 0 ;
48850 PyObject
* obj0
= 0 ;
48851 PyObject
* obj1
= 0 ;
48852 char * kwnames
[] = {
48853 (char *) "self",(char *) "other", NULL
48856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48858 if (!SWIG_IsOK(res1
)) {
48859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48861 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48864 result
= (bool)wxGBPosition___ne__(arg1
,arg2
);
48865 if (PyErr_Occurred()) SWIG_fail
;
48868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48876 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48877 PyObject
*resultobj
= 0;
48878 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48879 int arg2
= (int) 0 ;
48880 int arg3
= (int) 0 ;
48887 PyObject
* obj0
= 0 ;
48888 PyObject
* obj1
= 0 ;
48889 PyObject
* obj2
= 0 ;
48890 char * kwnames
[] = {
48891 (char *) "self",(char *) "row",(char *) "col", NULL
48894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48896 if (!SWIG_IsOK(res1
)) {
48897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48899 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48902 if (!SWIG_IsOK(ecode2
)) {
48903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
48905 arg2
= static_cast< int >(val2
);
48908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48909 if (!SWIG_IsOK(ecode3
)) {
48910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
48912 arg3
= static_cast< int >(val3
);
48915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48916 wxGBPosition_Set(arg1
,arg2
,arg3
);
48917 wxPyEndAllowThreads(__tstate
);
48918 if (PyErr_Occurred()) SWIG_fail
;
48920 resultobj
= SWIG_Py_Void();
48927 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48928 PyObject
*resultobj
= 0;
48929 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48930 PyObject
*result
= 0 ;
48933 PyObject
*swig_obj
[1] ;
48935 if (!args
) SWIG_fail
;
48936 swig_obj
[0] = args
;
48937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48938 if (!SWIG_IsOK(res1
)) {
48939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48941 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48944 result
= (PyObject
*)wxGBPosition_Get(arg1
);
48945 wxPyEndAllowThreads(__tstate
);
48946 if (PyErr_Occurred()) SWIG_fail
;
48948 resultobj
= result
;
48955 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48958 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
48959 return SWIG_Py_Void();
48962 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48963 return SWIG_Python_InitShadowInstance(args
);
48966 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48967 PyObject
*resultobj
= 0;
48968 int arg1
= (int) 1 ;
48969 int arg2
= (int) 1 ;
48970 wxGBSpan
*result
= 0 ;
48975 PyObject
* obj0
= 0 ;
48976 PyObject
* obj1
= 0 ;
48977 char * kwnames
[] = {
48978 (char *) "rowspan",(char *) "colspan", NULL
48981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48984 if (!SWIG_IsOK(ecode1
)) {
48985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
48987 arg1
= static_cast< int >(val1
);
48990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48991 if (!SWIG_IsOK(ecode2
)) {
48992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
48994 arg2
= static_cast< int >(val2
);
48997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48998 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
48999 wxPyEndAllowThreads(__tstate
);
49000 if (PyErr_Occurred()) SWIG_fail
;
49002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
49009 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49010 PyObject
*resultobj
= 0;
49011 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49014 PyObject
*swig_obj
[1] ;
49016 if (!args
) SWIG_fail
;
49017 swig_obj
[0] = args
;
49018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
49019 if (!SWIG_IsOK(res1
)) {
49020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49022 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49027 wxPyEndAllowThreads(__tstate
);
49028 if (PyErr_Occurred()) SWIG_fail
;
49030 resultobj
= SWIG_Py_Void();
49037 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49038 PyObject
*resultobj
= 0;
49039 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49043 PyObject
*swig_obj
[1] ;
49045 if (!args
) SWIG_fail
;
49046 swig_obj
[0] = args
;
49047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49048 if (!SWIG_IsOK(res1
)) {
49049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
49051 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49054 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
49055 wxPyEndAllowThreads(__tstate
);
49056 if (PyErr_Occurred()) SWIG_fail
;
49058 resultobj
= SWIG_From_int(static_cast< int >(result
));
49065 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49066 PyObject
*resultobj
= 0;
49067 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49071 PyObject
*swig_obj
[1] ;
49073 if (!args
) SWIG_fail
;
49074 swig_obj
[0] = args
;
49075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49076 if (!SWIG_IsOK(res1
)) {
49077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
49079 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49082 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
49083 wxPyEndAllowThreads(__tstate
);
49084 if (PyErr_Occurred()) SWIG_fail
;
49086 resultobj
= SWIG_From_int(static_cast< int >(result
));
49093 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49094 PyObject
*resultobj
= 0;
49095 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49101 PyObject
* obj0
= 0 ;
49102 PyObject
* obj1
= 0 ;
49103 char * kwnames
[] = {
49104 (char *) "self",(char *) "rowspan", NULL
49107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49109 if (!SWIG_IsOK(res1
)) {
49110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49112 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49114 if (!SWIG_IsOK(ecode2
)) {
49115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
49117 arg2
= static_cast< int >(val2
);
49119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49120 (arg1
)->SetRowspan(arg2
);
49121 wxPyEndAllowThreads(__tstate
);
49122 if (PyErr_Occurred()) SWIG_fail
;
49124 resultobj
= SWIG_Py_Void();
49131 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49132 PyObject
*resultobj
= 0;
49133 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49139 PyObject
* obj0
= 0 ;
49140 PyObject
* obj1
= 0 ;
49141 char * kwnames
[] = {
49142 (char *) "self",(char *) "colspan", NULL
49145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49147 if (!SWIG_IsOK(res1
)) {
49148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49150 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49152 if (!SWIG_IsOK(ecode2
)) {
49153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
49155 arg2
= static_cast< int >(val2
);
49157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49158 (arg1
)->SetColspan(arg2
);
49159 wxPyEndAllowThreads(__tstate
);
49160 if (PyErr_Occurred()) SWIG_fail
;
49162 resultobj
= SWIG_Py_Void();
49169 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49170 PyObject
*resultobj
= 0;
49171 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49172 PyObject
*arg2
= (PyObject
*) 0 ;
49176 PyObject
* obj0
= 0 ;
49177 PyObject
* obj1
= 0 ;
49178 char * kwnames
[] = {
49179 (char *) "self",(char *) "other", NULL
49182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49184 if (!SWIG_IsOK(res1
)) {
49185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49187 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49190 result
= (bool)wxGBSpan___eq__(arg1
,arg2
);
49191 if (PyErr_Occurred()) SWIG_fail
;
49194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49202 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49203 PyObject
*resultobj
= 0;
49204 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49205 PyObject
*arg2
= (PyObject
*) 0 ;
49209 PyObject
* obj0
= 0 ;
49210 PyObject
* obj1
= 0 ;
49211 char * kwnames
[] = {
49212 (char *) "self",(char *) "other", NULL
49215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49217 if (!SWIG_IsOK(res1
)) {
49218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49220 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49223 result
= (bool)wxGBSpan___ne__(arg1
,arg2
);
49224 if (PyErr_Occurred()) SWIG_fail
;
49227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49235 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49236 PyObject
*resultobj
= 0;
49237 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49238 int arg2
= (int) 1 ;
49239 int arg3
= (int) 1 ;
49246 PyObject
* obj0
= 0 ;
49247 PyObject
* obj1
= 0 ;
49248 PyObject
* obj2
= 0 ;
49249 char * kwnames
[] = {
49250 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
49253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49255 if (!SWIG_IsOK(res1
)) {
49256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49258 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49261 if (!SWIG_IsOK(ecode2
)) {
49262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
49264 arg2
= static_cast< int >(val2
);
49267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49268 if (!SWIG_IsOK(ecode3
)) {
49269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
49271 arg3
= static_cast< int >(val3
);
49274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49275 wxGBSpan_Set(arg1
,arg2
,arg3
);
49276 wxPyEndAllowThreads(__tstate
);
49277 if (PyErr_Occurred()) SWIG_fail
;
49279 resultobj
= SWIG_Py_Void();
49286 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49287 PyObject
*resultobj
= 0;
49288 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49289 PyObject
*result
= 0 ;
49292 PyObject
*swig_obj
[1] ;
49294 if (!args
) SWIG_fail
;
49295 swig_obj
[0] = args
;
49296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49297 if (!SWIG_IsOK(res1
)) {
49298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49300 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49303 result
= (PyObject
*)wxGBSpan_Get(arg1
);
49304 wxPyEndAllowThreads(__tstate
);
49305 if (PyErr_Occurred()) SWIG_fail
;
49307 resultobj
= result
;
49314 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49317 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
49318 return SWIG_Py_Void();
49321 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49322 return SWIG_Python_InitShadowInstance(args
);
49325 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
49326 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
49331 SWIGINTERN PyObject
*DefaultSpan_get(void) {
49332 PyObject
*pyobj
= 0;
49334 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
49339 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49340 PyObject
*resultobj
= 0;
49341 wxGBSizerItem
*result
= 0 ;
49343 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
49345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49346 result
= (wxGBSizerItem
*)new wxGBSizerItem();
49347 wxPyEndAllowThreads(__tstate
);
49348 if (PyErr_Occurred()) SWIG_fail
;
49350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
49357 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49358 PyObject
*resultobj
= 0;
49359 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49362 PyObject
*swig_obj
[1] ;
49364 if (!args
) SWIG_fail
;
49365 swig_obj
[0] = args
;
49366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49367 if (!SWIG_IsOK(res1
)) {
49368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49370 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49375 wxPyEndAllowThreads(__tstate
);
49376 if (PyErr_Occurred()) SWIG_fail
;
49378 resultobj
= SWIG_Py_Void();
49385 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49386 PyObject
*resultobj
= 0;
49387 wxWindow
*arg1
= (wxWindow
*) 0 ;
49388 wxGBPosition
*arg2
= 0 ;
49389 wxGBSpan
*arg3
= 0 ;
49392 PyObject
*arg6
= (PyObject
*) NULL
;
49393 wxGBSizerItem
*result
= 0 ;
49396 wxGBPosition temp2
;
49402 PyObject
* obj0
= 0 ;
49403 PyObject
* obj1
= 0 ;
49404 PyObject
* obj2
= 0 ;
49405 PyObject
* obj3
= 0 ;
49406 PyObject
* obj4
= 0 ;
49407 PyObject
* obj5
= 0 ;
49408 char * kwnames
[] = {
49409 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49414 if (!SWIG_IsOK(res1
)) {
49415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
49417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
49420 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49424 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49427 if (!SWIG_IsOK(ecode4
)) {
49428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
49430 arg4
= static_cast< int >(val4
);
49431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49432 if (!SWIG_IsOK(ecode5
)) {
49433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
49435 arg5
= static_cast< int >(val5
);
49440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49441 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49442 wxPyEndAllowThreads(__tstate
);
49443 if (PyErr_Occurred()) SWIG_fail
;
49445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49452 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49453 PyObject
*resultobj
= 0;
49454 wxSizer
*arg1
= (wxSizer
*) 0 ;
49455 wxGBPosition
*arg2
= 0 ;
49456 wxGBSpan
*arg3
= 0 ;
49459 PyObject
*arg6
= (PyObject
*) NULL
;
49460 wxGBSizerItem
*result
= 0 ;
49462 wxGBPosition temp2
;
49468 PyObject
* obj0
= 0 ;
49469 PyObject
* obj1
= 0 ;
49470 PyObject
* obj2
= 0 ;
49471 PyObject
* obj3
= 0 ;
49472 PyObject
* obj4
= 0 ;
49473 PyObject
* obj5
= 0 ;
49474 char * kwnames
[] = {
49475 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49479 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49480 if (!SWIG_IsOK(res1
)) {
49481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49485 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49489 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49492 if (!SWIG_IsOK(ecode4
)) {
49493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
49495 arg4
= static_cast< int >(val4
);
49496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49497 if (!SWIG_IsOK(ecode5
)) {
49498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
49500 arg5
= static_cast< int >(val5
);
49505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49506 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49507 wxPyEndAllowThreads(__tstate
);
49508 if (PyErr_Occurred()) SWIG_fail
;
49510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49517 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49518 PyObject
*resultobj
= 0;
49521 wxGBPosition
*arg3
= 0 ;
49522 wxGBSpan
*arg4
= 0 ;
49525 PyObject
*arg7
= (PyObject
*) NULL
;
49526 wxGBSizerItem
*result
= 0 ;
49531 wxGBPosition temp3
;
49537 PyObject
* obj0
= 0 ;
49538 PyObject
* obj1
= 0 ;
49539 PyObject
* obj2
= 0 ;
49540 PyObject
* obj3
= 0 ;
49541 PyObject
* obj4
= 0 ;
49542 PyObject
* obj5
= 0 ;
49543 PyObject
* obj6
= 0 ;
49544 char * kwnames
[] = {
49545 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49550 if (!SWIG_IsOK(ecode1
)) {
49551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
49553 arg1
= static_cast< int >(val1
);
49554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49555 if (!SWIG_IsOK(ecode2
)) {
49556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
49558 arg2
= static_cast< int >(val2
);
49561 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49565 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49567 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49568 if (!SWIG_IsOK(ecode5
)) {
49569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
49571 arg5
= static_cast< int >(val5
);
49572 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49573 if (!SWIG_IsOK(ecode6
)) {
49574 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
49576 arg6
= static_cast< int >(val6
);
49581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49582 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49583 wxPyEndAllowThreads(__tstate
);
49584 if (PyErr_Occurred()) SWIG_fail
;
49586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49593 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49594 PyObject
*resultobj
= 0;
49595 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49596 wxGBPosition result
;
49599 PyObject
*swig_obj
[1] ;
49601 if (!args
) SWIG_fail
;
49602 swig_obj
[0] = args
;
49603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49604 if (!SWIG_IsOK(res1
)) {
49605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49607 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49610 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
49611 wxPyEndAllowThreads(__tstate
);
49612 if (PyErr_Occurred()) SWIG_fail
;
49614 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49621 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49622 PyObject
*resultobj
= 0;
49623 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49627 PyObject
*swig_obj
[1] ;
49629 if (!args
) SWIG_fail
;
49630 swig_obj
[0] = args
;
49631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49632 if (!SWIG_IsOK(res1
)) {
49633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49635 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49638 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
49639 wxPyEndAllowThreads(__tstate
);
49640 if (PyErr_Occurred()) SWIG_fail
;
49642 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
49649 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49650 PyObject
*resultobj
= 0;
49651 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49652 wxGBPosition
*arg2
= 0 ;
49656 wxGBPosition temp2
;
49657 PyObject
* obj0
= 0 ;
49658 PyObject
* obj1
= 0 ;
49659 char * kwnames
[] = {
49660 (char *) "self",(char *) "pos", NULL
49663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49665 if (!SWIG_IsOK(res1
)) {
49666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49668 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49671 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49675 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
49676 wxPyEndAllowThreads(__tstate
);
49677 if (PyErr_Occurred()) SWIG_fail
;
49680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49688 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49689 PyObject
*resultobj
= 0;
49690 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49691 wxGBSpan
*arg2
= 0 ;
49696 PyObject
* obj0
= 0 ;
49697 PyObject
* obj1
= 0 ;
49698 char * kwnames
[] = {
49699 (char *) "self",(char *) "span", NULL
49702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49704 if (!SWIG_IsOK(res1
)) {
49705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49707 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49710 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49714 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
49715 wxPyEndAllowThreads(__tstate
);
49716 if (PyErr_Occurred()) SWIG_fail
;
49719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49727 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49728 PyObject
*resultobj
= 0;
49729 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49730 wxGBSizerItem
*arg2
= 0 ;
49736 PyObject
* obj0
= 0 ;
49737 PyObject
* obj1
= 0 ;
49738 char * kwnames
[] = {
49739 (char *) "self",(char *) "other", NULL
49742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49744 if (!SWIG_IsOK(res1
)) {
49745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49747 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
49749 if (!SWIG_IsOK(res2
)) {
49750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49755 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
49757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49758 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
49759 wxPyEndAllowThreads(__tstate
);
49760 if (PyErr_Occurred()) SWIG_fail
;
49763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49771 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49772 PyObject
*resultobj
= 0;
49773 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49774 wxGBPosition
*arg2
= 0 ;
49775 wxGBSpan
*arg3
= 0 ;
49779 wxGBPosition temp2
;
49781 PyObject
* obj0
= 0 ;
49782 PyObject
* obj1
= 0 ;
49783 PyObject
* obj2
= 0 ;
49784 char * kwnames
[] = {
49785 (char *) "self",(char *) "pos",(char *) "span", NULL
49788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49790 if (!SWIG_IsOK(res1
)) {
49791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49793 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49796 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49800 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49804 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
49805 wxPyEndAllowThreads(__tstate
);
49806 if (PyErr_Occurred()) SWIG_fail
;
49809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49817 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49818 PyObject
*resultobj
= 0;
49819 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49820 wxGBPosition result
;
49823 PyObject
*swig_obj
[1] ;
49825 if (!args
) SWIG_fail
;
49826 swig_obj
[0] = args
;
49827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49828 if (!SWIG_IsOK(res1
)) {
49829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49831 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49834 result
= wxGBSizerItem_GetEndPos(arg1
);
49835 wxPyEndAllowThreads(__tstate
);
49836 if (PyErr_Occurred()) SWIG_fail
;
49838 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49845 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49846 PyObject
*resultobj
= 0;
49847 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49848 wxGridBagSizer
*result
= 0 ;
49851 PyObject
*swig_obj
[1] ;
49853 if (!args
) SWIG_fail
;
49854 swig_obj
[0] = args
;
49855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49856 if (!SWIG_IsOK(res1
)) {
49857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49859 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49862 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
49863 wxPyEndAllowThreads(__tstate
);
49864 if (PyErr_Occurred()) SWIG_fail
;
49866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49873 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49874 PyObject
*resultobj
= 0;
49875 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49876 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
49881 PyObject
* obj0
= 0 ;
49882 PyObject
* obj1
= 0 ;
49883 char * kwnames
[] = {
49884 (char *) "self",(char *) "sizer", NULL
49887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49889 if (!SWIG_IsOK(res1
)) {
49890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49892 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49894 if (!SWIG_IsOK(res2
)) {
49895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
49897 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
49899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49900 (arg1
)->SetGBSizer(arg2
);
49901 wxPyEndAllowThreads(__tstate
);
49902 if (PyErr_Occurred()) SWIG_fail
;
49904 resultobj
= SWIG_Py_Void();
49911 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49914 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
49915 return SWIG_Py_Void();
49918 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49919 return SWIG_Python_InitShadowInstance(args
);
49922 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49923 PyObject
*resultobj
= 0;
49924 int arg1
= (int) 0 ;
49925 int arg2
= (int) 0 ;
49926 wxGridBagSizer
*result
= 0 ;
49931 PyObject
* obj0
= 0 ;
49932 PyObject
* obj1
= 0 ;
49933 char * kwnames
[] = {
49934 (char *) "vgap",(char *) "hgap", NULL
49937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49939 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49940 if (!SWIG_IsOK(ecode1
)) {
49941 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
49943 arg1
= static_cast< int >(val1
);
49946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49947 if (!SWIG_IsOK(ecode2
)) {
49948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
49950 arg2
= static_cast< int >(val2
);
49953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49954 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
49955 wxPyEndAllowThreads(__tstate
);
49956 if (PyErr_Occurred()) SWIG_fail
;
49958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
49965 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49966 PyObject
*resultobj
= 0;
49967 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49968 PyObject
*arg2
= (PyObject
*) 0 ;
49969 wxGBPosition
*arg3
= 0 ;
49970 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
49971 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
49972 int arg5
= (int) 0 ;
49973 int arg6
= (int) 0 ;
49974 PyObject
*arg7
= (PyObject
*) NULL
;
49975 wxGBSizerItem
*result
= 0 ;
49978 wxGBPosition temp3
;
49984 PyObject
* obj0
= 0 ;
49985 PyObject
* obj1
= 0 ;
49986 PyObject
* obj2
= 0 ;
49987 PyObject
* obj3
= 0 ;
49988 PyObject
* obj4
= 0 ;
49989 PyObject
* obj5
= 0 ;
49990 PyObject
* obj6
= 0 ;
49991 char * kwnames
[] = {
49992 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49997 if (!SWIG_IsOK(res1
)) {
49998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50000 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50004 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
50009 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
50013 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
50014 if (!SWIG_IsOK(ecode5
)) {
50015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
50017 arg5
= static_cast< int >(val5
);
50020 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
50021 if (!SWIG_IsOK(ecode6
)) {
50022 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
50024 arg6
= static_cast< int >(val6
);
50030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50031 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
50032 wxPyEndAllowThreads(__tstate
);
50033 if (PyErr_Occurred()) SWIG_fail
;
50035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50042 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50043 PyObject
*resultobj
= 0;
50044 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50045 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
50046 wxGBSizerItem
*result
= 0 ;
50050 PyObject
* obj0
= 0 ;
50051 PyObject
* obj1
= 0 ;
50052 char * kwnames
[] = {
50053 (char *) "self",(char *) "item", NULL
50056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50058 if (!SWIG_IsOK(res1
)) {
50059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50061 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50062 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50063 if (!SWIG_IsOK(res2
)) {
50064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
50067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50068 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
50069 wxPyEndAllowThreads(__tstate
);
50070 if (PyErr_Occurred()) SWIG_fail
;
50072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50079 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50080 PyObject
*resultobj
= 0;
50081 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50091 PyObject
* obj0
= 0 ;
50092 PyObject
* obj1
= 0 ;
50093 PyObject
* obj2
= 0 ;
50094 char * kwnames
[] = {
50095 (char *) "self",(char *) "row",(char *) "col", NULL
50098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50100 if (!SWIG_IsOK(res1
)) {
50101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50103 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50105 if (!SWIG_IsOK(ecode2
)) {
50106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
50108 arg2
= static_cast< int >(val2
);
50109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50110 if (!SWIG_IsOK(ecode3
)) {
50111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
50113 arg3
= static_cast< int >(val3
);
50115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50116 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
50117 wxPyEndAllowThreads(__tstate
);
50118 if (PyErr_Occurred()) SWIG_fail
;
50120 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50127 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50128 PyObject
*resultobj
= 0;
50129 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50133 PyObject
*swig_obj
[1] ;
50135 if (!args
) SWIG_fail
;
50136 swig_obj
[0] = args
;
50137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50138 if (!SWIG_IsOK(res1
)) {
50139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50141 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50144 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
50145 wxPyEndAllowThreads(__tstate
);
50146 if (PyErr_Occurred()) SWIG_fail
;
50148 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50155 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50156 PyObject
*resultobj
= 0;
50157 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50162 PyObject
* obj0
= 0 ;
50163 PyObject
* obj1
= 0 ;
50164 char * kwnames
[] = {
50165 (char *) "self",(char *) "sz", NULL
50168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50170 if (!SWIG_IsOK(res1
)) {
50171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50173 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50180 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
50181 wxPyEndAllowThreads(__tstate
);
50182 if (PyErr_Occurred()) SWIG_fail
;
50184 resultobj
= SWIG_Py_Void();
50191 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50192 PyObject
*resultobj
= 0;
50193 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50194 wxWindow
*arg2
= (wxWindow
*) 0 ;
50195 wxGBPosition result
;
50201 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50203 if (!SWIG_IsOK(res1
)) {
50204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50206 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50207 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50208 if (!SWIG_IsOK(res2
)) {
50209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50214 result
= (arg1
)->GetItemPosition(arg2
);
50215 wxPyEndAllowThreads(__tstate
);
50216 if (PyErr_Occurred()) SWIG_fail
;
50218 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50225 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50226 PyObject
*resultobj
= 0;
50227 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50228 wxSizer
*arg2
= (wxSizer
*) 0 ;
50229 wxGBPosition result
;
50235 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50237 if (!SWIG_IsOK(res1
)) {
50238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50240 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50241 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50242 if (!SWIG_IsOK(res2
)) {
50243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50245 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50248 result
= (arg1
)->GetItemPosition(arg2
);
50249 wxPyEndAllowThreads(__tstate
);
50250 if (PyErr_Occurred()) SWIG_fail
;
50252 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50259 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50260 PyObject
*resultobj
= 0;
50261 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50263 wxGBPosition result
;
50269 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50271 if (!SWIG_IsOK(res1
)) {
50272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50274 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50275 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50276 if (!SWIG_IsOK(ecode2
)) {
50277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50279 arg2
= static_cast< size_t >(val2
);
50281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50282 result
= (arg1
)->GetItemPosition(arg2
);
50283 wxPyEndAllowThreads(__tstate
);
50284 if (PyErr_Occurred()) SWIG_fail
;
50286 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50293 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
50297 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
50303 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50304 _v
= SWIG_CheckState(res
);
50306 if (!_v
) goto check_1
;
50307 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
50315 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50316 _v
= SWIG_CheckState(res
);
50318 if (!_v
) goto check_2
;
50319 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
50324 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
50328 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
50333 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50334 PyObject
*resultobj
= 0;
50335 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50336 wxWindow
*arg2
= (wxWindow
*) 0 ;
50337 wxGBPosition
*arg3
= 0 ;
50343 wxGBPosition temp3
;
50345 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50347 if (!SWIG_IsOK(res1
)) {
50348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50350 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50351 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50352 if (!SWIG_IsOK(res2
)) {
50353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50355 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50358 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50362 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50363 wxPyEndAllowThreads(__tstate
);
50364 if (PyErr_Occurred()) SWIG_fail
;
50367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50375 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50376 PyObject
*resultobj
= 0;
50377 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50378 wxSizer
*arg2
= (wxSizer
*) 0 ;
50379 wxGBPosition
*arg3
= 0 ;
50385 wxGBPosition temp3
;
50387 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50389 if (!SWIG_IsOK(res1
)) {
50390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50392 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50393 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50394 if (!SWIG_IsOK(res2
)) {
50395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50397 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50400 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50404 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50405 wxPyEndAllowThreads(__tstate
);
50406 if (PyErr_Occurred()) SWIG_fail
;
50409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50417 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50418 PyObject
*resultobj
= 0;
50419 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50421 wxGBPosition
*arg3
= 0 ;
50427 wxGBPosition temp3
;
50429 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50431 if (!SWIG_IsOK(res1
)) {
50432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50434 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50435 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50436 if (!SWIG_IsOK(ecode2
)) {
50437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50439 arg2
= static_cast< size_t >(val2
);
50442 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50446 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50447 wxPyEndAllowThreads(__tstate
);
50448 if (PyErr_Occurred()) SWIG_fail
;
50451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50459 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
50463 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
50469 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50470 _v
= SWIG_CheckState(res
);
50472 if (!_v
) goto check_1
;
50473 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
50481 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50482 _v
= SWIG_CheckState(res
);
50484 if (!_v
) goto check_2
;
50485 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
50490 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
50494 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
50499 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50500 PyObject
*resultobj
= 0;
50501 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50502 wxWindow
*arg2
= (wxWindow
*) 0 ;
50509 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50511 if (!SWIG_IsOK(res1
)) {
50512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50514 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50515 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50516 if (!SWIG_IsOK(res2
)) {
50517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50519 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50522 result
= (arg1
)->GetItemSpan(arg2
);
50523 wxPyEndAllowThreads(__tstate
);
50524 if (PyErr_Occurred()) SWIG_fail
;
50526 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50533 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50534 PyObject
*resultobj
= 0;
50535 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50536 wxSizer
*arg2
= (wxSizer
*) 0 ;
50543 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50545 if (!SWIG_IsOK(res1
)) {
50546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50548 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50549 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50550 if (!SWIG_IsOK(res2
)) {
50551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50553 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50556 result
= (arg1
)->GetItemSpan(arg2
);
50557 wxPyEndAllowThreads(__tstate
);
50558 if (PyErr_Occurred()) SWIG_fail
;
50560 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50567 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50568 PyObject
*resultobj
= 0;
50569 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50577 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50579 if (!SWIG_IsOK(res1
)) {
50580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50582 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50583 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50584 if (!SWIG_IsOK(ecode2
)) {
50585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50587 arg2
= static_cast< size_t >(val2
);
50589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50590 result
= (arg1
)->GetItemSpan(arg2
);
50591 wxPyEndAllowThreads(__tstate
);
50592 if (PyErr_Occurred()) SWIG_fail
;
50594 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50601 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
50605 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
50611 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50612 _v
= SWIG_CheckState(res
);
50614 if (!_v
) goto check_1
;
50615 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
50623 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50624 _v
= SWIG_CheckState(res
);
50626 if (!_v
) goto check_2
;
50627 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
50632 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
50636 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
50641 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50642 PyObject
*resultobj
= 0;
50643 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50644 wxWindow
*arg2
= (wxWindow
*) 0 ;
50645 wxGBSpan
*arg3
= 0 ;
50653 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50655 if (!SWIG_IsOK(res1
)) {
50656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50658 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50659 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50660 if (!SWIG_IsOK(res2
)) {
50661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50666 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50670 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50671 wxPyEndAllowThreads(__tstate
);
50672 if (PyErr_Occurred()) SWIG_fail
;
50675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50683 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50684 PyObject
*resultobj
= 0;
50685 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50686 wxSizer
*arg2
= (wxSizer
*) 0 ;
50687 wxGBSpan
*arg3
= 0 ;
50695 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50697 if (!SWIG_IsOK(res1
)) {
50698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50700 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50701 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50702 if (!SWIG_IsOK(res2
)) {
50703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50705 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50708 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50712 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50713 wxPyEndAllowThreads(__tstate
);
50714 if (PyErr_Occurred()) SWIG_fail
;
50717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50725 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50726 PyObject
*resultobj
= 0;
50727 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50729 wxGBSpan
*arg3
= 0 ;
50737 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50739 if (!SWIG_IsOK(res1
)) {
50740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50742 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50743 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50744 if (!SWIG_IsOK(ecode2
)) {
50745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50747 arg2
= static_cast< size_t >(val2
);
50750 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50754 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50755 wxPyEndAllowThreads(__tstate
);
50756 if (PyErr_Occurred()) SWIG_fail
;
50759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50767 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
50771 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
50777 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50778 _v
= SWIG_CheckState(res
);
50780 if (!_v
) goto check_1
;
50781 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
50789 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50790 _v
= SWIG_CheckState(res
);
50792 if (!_v
) goto check_2
;
50793 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
50798 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
50802 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
50807 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50808 PyObject
*resultobj
= 0;
50809 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50810 wxWindow
*arg2
= (wxWindow
*) 0 ;
50811 wxGBSizerItem
*result
= 0 ;
50817 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50819 if (!SWIG_IsOK(res1
)) {
50820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50822 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50823 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50824 if (!SWIG_IsOK(res2
)) {
50825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
50827 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50830 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50831 wxPyEndAllowThreads(__tstate
);
50832 if (PyErr_Occurred()) SWIG_fail
;
50834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50841 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50842 PyObject
*resultobj
= 0;
50843 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50844 wxSizer
*arg2
= (wxSizer
*) 0 ;
50845 wxGBSizerItem
*result
= 0 ;
50851 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50853 if (!SWIG_IsOK(res1
)) {
50854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50856 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50857 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50858 if (!SWIG_IsOK(res2
)) {
50859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
50861 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50864 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50865 wxPyEndAllowThreads(__tstate
);
50866 if (PyErr_Occurred()) SWIG_fail
;
50868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50875 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
50879 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
50885 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50886 _v
= SWIG_CheckState(res
);
50888 if (!_v
) goto check_1
;
50889 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
50894 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
50898 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
50903 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50904 PyObject
*resultobj
= 0;
50905 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50906 wxGBPosition
*arg2
= 0 ;
50907 wxGBSizerItem
*result
= 0 ;
50910 wxGBPosition temp2
;
50911 PyObject
* obj0
= 0 ;
50912 PyObject
* obj1
= 0 ;
50913 char * kwnames
[] = {
50914 (char *) "self",(char *) "pos", NULL
50917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50919 if (!SWIG_IsOK(res1
)) {
50920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50922 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50925 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50929 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
50930 wxPyEndAllowThreads(__tstate
);
50931 if (PyErr_Occurred()) SWIG_fail
;
50933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50940 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50941 PyObject
*resultobj
= 0;
50942 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50943 wxPoint
*arg2
= 0 ;
50944 wxGBSizerItem
*result
= 0 ;
50948 PyObject
* obj0
= 0 ;
50949 PyObject
* obj1
= 0 ;
50950 char * kwnames
[] = {
50951 (char *) "self",(char *) "pt", NULL
50954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50956 if (!SWIG_IsOK(res1
)) {
50957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50959 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
50965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50966 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
50967 wxPyEndAllowThreads(__tstate
);
50968 if (PyErr_Occurred()) SWIG_fail
;
50970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50977 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50978 PyObject
*resultobj
= 0;
50979 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50980 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
50981 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
50989 PyObject
* obj0
= 0 ;
50990 PyObject
* obj1
= 0 ;
50991 PyObject
* obj2
= 0 ;
50992 char * kwnames
[] = {
50993 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
50996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50998 if (!SWIG_IsOK(res1
)) {
50999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51001 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51003 if (!SWIG_IsOK(res2
)) {
51004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
51006 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
51008 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51009 if (!SWIG_IsOK(res3
)) {
51010 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
51012 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
51015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51016 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
51017 wxPyEndAllowThreads(__tstate
);
51018 if (PyErr_Occurred()) SWIG_fail
;
51021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51029 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51030 PyObject
*resultobj
= 0;
51031 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51032 wxGBPosition
*arg2
= 0 ;
51033 wxGBSpan
*arg3
= 0 ;
51034 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
51038 wxGBPosition temp2
;
51042 PyObject
* obj0
= 0 ;
51043 PyObject
* obj1
= 0 ;
51044 PyObject
* obj2
= 0 ;
51045 PyObject
* obj3
= 0 ;
51046 char * kwnames
[] = {
51047 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
51050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51052 if (!SWIG_IsOK(res1
)) {
51053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51055 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51058 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51062 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51065 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51066 if (!SWIG_IsOK(res4
)) {
51067 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
51069 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
51072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51073 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
51074 wxPyEndAllowThreads(__tstate
);
51075 if (PyErr_Occurred()) SWIG_fail
;
51078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51086 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51089 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
51090 return SWIG_Py_Void();
51093 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51094 return SWIG_Python_InitShadowInstance(args
);
51097 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51098 PyObject
*resultobj
= 0;
51099 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51100 wxRelationship arg2
;
51101 wxWindow
*arg3
= (wxWindow
*) 0 ;
51103 int arg5
= (int) 0 ;
51104 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
51117 PyObject
* obj0
= 0 ;
51118 PyObject
* obj1
= 0 ;
51119 PyObject
* obj2
= 0 ;
51120 PyObject
* obj3
= 0 ;
51121 PyObject
* obj4
= 0 ;
51122 PyObject
* obj5
= 0 ;
51123 char * kwnames
[] = {
51124 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
51127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51129 if (!SWIG_IsOK(res1
)) {
51130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51132 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51134 if (!SWIG_IsOK(ecode2
)) {
51135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
51137 arg2
= static_cast< wxRelationship
>(val2
);
51138 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51139 if (!SWIG_IsOK(res3
)) {
51140 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
51142 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51143 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51144 if (!SWIG_IsOK(ecode4
)) {
51145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
51147 arg4
= static_cast< wxEdge
>(val4
);
51149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51150 if (!SWIG_IsOK(ecode5
)) {
51151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
51153 arg5
= static_cast< int >(val5
);
51156 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51157 if (!SWIG_IsOK(ecode6
)) {
51158 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
51160 arg6
= static_cast< int >(val6
);
51163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51164 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
51165 wxPyEndAllowThreads(__tstate
);
51166 if (PyErr_Occurred()) SWIG_fail
;
51168 resultobj
= SWIG_Py_Void();
51175 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51176 PyObject
*resultobj
= 0;
51177 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51178 wxWindow
*arg2
= (wxWindow
*) 0 ;
51179 int arg3
= (int) 0 ;
51186 PyObject
* obj0
= 0 ;
51187 PyObject
* obj1
= 0 ;
51188 PyObject
* obj2
= 0 ;
51189 char * kwnames
[] = {
51190 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51195 if (!SWIG_IsOK(res1
)) {
51196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51198 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51200 if (!SWIG_IsOK(res2
)) {
51201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51203 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51206 if (!SWIG_IsOK(ecode3
)) {
51207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
51209 arg3
= static_cast< int >(val3
);
51212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51213 (arg1
)->LeftOf(arg2
,arg3
);
51214 wxPyEndAllowThreads(__tstate
);
51215 if (PyErr_Occurred()) SWIG_fail
;
51217 resultobj
= SWIG_Py_Void();
51224 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51225 PyObject
*resultobj
= 0;
51226 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51227 wxWindow
*arg2
= (wxWindow
*) 0 ;
51228 int arg3
= (int) 0 ;
51235 PyObject
* obj0
= 0 ;
51236 PyObject
* obj1
= 0 ;
51237 PyObject
* obj2
= 0 ;
51238 char * kwnames
[] = {
51239 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51244 if (!SWIG_IsOK(res1
)) {
51245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51247 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51249 if (!SWIG_IsOK(res2
)) {
51250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51255 if (!SWIG_IsOK(ecode3
)) {
51256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
51258 arg3
= static_cast< int >(val3
);
51261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51262 (arg1
)->RightOf(arg2
,arg3
);
51263 wxPyEndAllowThreads(__tstate
);
51264 if (PyErr_Occurred()) SWIG_fail
;
51266 resultobj
= SWIG_Py_Void();
51273 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51274 PyObject
*resultobj
= 0;
51275 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51276 wxWindow
*arg2
= (wxWindow
*) 0 ;
51277 int arg3
= (int) 0 ;
51284 PyObject
* obj0
= 0 ;
51285 PyObject
* obj1
= 0 ;
51286 PyObject
* obj2
= 0 ;
51287 char * kwnames
[] = {
51288 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51293 if (!SWIG_IsOK(res1
)) {
51294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51296 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51298 if (!SWIG_IsOK(res2
)) {
51299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
51301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51304 if (!SWIG_IsOK(ecode3
)) {
51305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
51307 arg3
= static_cast< int >(val3
);
51310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51311 (arg1
)->Above(arg2
,arg3
);
51312 wxPyEndAllowThreads(__tstate
);
51313 if (PyErr_Occurred()) SWIG_fail
;
51315 resultobj
= SWIG_Py_Void();
51322 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51323 PyObject
*resultobj
= 0;
51324 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51325 wxWindow
*arg2
= (wxWindow
*) 0 ;
51326 int arg3
= (int) 0 ;
51333 PyObject
* obj0
= 0 ;
51334 PyObject
* obj1
= 0 ;
51335 PyObject
* obj2
= 0 ;
51336 char * kwnames
[] = {
51337 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51342 if (!SWIG_IsOK(res1
)) {
51343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51345 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51347 if (!SWIG_IsOK(res2
)) {
51348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
51350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51353 if (!SWIG_IsOK(ecode3
)) {
51354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
51356 arg3
= static_cast< int >(val3
);
51359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51360 (arg1
)->Below(arg2
,arg3
);
51361 wxPyEndAllowThreads(__tstate
);
51362 if (PyErr_Occurred()) SWIG_fail
;
51364 resultobj
= SWIG_Py_Void();
51371 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51372 PyObject
*resultobj
= 0;
51373 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51374 wxWindow
*arg2
= (wxWindow
*) 0 ;
51376 int arg4
= (int) 0 ;
51385 PyObject
* obj0
= 0 ;
51386 PyObject
* obj1
= 0 ;
51387 PyObject
* obj2
= 0 ;
51388 PyObject
* obj3
= 0 ;
51389 char * kwnames
[] = {
51390 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
51393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51395 if (!SWIG_IsOK(res1
)) {
51396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51398 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51400 if (!SWIG_IsOK(res2
)) {
51401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
51403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51405 if (!SWIG_IsOK(ecode3
)) {
51406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
51408 arg3
= static_cast< wxEdge
>(val3
);
51410 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51411 if (!SWIG_IsOK(ecode4
)) {
51412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
51414 arg4
= static_cast< int >(val4
);
51417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51418 (arg1
)->SameAs(arg2
,arg3
,arg4
);
51419 wxPyEndAllowThreads(__tstate
);
51420 if (PyErr_Occurred()) SWIG_fail
;
51422 resultobj
= SWIG_Py_Void();
51429 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51430 PyObject
*resultobj
= 0;
51431 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51432 wxWindow
*arg2
= (wxWindow
*) 0 ;
51443 PyObject
* obj0
= 0 ;
51444 PyObject
* obj1
= 0 ;
51445 PyObject
* obj2
= 0 ;
51446 PyObject
* obj3
= 0 ;
51447 char * kwnames
[] = {
51448 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
51451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51453 if (!SWIG_IsOK(res1
)) {
51454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51456 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51458 if (!SWIG_IsOK(res2
)) {
51459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51461 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51463 if (!SWIG_IsOK(ecode3
)) {
51464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
51466 arg3
= static_cast< wxEdge
>(val3
);
51467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51468 if (!SWIG_IsOK(ecode4
)) {
51469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
51471 arg4
= static_cast< int >(val4
);
51473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51474 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
51475 wxPyEndAllowThreads(__tstate
);
51476 if (PyErr_Occurred()) SWIG_fail
;
51478 resultobj
= SWIG_Py_Void();
51485 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51486 PyObject
*resultobj
= 0;
51487 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51493 PyObject
* obj0
= 0 ;
51494 PyObject
* obj1
= 0 ;
51495 char * kwnames
[] = {
51496 (char *) "self",(char *) "val", NULL
51499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51501 if (!SWIG_IsOK(res1
)) {
51502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51504 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51506 if (!SWIG_IsOK(ecode2
)) {
51507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
51509 arg2
= static_cast< int >(val2
);
51511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51512 (arg1
)->Absolute(arg2
);
51513 wxPyEndAllowThreads(__tstate
);
51514 if (PyErr_Occurred()) SWIG_fail
;
51516 resultobj
= SWIG_Py_Void();
51523 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51524 PyObject
*resultobj
= 0;
51525 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51528 PyObject
*swig_obj
[1] ;
51530 if (!args
) SWIG_fail
;
51531 swig_obj
[0] = args
;
51532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51533 if (!SWIG_IsOK(res1
)) {
51534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51536 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51539 (arg1
)->Unconstrained();
51540 wxPyEndAllowThreads(__tstate
);
51541 if (PyErr_Occurred()) SWIG_fail
;
51543 resultobj
= SWIG_Py_Void();
51550 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51551 PyObject
*resultobj
= 0;
51552 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51555 PyObject
*swig_obj
[1] ;
51557 if (!args
) SWIG_fail
;
51558 swig_obj
[0] = args
;
51559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51560 if (!SWIG_IsOK(res1
)) {
51561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51563 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51567 wxPyEndAllowThreads(__tstate
);
51568 if (PyErr_Occurred()) SWIG_fail
;
51570 resultobj
= SWIG_Py_Void();
51577 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51578 PyObject
*resultobj
= 0;
51579 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51580 wxWindow
*result
= 0 ;
51583 PyObject
*swig_obj
[1] ;
51585 if (!args
) SWIG_fail
;
51586 swig_obj
[0] = args
;
51587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51588 if (!SWIG_IsOK(res1
)) {
51589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51591 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51594 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
51595 wxPyEndAllowThreads(__tstate
);
51596 if (PyErr_Occurred()) SWIG_fail
;
51599 resultobj
= wxPyMake_wxObject(result
, 0);
51607 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51608 PyObject
*resultobj
= 0;
51609 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51613 PyObject
*swig_obj
[1] ;
51615 if (!args
) SWIG_fail
;
51616 swig_obj
[0] = args
;
51617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51618 if (!SWIG_IsOK(res1
)) {
51619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51621 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51624 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
51625 wxPyEndAllowThreads(__tstate
);
51626 if (PyErr_Occurred()) SWIG_fail
;
51628 resultobj
= SWIG_From_int(static_cast< int >(result
));
51635 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51636 PyObject
*resultobj
= 0;
51637 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51643 PyObject
* obj0
= 0 ;
51644 PyObject
* obj1
= 0 ;
51645 char * kwnames
[] = {
51646 (char *) "self",(char *) "which", NULL
51649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51651 if (!SWIG_IsOK(res1
)) {
51652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51654 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51656 if (!SWIG_IsOK(ecode2
)) {
51657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
51659 arg2
= static_cast< wxEdge
>(val2
);
51661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51662 (arg1
)->SetEdge(arg2
);
51663 wxPyEndAllowThreads(__tstate
);
51664 if (PyErr_Occurred()) SWIG_fail
;
51666 resultobj
= SWIG_Py_Void();
51673 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51674 PyObject
*resultobj
= 0;
51675 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51681 PyObject
* obj0
= 0 ;
51682 PyObject
* obj1
= 0 ;
51683 char * kwnames
[] = {
51684 (char *) "self",(char *) "v", NULL
51687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51689 if (!SWIG_IsOK(res1
)) {
51690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51692 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51694 if (!SWIG_IsOK(ecode2
)) {
51695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
51697 arg2
= static_cast< int >(val2
);
51699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51700 (arg1
)->SetValue(arg2
);
51701 wxPyEndAllowThreads(__tstate
);
51702 if (PyErr_Occurred()) SWIG_fail
;
51704 resultobj
= SWIG_Py_Void();
51711 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51712 PyObject
*resultobj
= 0;
51713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51717 PyObject
*swig_obj
[1] ;
51719 if (!args
) SWIG_fail
;
51720 swig_obj
[0] = args
;
51721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51722 if (!SWIG_IsOK(res1
)) {
51723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51725 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51728 result
= (int)(arg1
)->GetMargin();
51729 wxPyEndAllowThreads(__tstate
);
51730 if (PyErr_Occurred()) SWIG_fail
;
51732 resultobj
= SWIG_From_int(static_cast< int >(result
));
51739 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51740 PyObject
*resultobj
= 0;
51741 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51747 PyObject
* obj0
= 0 ;
51748 PyObject
* obj1
= 0 ;
51749 char * kwnames
[] = {
51750 (char *) "self",(char *) "m", NULL
51753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51755 if (!SWIG_IsOK(res1
)) {
51756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51758 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51760 if (!SWIG_IsOK(ecode2
)) {
51761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
51763 arg2
= static_cast< int >(val2
);
51765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51766 (arg1
)->SetMargin(arg2
);
51767 wxPyEndAllowThreads(__tstate
);
51768 if (PyErr_Occurred()) SWIG_fail
;
51770 resultobj
= SWIG_Py_Void();
51777 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51778 PyObject
*resultobj
= 0;
51779 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51783 PyObject
*swig_obj
[1] ;
51785 if (!args
) SWIG_fail
;
51786 swig_obj
[0] = args
;
51787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51788 if (!SWIG_IsOK(res1
)) {
51789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51791 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51794 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
51795 wxPyEndAllowThreads(__tstate
);
51796 if (PyErr_Occurred()) SWIG_fail
;
51798 resultobj
= SWIG_From_int(static_cast< int >(result
));
51805 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51806 PyObject
*resultobj
= 0;
51807 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51811 PyObject
*swig_obj
[1] ;
51813 if (!args
) SWIG_fail
;
51814 swig_obj
[0] = args
;
51815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51816 if (!SWIG_IsOK(res1
)) {
51817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51819 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51822 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
51823 wxPyEndAllowThreads(__tstate
);
51824 if (PyErr_Occurred()) SWIG_fail
;
51826 resultobj
= SWIG_From_int(static_cast< int >(result
));
51833 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51834 PyObject
*resultobj
= 0;
51835 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51839 PyObject
*swig_obj
[1] ;
51841 if (!args
) SWIG_fail
;
51842 swig_obj
[0] = args
;
51843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51844 if (!SWIG_IsOK(res1
)) {
51845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51847 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51850 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
51851 wxPyEndAllowThreads(__tstate
);
51852 if (PyErr_Occurred()) SWIG_fail
;
51854 resultobj
= SWIG_From_int(static_cast< int >(result
));
51861 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51862 PyObject
*resultobj
= 0;
51863 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51867 PyObject
*swig_obj
[1] ;
51869 if (!args
) SWIG_fail
;
51870 swig_obj
[0] = args
;
51871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51872 if (!SWIG_IsOK(res1
)) {
51873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51875 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51878 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
51879 wxPyEndAllowThreads(__tstate
);
51880 if (PyErr_Occurred()) SWIG_fail
;
51883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51891 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51892 PyObject
*resultobj
= 0;
51893 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51899 PyObject
* obj0
= 0 ;
51900 PyObject
* obj1
= 0 ;
51901 char * kwnames
[] = {
51902 (char *) "self",(char *) "d", NULL
51905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51907 if (!SWIG_IsOK(res1
)) {
51908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51910 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51911 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
51912 if (!SWIG_IsOK(ecode2
)) {
51913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
51915 arg2
= static_cast< bool >(val2
);
51917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51918 (arg1
)->SetDone(arg2
);
51919 wxPyEndAllowThreads(__tstate
);
51920 if (PyErr_Occurred()) SWIG_fail
;
51922 resultobj
= SWIG_Py_Void();
51929 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51930 PyObject
*resultobj
= 0;
51931 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51932 wxRelationship result
;
51935 PyObject
*swig_obj
[1] ;
51937 if (!args
) SWIG_fail
;
51938 swig_obj
[0] = args
;
51939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51940 if (!SWIG_IsOK(res1
)) {
51941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51943 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51946 result
= (wxRelationship
)(arg1
)->GetRelationship();
51947 wxPyEndAllowThreads(__tstate
);
51948 if (PyErr_Occurred()) SWIG_fail
;
51950 resultobj
= SWIG_From_int(static_cast< int >(result
));
51957 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51958 PyObject
*resultobj
= 0;
51959 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51960 wxRelationship arg2
;
51965 PyObject
* obj0
= 0 ;
51966 PyObject
* obj1
= 0 ;
51967 char * kwnames
[] = {
51968 (char *) "self",(char *) "r", NULL
51971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51973 if (!SWIG_IsOK(res1
)) {
51974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51976 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51978 if (!SWIG_IsOK(ecode2
)) {
51979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
51981 arg2
= static_cast< wxRelationship
>(val2
);
51983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51984 (arg1
)->SetRelationship(arg2
);
51985 wxPyEndAllowThreads(__tstate
);
51986 if (PyErr_Occurred()) SWIG_fail
;
51988 resultobj
= SWIG_Py_Void();
51995 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51996 PyObject
*resultobj
= 0;
51997 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51998 wxWindow
*arg2
= (wxWindow
*) 0 ;
52004 PyObject
* obj0
= 0 ;
52005 PyObject
* obj1
= 0 ;
52006 char * kwnames
[] = {
52007 (char *) "self",(char *) "otherW", NULL
52010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52012 if (!SWIG_IsOK(res1
)) {
52013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52015 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52017 if (!SWIG_IsOK(res2
)) {
52018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
52020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52023 result
= (bool)(arg1
)->ResetIfWin(arg2
);
52024 wxPyEndAllowThreads(__tstate
);
52025 if (PyErr_Occurred()) SWIG_fail
;
52028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52036 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52037 PyObject
*resultobj
= 0;
52038 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52039 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
52040 wxWindow
*arg3
= (wxWindow
*) 0 ;
52048 PyObject
* obj0
= 0 ;
52049 PyObject
* obj1
= 0 ;
52050 PyObject
* obj2
= 0 ;
52051 char * kwnames
[] = {
52052 (char *) "self",(char *) "constraints",(char *) "win", NULL
52055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52057 if (!SWIG_IsOK(res1
)) {
52058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52060 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52062 if (!SWIG_IsOK(res2
)) {
52063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
52065 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
52066 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52067 if (!SWIG_IsOK(res3
)) {
52068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
52070 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52073 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
52074 wxPyEndAllowThreads(__tstate
);
52075 if (PyErr_Occurred()) SWIG_fail
;
52078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52086 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52087 PyObject
*resultobj
= 0;
52088 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52090 wxWindow
*arg3
= (wxWindow
*) 0 ;
52091 wxWindow
*arg4
= (wxWindow
*) 0 ;
52101 PyObject
* obj0
= 0 ;
52102 PyObject
* obj1
= 0 ;
52103 PyObject
* obj2
= 0 ;
52104 PyObject
* obj3
= 0 ;
52105 char * kwnames
[] = {
52106 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
52109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
52110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52111 if (!SWIG_IsOK(res1
)) {
52112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
52114 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52116 if (!SWIG_IsOK(ecode2
)) {
52117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
52119 arg2
= static_cast< wxEdge
>(val2
);
52120 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52121 if (!SWIG_IsOK(res3
)) {
52122 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
52124 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52125 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52126 if (!SWIG_IsOK(res4
)) {
52127 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
52129 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
52131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52132 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
52133 wxPyEndAllowThreads(__tstate
);
52134 if (PyErr_Occurred()) SWIG_fail
;
52136 resultobj
= SWIG_From_int(static_cast< int >(result
));
52143 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52146 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
52147 return SWIG_Py_Void();
52150 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52151 PyObject
*resultobj
= 0;
52152 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52153 wxIndividualLayoutConstraint
*result
= 0 ;
52156 PyObject
*swig_obj
[1] ;
52158 if (!args
) SWIG_fail
;
52159 swig_obj
[0] = args
;
52160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52161 if (!SWIG_IsOK(res1
)) {
52162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52164 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52165 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
52166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52173 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52174 PyObject
*resultobj
= 0;
52175 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52176 wxIndividualLayoutConstraint
*result
= 0 ;
52179 PyObject
*swig_obj
[1] ;
52181 if (!args
) SWIG_fail
;
52182 swig_obj
[0] = args
;
52183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52184 if (!SWIG_IsOK(res1
)) {
52185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52187 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52188 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
52189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52196 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52197 PyObject
*resultobj
= 0;
52198 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52199 wxIndividualLayoutConstraint
*result
= 0 ;
52202 PyObject
*swig_obj
[1] ;
52204 if (!args
) SWIG_fail
;
52205 swig_obj
[0] = args
;
52206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52207 if (!SWIG_IsOK(res1
)) {
52208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52210 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52211 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
52212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52219 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52220 PyObject
*resultobj
= 0;
52221 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52222 wxIndividualLayoutConstraint
*result
= 0 ;
52225 PyObject
*swig_obj
[1] ;
52227 if (!args
) SWIG_fail
;
52228 swig_obj
[0] = args
;
52229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52230 if (!SWIG_IsOK(res1
)) {
52231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52233 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52234 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
52235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52242 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52243 PyObject
*resultobj
= 0;
52244 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52245 wxIndividualLayoutConstraint
*result
= 0 ;
52248 PyObject
*swig_obj
[1] ;
52250 if (!args
) SWIG_fail
;
52251 swig_obj
[0] = args
;
52252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52253 if (!SWIG_IsOK(res1
)) {
52254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52256 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52257 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
52258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52265 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52266 PyObject
*resultobj
= 0;
52267 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52268 wxIndividualLayoutConstraint
*result
= 0 ;
52271 PyObject
*swig_obj
[1] ;
52273 if (!args
) SWIG_fail
;
52274 swig_obj
[0] = args
;
52275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52276 if (!SWIG_IsOK(res1
)) {
52277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52279 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52280 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
52281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52288 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52289 PyObject
*resultobj
= 0;
52290 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52291 wxIndividualLayoutConstraint
*result
= 0 ;
52294 PyObject
*swig_obj
[1] ;
52296 if (!args
) SWIG_fail
;
52297 swig_obj
[0] = args
;
52298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52299 if (!SWIG_IsOK(res1
)) {
52300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52302 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52303 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
52304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52311 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52312 PyObject
*resultobj
= 0;
52313 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52314 wxIndividualLayoutConstraint
*result
= 0 ;
52317 PyObject
*swig_obj
[1] ;
52319 if (!args
) SWIG_fail
;
52320 swig_obj
[0] = args
;
52321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52322 if (!SWIG_IsOK(res1
)) {
52323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52325 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52326 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
52327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52334 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52335 PyObject
*resultobj
= 0;
52336 wxLayoutConstraints
*result
= 0 ;
52338 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
52340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52341 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
52342 wxPyEndAllowThreads(__tstate
);
52343 if (PyErr_Occurred()) SWIG_fail
;
52345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
52352 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52353 PyObject
*resultobj
= 0;
52354 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52357 PyObject
*swig_obj
[1] ;
52359 if (!args
) SWIG_fail
;
52360 swig_obj
[0] = args
;
52361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
52362 if (!SWIG_IsOK(res1
)) {
52363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52365 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52370 wxPyEndAllowThreads(__tstate
);
52371 if (PyErr_Occurred()) SWIG_fail
;
52373 resultobj
= SWIG_Py_Void();
52380 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52381 PyObject
*resultobj
= 0;
52382 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52383 wxWindow
*arg2
= (wxWindow
*) 0 ;
52384 int *arg3
= (int *) 0 ;
52391 int res3
= SWIG_TMPOBJ
;
52392 PyObject
* obj0
= 0 ;
52393 PyObject
* obj1
= 0 ;
52394 char * kwnames
[] = {
52395 (char *) "self",(char *) "win", NULL
52399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52401 if (!SWIG_IsOK(res1
)) {
52402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52404 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52406 if (!SWIG_IsOK(res2
)) {
52407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
52409 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52412 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
52413 wxPyEndAllowThreads(__tstate
);
52414 if (PyErr_Occurred()) SWIG_fail
;
52417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52419 if (SWIG_IsTmpObj(res3
)) {
52420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
52422 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
52423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
52431 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52432 PyObject
*resultobj
= 0;
52433 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52437 PyObject
*swig_obj
[1] ;
52439 if (!args
) SWIG_fail
;
52440 swig_obj
[0] = args
;
52441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52442 if (!SWIG_IsOK(res1
)) {
52443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
52445 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52448 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
52449 wxPyEndAllowThreads(__tstate
);
52450 if (PyErr_Occurred()) SWIG_fail
;
52453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52461 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52464 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
52465 return SWIG_Py_Void();
52468 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52469 return SWIG_Python_InitShadowInstance(args
);
52472 static PyMethodDef SwigMethods
[] = {
52473 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
52474 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
52475 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
52476 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
52477 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
52478 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
52479 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
52480 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
52481 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52482 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
52483 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52484 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52485 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52486 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52487 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52488 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52489 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52490 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52491 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52492 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
52493 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
52494 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
52495 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52496 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
52497 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
52498 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
52499 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
52500 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
52501 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
52502 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
52503 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52504 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
52505 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52506 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52507 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52508 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52509 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52510 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
52511 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
52512 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
52513 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
52514 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
52515 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
52516 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
52517 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52518 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
52519 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52520 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52521 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52522 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52523 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52524 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52525 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52526 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
52527 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
52528 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
52529 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52530 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52531 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52532 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52533 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
52534 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
52535 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52536 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
52537 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52538 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
52539 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52540 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
52541 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52542 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
52543 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52544 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
52545 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52546 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
52547 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
52548 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52549 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
52550 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52551 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
52552 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
52553 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
52554 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
52555 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52556 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52557 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52558 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52559 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52560 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52561 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52562 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52563 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52564 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52565 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52566 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52567 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52568 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52569 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52570 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52571 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52572 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52573 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
52574 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
52575 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
52576 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
52577 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
52578 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
52579 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
52580 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
52581 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52582 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
52583 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
52584 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
52585 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52586 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52587 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52588 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52589 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
52590 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
52591 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
52592 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
52593 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52594 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52595 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52596 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52597 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52598 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52599 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
52600 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52601 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52602 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52603 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52604 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52605 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52606 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
52607 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
52608 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
52609 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
52610 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52611 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
52612 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
52613 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
52614 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52615 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
52616 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
52617 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
52618 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
52619 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52620 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52621 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52622 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52623 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
52624 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
52625 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
52626 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
52627 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
52628 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
52629 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52630 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52631 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
52632 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
52633 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
52634 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52635 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
52636 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
52637 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52638 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
52639 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
52640 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
52641 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
52642 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
52643 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
52644 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
52645 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
52646 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
52647 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52648 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
52649 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52650 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52651 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52652 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52653 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
52654 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52655 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52656 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52657 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52658 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52659 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52660 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
52661 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
52662 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
52663 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52664 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
52665 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52666 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52667 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
52668 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52669 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
52670 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52671 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52672 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
52673 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
52674 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
52675 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52676 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52677 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
52678 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
52679 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
52680 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52681 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52682 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52683 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
52684 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
52685 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
52686 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52687 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52688 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52689 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
52690 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52691 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52692 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52693 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52694 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
52695 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
52696 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
52697 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
52698 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
52699 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
52700 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
52701 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52702 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52703 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52704 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52705 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52706 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
52707 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
52708 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52709 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
52710 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
52711 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
52712 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52713 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52714 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52715 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52716 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52717 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
52718 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
52719 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52720 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
52721 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
52722 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
52723 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
52724 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
52725 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
52726 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
52727 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
52728 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52729 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
52730 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
52731 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
52732 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
52733 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
52734 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
52735 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
52736 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
52737 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52738 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
52739 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52740 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52741 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52742 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52743 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52744 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52745 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52746 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52747 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
52748 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52749 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52750 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52751 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52752 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52753 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52754 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52755 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52756 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52757 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52758 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52759 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
52760 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
52761 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52762 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52763 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52764 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52765 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52766 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52767 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52768 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52769 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52770 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52771 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52772 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52773 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52774 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52775 { (char *)"Image_Ok", (PyCFunction
)_wrap_Image_Ok
, METH_O
, NULL
},
52776 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
52777 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
52778 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
52779 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52780 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52781 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
52782 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52783 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
52784 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52785 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
52786 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52787 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
52788 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52789 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
52790 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52791 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52792 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
52793 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
52794 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
52795 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
52796 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52797 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
52798 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52799 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52800 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52801 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52802 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52803 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52804 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52805 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52806 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52807 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52808 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52809 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52810 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52811 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52812 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52813 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52814 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
52815 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
52816 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52817 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52818 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52819 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52820 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52821 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
52822 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
52823 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
52824 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
52825 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
52826 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
52827 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
52828 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
52829 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
52830 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
52831 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
52832 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
52833 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
52834 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
52835 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
52836 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
52837 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
52838 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
52839 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
52840 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
52841 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
52842 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
52843 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
52844 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
52845 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
52846 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
52847 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
52848 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
52849 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
52850 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
52851 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
52852 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
52853 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
52854 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
52855 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
52856 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52857 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
52858 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
52859 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
52860 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
52861 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52862 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52863 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
52864 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52865 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52866 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52867 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
52868 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52869 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52870 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52871 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
52872 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
52873 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
52874 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
52875 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52876 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
52877 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
52878 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52879 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
52880 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52881 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
52882 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52883 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
52884 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52885 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
52886 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
52887 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
52888 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52889 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
52890 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
52891 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52892 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
52893 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
52894 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
52895 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52896 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
52897 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
52898 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
52899 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52900 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
52901 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52902 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
52903 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
52904 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
52905 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52906 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
52907 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52908 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
52909 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
52910 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52911 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
52912 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
52913 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
52914 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52915 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
52916 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
52917 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
52918 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
52919 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
52920 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52921 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
52922 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
52923 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52924 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52925 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
52926 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
52927 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52928 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
52929 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
52930 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52931 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52932 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
52933 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
52934 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52935 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
52936 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52937 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52938 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52939 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52940 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52941 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
52942 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
52943 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
52944 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
52945 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
52946 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
52947 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
52948 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
52949 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
52950 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
52951 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
52952 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
52953 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
52954 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
52955 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
52956 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
52957 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
52958 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
52959 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
52960 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
52961 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
52962 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
52963 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
52964 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
52965 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52966 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
52967 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
52968 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
52969 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
52970 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
52971 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
52972 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
52973 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
52974 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
52975 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
52976 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
52977 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
52978 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
52979 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
52980 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
52981 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
52982 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52983 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
52984 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52985 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
52986 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52987 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
52988 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52989 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
52990 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
52991 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
52992 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
52993 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
52994 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
52995 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
52996 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
52997 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
52998 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52999 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
53000 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
53001 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53002 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
53003 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
53004 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
53005 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
53006 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53007 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
53008 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
53009 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
53010 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
53011 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
53012 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
53013 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
53014 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
53015 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
53016 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
53017 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
53018 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
53019 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
53020 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
53021 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
53022 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
53023 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
53024 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
53025 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
53026 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
53027 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
53028 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
53029 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
53030 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
53031 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
53032 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
53033 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
53034 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
53035 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
53036 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
53037 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
53038 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
53039 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
53040 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
53041 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
53042 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
53043 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
53044 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53045 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
53046 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
53047 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53048 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53049 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
53050 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
53051 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
53052 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
53053 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
53054 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
53055 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53056 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
53057 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
53058 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53059 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53060 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
53061 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
53062 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53063 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
53064 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
53065 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53066 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
53067 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
53068 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53069 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
53070 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
53071 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
53072 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53073 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
53074 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53075 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
53076 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
53077 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53078 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
53079 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
53080 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
53081 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53082 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
53083 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
53084 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
53085 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53086 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
53087 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
53088 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53089 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
53090 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
53091 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
53092 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
53093 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
53094 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53095 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53096 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
53097 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53098 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
53099 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53100 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
53101 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
53102 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
53103 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53104 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53105 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
53106 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
53107 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
53108 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53109 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
53110 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
53111 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
53112 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53113 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
53114 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
53115 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
53116 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
53117 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
53118 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
53119 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53120 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
53121 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
53122 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
53123 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
53124 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
53125 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
53126 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
53127 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
53128 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53129 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53130 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53131 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53132 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53133 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
53134 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53135 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
53136 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53137 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
53138 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
53139 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
53140 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
53141 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53142 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53143 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53144 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
53145 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53146 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53147 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
53148 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53149 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53150 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53151 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53152 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
53153 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53154 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53155 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53156 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53157 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
53158 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
53159 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
53160 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
53161 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
53162 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53163 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
53164 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53165 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
53166 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53167 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53168 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
53169 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53170 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
53171 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
53172 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53173 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
53174 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
53175 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
53176 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53177 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
53178 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
53179 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
53180 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53181 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
53182 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53183 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
53184 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
53185 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
53186 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53187 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
53188 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53189 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
53190 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53191 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
53192 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
53193 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53194 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
53195 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53196 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
53197 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
53198 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
53199 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53200 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
53201 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53202 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
53203 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
53204 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
53205 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53206 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
53207 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53208 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
53209 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
53210 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
53211 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
53212 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53213 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
53214 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53215 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
53216 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53217 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
53218 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53219 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
53220 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
53221 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53222 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
53223 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
53224 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
53225 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
53226 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
53227 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
53228 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
53229 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
53230 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53231 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
53232 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53233 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
53234 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53235 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
53236 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53237 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
53238 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53239 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
53240 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53241 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
53242 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
53243 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
53244 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
53245 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
53246 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
53247 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53248 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53249 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53250 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53251 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53252 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
53253 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
53254 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
53255 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
53256 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
53257 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
53258 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
53259 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53260 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
53261 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53262 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
53263 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
53264 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53265 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
53266 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
53267 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
53268 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
53269 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53270 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
53271 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
53272 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
53273 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
53274 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53275 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
53276 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
53277 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53278 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
53279 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
53280 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
53281 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53282 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
53283 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53284 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
53285 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
53286 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
53287 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
53288 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
53289 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53290 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
53291 { (char *)"AcceleratorTable_Ok", (PyCFunction
)_wrap_AcceleratorTable_Ok
, METH_O
, NULL
},
53292 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
53293 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
53294 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53295 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
53296 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
53297 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
53298 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
53299 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
53300 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
53301 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
53302 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
53303 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
53304 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
53305 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53306 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
53307 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53308 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53309 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
53310 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
53311 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
53312 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53313 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
53314 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53315 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
53316 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53317 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
53318 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53319 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
53320 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
53321 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53322 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53323 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53324 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53325 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53326 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53327 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53328 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53329 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53330 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
53331 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
53332 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53333 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53334 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53335 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
53336 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
53337 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
53338 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
53339 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
53340 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
53341 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
53342 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
53343 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
53344 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
53345 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
53346 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
53347 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
53348 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
53349 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
53350 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53351 { (char *)"Window_GetBestFittingSize", (PyCFunction
)_wrap_Window_GetBestFittingSize
, METH_O
, NULL
},
53352 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
)_wrap_Window_GetAdjustedBestSize
, METH_O
, NULL
},
53353 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53354 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53355 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
53356 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
53357 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53358 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53359 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53360 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53361 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
53362 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
53363 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53364 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53365 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
53366 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
53367 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
53368 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
53369 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53370 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53371 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
53372 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
53373 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
53374 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53375 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
53376 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53377 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
53378 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
53379 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
53380 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53381 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
53382 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53383 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
53384 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53385 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
53386 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53387 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53388 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
53389 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
53390 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
53391 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
53392 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
53393 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
53394 { (char *)"Window_GetDefaultItem", (PyCFunction
)_wrap_Window_GetDefaultItem
, METH_O
, NULL
},
53395 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53396 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53397 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53398 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53399 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53400 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
53401 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
53402 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
53403 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
53404 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53405 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53406 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53407 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53408 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53409 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
53410 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53411 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53412 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53413 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53414 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53415 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
53416 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
53417 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
53418 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
53419 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
53420 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53421 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
53422 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53423 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53424 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53425 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53426 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53427 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53428 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53429 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53430 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53431 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
53432 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
53433 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
53434 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
53435 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53436 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53437 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
53438 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
53439 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
53440 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
53441 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53442 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
53443 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
53444 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53445 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53446 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53447 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
53448 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53449 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53450 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53451 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53452 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53453 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
53454 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
53455 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
53456 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
53457 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53458 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
53459 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
53460 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53461 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
53462 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53463 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53464 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
53465 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53466 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
53467 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
53468 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
53469 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53470 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53471 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53472 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53473 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53474 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53475 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53476 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53477 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
53478 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53479 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53480 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53481 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
53482 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53483 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
53484 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53485 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53486 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53487 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53488 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53489 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53490 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53491 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53492 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53493 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
53494 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
53495 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
53496 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
53497 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53498 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53499 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
53500 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53501 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53502 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
53503 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53504 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
53505 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53506 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53507 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
53508 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53509 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
53510 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
53511 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53512 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53513 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
53514 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53515 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
53516 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
53517 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
53518 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
53519 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
53520 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53521 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53522 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53523 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53524 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
53525 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
53526 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
53527 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53528 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
53529 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
53530 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
53531 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53532 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
53533 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53534 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
53535 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
53536 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
53537 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53538 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
53539 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
53540 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53541 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53542 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
53543 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53544 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53545 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53546 { (char *)"Menu_AppendSubMenu", (PyCFunction
) _wrap_Menu_AppendSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53547 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53548 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53549 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53550 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
53551 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53552 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53553 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53554 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53555 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53556 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53557 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
53558 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53559 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53560 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53561 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53562 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53563 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53564 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53565 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
53566 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53567 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53568 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
53569 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
53570 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53571 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53572 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53573 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53574 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53575 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53576 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53577 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53578 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53579 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53580 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53581 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53582 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
53583 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53584 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
53585 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53586 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
53587 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
53588 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53589 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
53590 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53591 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
53592 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
53593 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53594 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
53595 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
53596 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
53597 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53598 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53599 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53600 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
53601 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53602 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53603 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53604 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53605 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53606 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53607 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53608 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53609 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53610 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53611 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53612 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53613 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53614 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53615 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53616 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53617 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53618 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53619 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
53620 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
53621 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53622 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
53623 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53624 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
53625 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
53626 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
53627 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53628 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
53629 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
53630 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53631 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53632 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
53633 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
53634 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53635 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
53636 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
53637 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53638 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
53639 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53640 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53641 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
53642 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
53643 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53644 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
53645 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53646 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
53647 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53648 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
53649 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
53650 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53651 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
53652 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
53653 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53654 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53655 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
53656 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53657 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
53658 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53659 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
53660 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53661 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
53662 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53663 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53664 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
53665 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53666 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
53667 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
53668 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
53669 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53670 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
53671 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
53672 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
53673 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53674 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
53675 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53676 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53677 { (char *)"Control_GetLabel", (PyCFunction
)_wrap_Control_GetLabel
, METH_O
, NULL
},
53678 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53679 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
53680 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
53681 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53682 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53683 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53684 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
53685 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53686 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53687 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53688 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
53689 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
53690 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53691 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
53692 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53693 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53694 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53695 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
53696 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53697 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
53698 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53699 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
53700 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
53701 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
53702 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
53703 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53704 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53705 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53706 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
53707 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
53708 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
53709 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
53710 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53711 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
53712 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
53713 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53714 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53715 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53716 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53717 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
53718 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
53719 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
53720 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
53721 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
53722 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53723 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
53724 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53725 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
53726 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53727 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
53728 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
53729 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53730 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
53731 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53732 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
53733 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53734 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53735 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
53736 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
53737 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
53738 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53739 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
53740 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
53741 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
53742 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53743 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53744 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53745 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53746 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53747 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53748 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53749 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53750 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53751 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53752 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53753 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53754 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53755 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
53756 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
53757 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
53758 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
53759 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
53760 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
53761 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53762 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53763 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53764 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53765 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53766 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
53767 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
53768 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53769 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53770 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53771 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
53772 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
53773 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53774 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
53775 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
53776 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53777 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
53778 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53779 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
53780 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
53781 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53782 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
53783 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
53784 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
53785 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53786 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53787 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53788 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53789 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53790 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
53791 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
53792 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
53793 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
53794 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
53795 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
53796 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53797 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53798 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53799 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53800 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53801 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53802 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
53803 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53804 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
53805 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
53806 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
53807 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
53808 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
53809 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
53810 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53811 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
53812 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53813 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53814 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53815 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
53816 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
53817 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
53818 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
53819 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
53820 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
53821 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
53822 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53823 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
53824 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
53825 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
53826 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53827 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53828 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53829 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53830 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53831 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
53832 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
53833 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
53834 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53835 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
53836 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
53837 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
53838 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53839 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53840 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53841 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53842 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53843 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
53844 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
53845 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
53846 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
53847 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
53848 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53849 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53850 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53851 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
53852 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
53853 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53854 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53855 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53856 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53857 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
53858 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
53859 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53860 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
53861 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
53862 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53863 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53864 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53865 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53866 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
53867 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53868 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
53869 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
53870 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
53871 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
53872 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
53873 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53874 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53875 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53876 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53877 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
53878 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
53879 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53880 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53881 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53882 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53883 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53884 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53885 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53886 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53887 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
53888 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
53889 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
53890 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
53891 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53892 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53893 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
53894 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53895 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
53896 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
53897 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
53898 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
53899 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53900 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
53901 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53902 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53903 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53904 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53905 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
53906 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
53907 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
53908 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
53909 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
53910 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
53911 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
53912 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
53913 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
53914 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
53915 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
53916 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53917 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
53918 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
53919 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
53920 { NULL
, NULL
, 0, NULL
}
53924 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
53926 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
53927 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
53929 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
53930 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
53932 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
53933 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53935 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
53936 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53938 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
53939 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53941 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
53942 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
53944 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
53945 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
53947 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
53948 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
53950 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
53951 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53953 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
53954 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53956 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
53957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
53959 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
53960 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
53962 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
53963 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
53965 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
53966 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
53968 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
53969 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
53971 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
53972 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
53974 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
53975 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
53977 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
53978 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
53980 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
53981 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
53983 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
53984 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
53986 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
53987 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
53989 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
53990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
53992 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
53993 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
53995 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
53996 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
53998 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
53999 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
54001 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
54002 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
54004 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
54005 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
54007 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
54008 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
54010 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
54011 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
54013 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
54014 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
54016 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
54017 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
54019 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
54020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54022 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
54023 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
54025 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
54026 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
54028 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
54029 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
54031 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
54032 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
54034 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
54035 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
54037 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
54038 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
54040 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
54041 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54043 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
54044 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
54046 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
54047 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
54049 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
54050 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54052 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
54053 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54055 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
54056 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54058 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
54059 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
54061 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
54062 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
54064 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
54065 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54067 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
54068 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54070 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
54071 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54073 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
54074 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
54076 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
54077 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
54079 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
54080 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
54082 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
54083 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
54085 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
54086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54088 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
54089 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
54091 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
54092 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
54094 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
54095 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
54097 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
54098 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
54100 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
54101 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
54103 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
54104 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
54106 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
54107 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
54109 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
54110 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
54112 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
54113 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
54115 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
54116 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
54118 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
54119 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54121 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
54122 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
54124 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
54125 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
54127 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
54128 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
54130 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
54131 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54133 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
54134 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54136 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
54137 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
54139 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
54140 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
54142 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
54143 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
54145 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
54146 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
54148 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
54149 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
54151 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
54152 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
54154 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
54155 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
54157 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
54158 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
54160 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54161 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
54163 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54164 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
54166 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54167 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
54169 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
54170 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
54172 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
54173 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
54175 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
54176 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
54178 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
54179 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
54181 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
54182 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
54184 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
54185 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
54187 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
54188 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
54190 static void *_p_wxSizerTo_p_wxObject(void *x
) {
54191 return (void *)((wxObject
*) ((wxSizer
*) x
));
54193 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
54194 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54196 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
54197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54199 static void *_p_wxEventTo_p_wxObject(void *x
) {
54200 return (void *)((wxObject
*) ((wxEvent
*) x
));
54202 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
54203 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54205 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
54206 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
54208 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
54209 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
54211 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
54212 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
54214 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
54215 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
54217 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
54218 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
54220 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
54221 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
54223 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
54224 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
54226 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
54227 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
54229 static void *_p_wxControlTo_p_wxObject(void *x
) {
54230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
54232 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
54233 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
54235 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
54236 return (void *)((wxObject
*) ((wxFSFile
*) x
));
54238 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
54239 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
54241 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
54242 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
54244 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
54245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54247 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
54248 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
54250 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
54251 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
54253 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
54254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
54256 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
54257 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
54259 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
54260 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54262 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
54263 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
54265 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
54266 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
54268 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
54269 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
54271 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
54272 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
54274 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
54275 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
54277 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
54278 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
54280 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
54281 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
54283 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
54284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
54286 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
54287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
54289 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
54290 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
54292 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
54293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
54295 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
54296 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54298 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
54299 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54301 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
54302 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
54304 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
54305 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
54307 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
54308 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
54310 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
54311 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
54313 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
54314 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
54316 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
54317 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
54319 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
54320 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
54322 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
54323 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
54325 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
54326 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
54328 static void *_p_wxImageTo_p_wxObject(void *x
) {
54329 return (void *)((wxObject
*) ((wxImage
*) x
));
54331 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
54332 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
54334 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
54335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54337 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
54338 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54340 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
54341 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
54343 static void *_p_wxWindowTo_p_wxObject(void *x
) {
54344 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
54346 static void *_p_wxMenuTo_p_wxObject(void *x
) {
54347 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
54349 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
54350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
54352 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
54353 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
54355 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
54356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54358 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
54359 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
54361 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
54362 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
54364 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
54365 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
54367 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
54368 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
54370 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
54371 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
54373 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
54374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54376 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
54377 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
54379 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
54380 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
54382 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
54383 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
54385 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
54386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54388 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
54389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54391 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
54392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
54394 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
54395 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
54397 static void *_p_wxControlTo_p_wxWindow(void *x
) {
54398 return (void *)((wxWindow
*) ((wxControl
*) x
));
54400 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
54401 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
54403 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
54404 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
54406 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
54407 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54409 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
54410 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
54412 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
54413 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54415 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
54416 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
54418 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
54419 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54421 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
54422 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54424 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
54425 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54427 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
54428 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54430 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
54431 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54433 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
54434 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
54436 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
54437 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
54438 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};
54439 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
54440 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
54441 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
54442 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
54443 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
54444 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
54445 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
54446 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
54447 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
54448 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
54449 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
54450 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
54451 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
54452 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
54453 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
54454 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
54455 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
54456 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
54457 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
54458 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
54459 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
54460 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
54461 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
54462 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
54463 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
54464 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
54465 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
54466 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
54467 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
54468 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
54469 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
54470 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
54471 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
54472 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
54473 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
54474 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
54475 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
54476 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
54477 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
54478 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
54479 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
54480 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
54481 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
54482 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
54483 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
54484 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
54485 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
54486 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
54487 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
54488 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
54489 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
54490 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
54491 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
54492 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
54493 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
54494 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
54495 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
54496 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
54497 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
54498 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
54499 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
54500 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
54501 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
54502 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
54503 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
54504 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
54505 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
54506 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
54507 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
54508 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
54509 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
54510 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
54511 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
54512 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
54513 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
54514 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
54515 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
54516 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
54517 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
54518 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
54519 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
54520 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
54521 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
54522 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
54523 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
54524 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
54525 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
54526 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
54527 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
54528 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
54529 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
54530 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
54531 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
54532 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
54533 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
54534 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
54535 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
54536 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
54537 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
54538 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
54539 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
54540 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
54541 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
54542 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
54543 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
54544 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
54545 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
54546 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
54547 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
54548 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
54549 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
54550 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
54551 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
54552 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
54553 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
54554 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
54555 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
54556 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
54557 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
54558 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
54559 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
54560 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
54561 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
54562 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
54563 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
54564 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
54566 static swig_type_info
*swig_type_initial
[] = {
54569 &_swigt__p_form_ops_t
,
54572 &_swigt__p_unsigned_char
,
54573 &_swigt__p_unsigned_int
,
54574 &_swigt__p_unsigned_long
,
54575 &_swigt__p_wxANIHandler
,
54576 &_swigt__p_wxAcceleratorEntry
,
54577 &_swigt__p_wxAcceleratorTable
,
54578 &_swigt__p_wxActivateEvent
,
54579 &_swigt__p_wxAppTraits
,
54580 &_swigt__p_wxArrayString
,
54581 &_swigt__p_wxBMPHandler
,
54582 &_swigt__p_wxBitmap
,
54583 &_swigt__p_wxBoxSizer
,
54584 &_swigt__p_wxButton
,
54585 &_swigt__p_wxCURHandler
,
54586 &_swigt__p_wxCaret
,
54587 &_swigt__p_wxChildFocusEvent
,
54588 &_swigt__p_wxCloseEvent
,
54589 &_swigt__p_wxColour
,
54590 &_swigt__p_wxCommandEvent
,
54591 &_swigt__p_wxContextMenuEvent
,
54592 &_swigt__p_wxControl
,
54593 &_swigt__p_wxControlWithItems
,
54594 &_swigt__p_wxCursor
,
54596 &_swigt__p_wxDateEvent
,
54597 &_swigt__p_wxDateTime
,
54598 &_swigt__p_wxDisplayChangedEvent
,
54599 &_swigt__p_wxDropFilesEvent
,
54600 &_swigt__p_wxDuplexMode
,
54601 &_swigt__p_wxEraseEvent
,
54602 &_swigt__p_wxEvent
,
54603 &_swigt__p_wxEventLoop
,
54604 &_swigt__p_wxEventLoopActivator
,
54605 &_swigt__p_wxEvtHandler
,
54606 &_swigt__p_wxFSFile
,
54607 &_swigt__p_wxFileSystem
,
54608 &_swigt__p_wxFileSystemHandler
,
54609 &_swigt__p_wxFlexGridSizer
,
54610 &_swigt__p_wxFocusEvent
,
54612 &_swigt__p_wxFrame
,
54613 &_swigt__p_wxGBPosition
,
54614 &_swigt__p_wxGBSizerItem
,
54615 &_swigt__p_wxGBSpan
,
54616 &_swigt__p_wxGIFHandler
,
54617 &_swigt__p_wxGridBagSizer
,
54618 &_swigt__p_wxGridSizer
,
54619 &_swigt__p_wxICOHandler
,
54620 &_swigt__p_wxIconizeEvent
,
54621 &_swigt__p_wxIdleEvent
,
54622 &_swigt__p_wxImage
,
54623 &_swigt__p_wxImageHandler
,
54624 &_swigt__p_wxImageHistogram
,
54625 &_swigt__p_wxImage_HSVValue
,
54626 &_swigt__p_wxImage_RGBValue
,
54627 &_swigt__p_wxIndividualLayoutConstraint
,
54628 &_swigt__p_wxInitDialogEvent
,
54629 &_swigt__p_wxInputStream
,
54630 &_swigt__p_wxInternetFSHandler
,
54631 &_swigt__p_wxItemContainer
,
54632 &_swigt__p_wxJPEGHandler
,
54633 &_swigt__p_wxKeyEvent
,
54634 &_swigt__p_wxLayoutConstraints
,
54635 &_swigt__p_wxMaximizeEvent
,
54636 &_swigt__p_wxMemoryFSHandler
,
54638 &_swigt__p_wxMenuBar
,
54639 &_swigt__p_wxMenuBarBase
,
54640 &_swigt__p_wxMenuEvent
,
54641 &_swigt__p_wxMenuItem
,
54642 &_swigt__p_wxMouseCaptureChangedEvent
,
54643 &_swigt__p_wxMouseEvent
,
54644 &_swigt__p_wxMoveEvent
,
54645 &_swigt__p_wxNavigationKeyEvent
,
54646 &_swigt__p_wxNcPaintEvent
,
54647 &_swigt__p_wxNotifyEvent
,
54648 &_swigt__p_wxObject
,
54649 &_swigt__p_wxOutputStream
,
54650 &_swigt__p_wxPCXHandler
,
54651 &_swigt__p_wxPNGHandler
,
54652 &_swigt__p_wxPNMHandler
,
54653 &_swigt__p_wxPaintEvent
,
54654 &_swigt__p_wxPaletteChangedEvent
,
54655 &_swigt__p_wxPaperSize
,
54656 &_swigt__p_wxPoint
,
54657 &_swigt__p_wxPoint2D
,
54658 &_swigt__p_wxPropagateOnce
,
54659 &_swigt__p_wxPropagationDisabler
,
54660 &_swigt__p_wxPyApp
,
54661 &_swigt__p_wxPyCommandEvent
,
54662 &_swigt__p_wxPyDropTarget
,
54663 &_swigt__p_wxPyEvent
,
54664 &_swigt__p_wxPyFileSystemHandler
,
54665 &_swigt__p_wxPyImageHandler
,
54666 &_swigt__p_wxPyInputStream
,
54667 &_swigt__p_wxPySizer
,
54668 &_swigt__p_wxPyValidator
,
54669 &_swigt__p_wxQuantize
,
54670 &_swigt__p_wxQueryNewPaletteEvent
,
54671 &_swigt__p_wxRealPoint
,
54673 &_swigt__p_wxRegion
,
54674 &_swigt__p_wxScrollEvent
,
54675 &_swigt__p_wxScrollWinEvent
,
54676 &_swigt__p_wxSetCursorEvent
,
54677 &_swigt__p_wxShowEvent
,
54679 &_swigt__p_wxSizeEvent
,
54680 &_swigt__p_wxSizer
,
54681 &_swigt__p_wxSizerItem
,
54682 &_swigt__p_wxStaticBox
,
54683 &_swigt__p_wxStaticBoxSizer
,
54684 &_swigt__p_wxStdDialogButtonSizer
,
54685 &_swigt__p_wxSysColourChangedEvent
,
54686 &_swigt__p_wxTIFFHandler
,
54687 &_swigt__p_wxToolTip
,
54688 &_swigt__p_wxUpdateUIEvent
,
54689 &_swigt__p_wxValidator
,
54690 &_swigt__p_wxVisualAttributes
,
54691 &_swigt__p_wxWindow
,
54692 &_swigt__p_wxWindowCreateEvent
,
54693 &_swigt__p_wxWindowDestroyEvent
,
54694 &_swigt__p_wxXPMHandler
,
54695 &_swigt__p_wxZipFSHandler
,
54698 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
54699 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
54700 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
54701 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
54702 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
54703 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
54704 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
54705 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
54706 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
54707 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
54708 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
54709 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54710 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
54711 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
54712 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}};
54713 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
54714 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}};
54715 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
54716 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}};
54717 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
54718 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54719 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54720 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
54721 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}};
54722 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54723 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}};
54724 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
54725 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
54726 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
54727 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54728 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
54729 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54730 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
54731 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
54732 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54733 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}};
54734 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
54735 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
54736 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}};
54737 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
54738 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
54739 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}};
54740 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}};
54741 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54742 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
54743 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
54744 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
54745 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
54746 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
54747 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54748 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
54749 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}};
54750 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}};
54751 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54752 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
54753 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
54754 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}};
54755 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
54756 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
54757 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
54758 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
54759 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
54760 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54761 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54762 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}};
54763 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54764 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54765 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
54766 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54767 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54768 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
54769 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
54770 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
54771 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54772 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
54773 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54774 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54775 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
54776 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54777 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54778 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54779 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}};
54780 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
54781 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
54782 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54783 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54784 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54785 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54786 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
54787 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
54788 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
54789 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
54790 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
54791 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
54792 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
54793 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
54794 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54795 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
54796 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
54797 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54798 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
54799 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
54800 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
54801 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
54802 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
54803 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
54804 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
54805 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
54806 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
54807 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
54808 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
54809 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
54810 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54811 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}};
54812 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}};
54813 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
54814 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
54815 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
54816 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54817 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54818 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
54819 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
54820 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}};
54821 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
54822 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}};
54823 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54824 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54825 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54826 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54828 static swig_cast_info
*swig_cast_initial
[] = {
54831 _swigc__p_form_ops_t
,
54834 _swigc__p_unsigned_char
,
54835 _swigc__p_unsigned_int
,
54836 _swigc__p_unsigned_long
,
54837 _swigc__p_wxANIHandler
,
54838 _swigc__p_wxAcceleratorEntry
,
54839 _swigc__p_wxAcceleratorTable
,
54840 _swigc__p_wxActivateEvent
,
54841 _swigc__p_wxAppTraits
,
54842 _swigc__p_wxArrayString
,
54843 _swigc__p_wxBMPHandler
,
54844 _swigc__p_wxBitmap
,
54845 _swigc__p_wxBoxSizer
,
54846 _swigc__p_wxButton
,
54847 _swigc__p_wxCURHandler
,
54849 _swigc__p_wxChildFocusEvent
,
54850 _swigc__p_wxCloseEvent
,
54851 _swigc__p_wxColour
,
54852 _swigc__p_wxCommandEvent
,
54853 _swigc__p_wxContextMenuEvent
,
54854 _swigc__p_wxControl
,
54855 _swigc__p_wxControlWithItems
,
54856 _swigc__p_wxCursor
,
54858 _swigc__p_wxDateEvent
,
54859 _swigc__p_wxDateTime
,
54860 _swigc__p_wxDisplayChangedEvent
,
54861 _swigc__p_wxDropFilesEvent
,
54862 _swigc__p_wxDuplexMode
,
54863 _swigc__p_wxEraseEvent
,
54865 _swigc__p_wxEventLoop
,
54866 _swigc__p_wxEventLoopActivator
,
54867 _swigc__p_wxEvtHandler
,
54868 _swigc__p_wxFSFile
,
54869 _swigc__p_wxFileSystem
,
54870 _swigc__p_wxFileSystemHandler
,
54871 _swigc__p_wxFlexGridSizer
,
54872 _swigc__p_wxFocusEvent
,
54875 _swigc__p_wxGBPosition
,
54876 _swigc__p_wxGBSizerItem
,
54877 _swigc__p_wxGBSpan
,
54878 _swigc__p_wxGIFHandler
,
54879 _swigc__p_wxGridBagSizer
,
54880 _swigc__p_wxGridSizer
,
54881 _swigc__p_wxICOHandler
,
54882 _swigc__p_wxIconizeEvent
,
54883 _swigc__p_wxIdleEvent
,
54885 _swigc__p_wxImageHandler
,
54886 _swigc__p_wxImageHistogram
,
54887 _swigc__p_wxImage_HSVValue
,
54888 _swigc__p_wxImage_RGBValue
,
54889 _swigc__p_wxIndividualLayoutConstraint
,
54890 _swigc__p_wxInitDialogEvent
,
54891 _swigc__p_wxInputStream
,
54892 _swigc__p_wxInternetFSHandler
,
54893 _swigc__p_wxItemContainer
,
54894 _swigc__p_wxJPEGHandler
,
54895 _swigc__p_wxKeyEvent
,
54896 _swigc__p_wxLayoutConstraints
,
54897 _swigc__p_wxMaximizeEvent
,
54898 _swigc__p_wxMemoryFSHandler
,
54900 _swigc__p_wxMenuBar
,
54901 _swigc__p_wxMenuBarBase
,
54902 _swigc__p_wxMenuEvent
,
54903 _swigc__p_wxMenuItem
,
54904 _swigc__p_wxMouseCaptureChangedEvent
,
54905 _swigc__p_wxMouseEvent
,
54906 _swigc__p_wxMoveEvent
,
54907 _swigc__p_wxNavigationKeyEvent
,
54908 _swigc__p_wxNcPaintEvent
,
54909 _swigc__p_wxNotifyEvent
,
54910 _swigc__p_wxObject
,
54911 _swigc__p_wxOutputStream
,
54912 _swigc__p_wxPCXHandler
,
54913 _swigc__p_wxPNGHandler
,
54914 _swigc__p_wxPNMHandler
,
54915 _swigc__p_wxPaintEvent
,
54916 _swigc__p_wxPaletteChangedEvent
,
54917 _swigc__p_wxPaperSize
,
54919 _swigc__p_wxPoint2D
,
54920 _swigc__p_wxPropagateOnce
,
54921 _swigc__p_wxPropagationDisabler
,
54923 _swigc__p_wxPyCommandEvent
,
54924 _swigc__p_wxPyDropTarget
,
54925 _swigc__p_wxPyEvent
,
54926 _swigc__p_wxPyFileSystemHandler
,
54927 _swigc__p_wxPyImageHandler
,
54928 _swigc__p_wxPyInputStream
,
54929 _swigc__p_wxPySizer
,
54930 _swigc__p_wxPyValidator
,
54931 _swigc__p_wxQuantize
,
54932 _swigc__p_wxQueryNewPaletteEvent
,
54933 _swigc__p_wxRealPoint
,
54935 _swigc__p_wxRegion
,
54936 _swigc__p_wxScrollEvent
,
54937 _swigc__p_wxScrollWinEvent
,
54938 _swigc__p_wxSetCursorEvent
,
54939 _swigc__p_wxShowEvent
,
54941 _swigc__p_wxSizeEvent
,
54943 _swigc__p_wxSizerItem
,
54944 _swigc__p_wxStaticBox
,
54945 _swigc__p_wxStaticBoxSizer
,
54946 _swigc__p_wxStdDialogButtonSizer
,
54947 _swigc__p_wxSysColourChangedEvent
,
54948 _swigc__p_wxTIFFHandler
,
54949 _swigc__p_wxToolTip
,
54950 _swigc__p_wxUpdateUIEvent
,
54951 _swigc__p_wxValidator
,
54952 _swigc__p_wxVisualAttributes
,
54953 _swigc__p_wxWindow
,
54954 _swigc__p_wxWindowCreateEvent
,
54955 _swigc__p_wxWindowDestroyEvent
,
54956 _swigc__p_wxXPMHandler
,
54957 _swigc__p_wxZipFSHandler
,
54961 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
54963 static swig_const_info swig_const_table
[] = {
54964 {0, 0, 0, 0.0, 0, 0}};
54969 /* -----------------------------------------------------------------------------
54970 * Type initialization:
54971 * This problem is tough by the requirement that no dynamic
54972 * memory is used. Also, since swig_type_info structures store pointers to
54973 * swig_cast_info structures and swig_cast_info structures store pointers back
54974 * to swig_type_info structures, we need some lookup code at initialization.
54975 * The idea is that swig generates all the structures that are needed.
54976 * The runtime then collects these partially filled structures.
54977 * The SWIG_InitializeModule function takes these initial arrays out of
54978 * swig_module, and does all the lookup, filling in the swig_module.types
54979 * array with the correct data and linking the correct swig_cast_info
54980 * structures together.
54982 * The generated swig_type_info structures are assigned staticly to an initial
54983 * array. We just loop though that array, and handle each type individually.
54984 * First we lookup if this type has been already loaded, and if so, use the
54985 * loaded structure instead of the generated one. Then we have to fill in the
54986 * cast linked list. The cast data is initially stored in something like a
54987 * two-dimensional array. Each row corresponds to a type (there are the same
54988 * number of rows as there are in the swig_type_initial array). Each entry in
54989 * a column is one of the swig_cast_info structures for that type.
54990 * The cast_initial array is actually an array of arrays, because each row has
54991 * a variable number of columns. So to actually build the cast linked list,
54992 * we find the array of casts associated with the type, and loop through it
54993 * adding the casts to the list. The one last trick we need to do is making
54994 * sure the type pointer in the swig_cast_info struct is correct.
54996 * First off, we lookup the cast->type name to see if it is already loaded.
54997 * There are three cases to handle:
54998 * 1) If the cast->type has already been loaded AND the type we are adding
54999 * casting info to has not been loaded (it is in this module), THEN we
55000 * replace the cast->type pointer with the type pointer that has already
55002 * 2) If BOTH types (the one we are adding casting info to, and the
55003 * cast->type) are loaded, THEN the cast info has already been loaded by
55004 * the previous module so we just ignore it.
55005 * 3) Finally, if cast->type has not already been loaded, then we add that
55006 * swig_cast_info to the linked list (because the cast->type) pointer will
55008 * ----------------------------------------------------------------------------- */
55018 #define SWIGRUNTIME_DEBUG
55022 SWIG_InitializeModule(void *clientdata
) {
55024 swig_module_info
*module_head
;
55025 static int init_run
= 0;
55027 clientdata
= clientdata
;
55029 if (init_run
) return;
55032 /* Initialize the swig_module */
55033 swig_module
.type_initial
= swig_type_initial
;
55034 swig_module
.cast_initial
= swig_cast_initial
;
55036 /* Try and load any already created modules */
55037 module_head
= SWIG_GetModule(clientdata
);
55039 swig_module
.next
= module_head
->next
;
55040 module_head
->next
= &swig_module
;
55042 /* This is the first module loaded */
55043 swig_module
.next
= &swig_module
;
55044 SWIG_SetModule(clientdata
, &swig_module
);
55047 /* Now work on filling in swig_module.types */
55048 #ifdef SWIGRUNTIME_DEBUG
55049 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
55051 for (i
= 0; i
< swig_module
.size
; ++i
) {
55052 swig_type_info
*type
= 0;
55053 swig_type_info
*ret
;
55054 swig_cast_info
*cast
;
55056 #ifdef SWIGRUNTIME_DEBUG
55057 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55060 /* if there is another module already loaded */
55061 if (swig_module
.next
!= &swig_module
) {
55062 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
55065 /* Overwrite clientdata field */
55066 #ifdef SWIGRUNTIME_DEBUG
55067 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
55069 if (swig_module
.type_initial
[i
]->clientdata
) {
55070 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
55071 #ifdef SWIGRUNTIME_DEBUG
55072 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
55076 type
= swig_module
.type_initial
[i
];
55079 /* Insert casting types */
55080 cast
= swig_module
.cast_initial
[i
];
55081 while (cast
->type
) {
55082 /* Don't need to add information already in the list */
55084 #ifdef SWIGRUNTIME_DEBUG
55085 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
55087 if (swig_module
.next
!= &swig_module
) {
55088 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
55089 #ifdef SWIGRUNTIME_DEBUG
55090 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
55094 if (type
== swig_module
.type_initial
[i
]) {
55095 #ifdef SWIGRUNTIME_DEBUG
55096 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
55101 /* Check for casting already in the list */
55102 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
55103 #ifdef SWIGRUNTIME_DEBUG
55104 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
55106 if (!ocast
) ret
= 0;
55111 #ifdef SWIGRUNTIME_DEBUG
55112 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
55115 type
->cast
->prev
= cast
;
55116 cast
->next
= type
->cast
;
55122 /* Set entry in modules->types array equal to the type */
55123 swig_module
.types
[i
] = type
;
55125 swig_module
.types
[i
] = 0;
55127 #ifdef SWIGRUNTIME_DEBUG
55128 printf("**** SWIG_InitializeModule: Cast List ******\n");
55129 for (i
= 0; i
< swig_module
.size
; ++i
) {
55131 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
55132 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55133 while (cast
->type
) {
55134 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
55138 printf("---- Total casts: %d\n",j
);
55140 printf("**** SWIG_InitializeModule: Cast List ******\n");
55144 /* This function will propagate the clientdata field of type to
55145 * any new swig_type_info structures that have been added into the list
55146 * of equivalent types. It is like calling
55147 * SWIG_TypeClientData(type, clientdata) a second time.
55150 SWIG_PropagateClientData(void) {
55152 swig_cast_info
*equiv
;
55153 static int init_run
= 0;
55155 if (init_run
) return;
55158 for (i
= 0; i
< swig_module
.size
; i
++) {
55159 if (swig_module
.types
[i
]->clientdata
) {
55160 equiv
= swig_module
.types
[i
]->cast
;
55162 if (!equiv
->converter
) {
55163 if (equiv
->type
&& !equiv
->type
->clientdata
)
55164 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
55166 equiv
= equiv
->next
;
55186 /* Python-specific SWIG API */
55187 #define SWIG_newvarlink() SWIG_Python_newvarlink()
55188 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
55189 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
55191 /* -----------------------------------------------------------------------------
55192 * global variable support code.
55193 * ----------------------------------------------------------------------------- */
55195 typedef struct swig_globalvar
{
55196 char *name
; /* Name of global variable */
55197 PyObject
*(*get_attr
)(void); /* Return the current value */
55198 int (*set_attr
)(PyObject
*); /* Set the value */
55199 struct swig_globalvar
*next
;
55202 typedef struct swig_varlinkobject
{
55204 swig_globalvar
*vars
;
55205 } swig_varlinkobject
;
55207 SWIGINTERN PyObject
*
55208 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
55209 return PyString_FromString("<Swig global variables>");
55212 SWIGINTERN PyObject
*
55213 swig_varlink_str(swig_varlinkobject
*v
) {
55214 PyObject
*str
= PyString_FromString("(");
55215 swig_globalvar
*var
;
55216 for (var
= v
->vars
; var
; var
=var
->next
) {
55217 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
55218 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
55220 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
55225 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
55226 PyObject
*str
= swig_varlink_str(v
);
55227 fprintf(fp
,"Swig global variables ");
55228 fprintf(fp
,"%s\n", PyString_AsString(str
));
55234 swig_varlink_dealloc(swig_varlinkobject
*v
) {
55235 swig_globalvar
*var
= v
->vars
;
55237 swig_globalvar
*n
= var
->next
;
55244 SWIGINTERN PyObject
*
55245 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
55246 PyObject
*res
= NULL
;
55247 swig_globalvar
*var
= v
->vars
;
55249 if (strcmp(var
->name
,n
) == 0) {
55250 res
= (*var
->get_attr
)();
55255 if (res
== NULL
&& !PyErr_Occurred()) {
55256 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55262 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
55264 swig_globalvar
*var
= v
->vars
;
55266 if (strcmp(var
->name
,n
) == 0) {
55267 res
= (*var
->set_attr
)(p
);
55272 if (res
== 1 && !PyErr_Occurred()) {
55273 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55278 SWIGINTERN PyTypeObject
*
55279 swig_varlink_type(void) {
55280 static char varlink__doc__
[] = "Swig var link object";
55281 static PyTypeObject varlink_type
;
55282 static int type_init
= 0;
55284 const PyTypeObject tmp
55286 PyObject_HEAD_INIT(NULL
)
55287 0, /* Number of items in variable part (ob_size) */
55288 (char *)"swigvarlink", /* Type name (tp_name) */
55289 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
55290 0, /* Itemsize (tp_itemsize) */
55291 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
55292 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
55293 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
55294 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
55295 0, /* tp_compare */
55296 (reprfunc
) swig_varlink_repr
, /* tp_repr */
55297 0, /* tp_as_number */
55298 0, /* tp_as_sequence */
55299 0, /* tp_as_mapping */
55302 (reprfunc
)swig_varlink_str
, /* tp_str */
55303 0, /* tp_getattro */
55304 0, /* tp_setattro */
55305 0, /* tp_as_buffer */
55307 varlink__doc__
, /* tp_doc */
55308 0, /* tp_traverse */
55310 0, /* tp_richcompare */
55311 0, /* tp_weaklistoffset */
55312 #if PY_VERSION_HEX >= 0x02020000
55313 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
55315 #if PY_VERSION_HEX >= 0x02030000
55318 #ifdef COUNT_ALLOCS
55319 0,0,0,0 /* tp_alloc -> tp_next */
55322 varlink_type
= tmp
;
55323 varlink_type
.ob_type
= &PyType_Type
;
55326 return &varlink_type
;
55329 /* Create a variable linking object for use later */
55330 SWIGINTERN PyObject
*
55331 SWIG_Python_newvarlink(void) {
55332 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
55336 return ((PyObject
*) result
);
55340 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
55341 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
55342 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
55344 size_t size
= strlen(name
)+1;
55345 gv
->name
= (char *)malloc(size
);
55347 strncpy(gv
->name
,name
,size
);
55348 gv
->get_attr
= get_attr
;
55349 gv
->set_attr
= set_attr
;
55350 gv
->next
= v
->vars
;
55356 SWIGINTERN PyObject
*
55358 static PyObject
*_SWIG_globals
= 0;
55359 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
55360 return _SWIG_globals
;
55363 /* -----------------------------------------------------------------------------
55364 * constants/methods manipulation
55365 * ----------------------------------------------------------------------------- */
55367 /* Install Constants */
55369 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
55372 for (i
= 0; constants
[i
].type
; ++i
) {
55373 switch(constants
[i
].type
) {
55374 case SWIG_PY_POINTER
:
55375 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
55377 case SWIG_PY_BINARY
:
55378 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
55385 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
55391 /* -----------------------------------------------------------------------------*/
55392 /* Fix SwigMethods to carry the callback ptrs when needed */
55393 /* -----------------------------------------------------------------------------*/
55396 SWIG_Python_FixMethods(PyMethodDef
*methods
,
55397 swig_const_info
*const_table
,
55398 swig_type_info
**types
,
55399 swig_type_info
**types_initial
) {
55401 for (i
= 0; methods
[i
].ml_name
; ++i
) {
55402 char *c
= methods
[i
].ml_doc
;
55403 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
55405 swig_const_info
*ci
= 0;
55406 char *name
= c
+ 10;
55407 for (j
= 0; const_table
[j
].type
; ++j
) {
55408 if (strncmp(const_table
[j
].name
, name
,
55409 strlen(const_table
[j
].name
)) == 0) {
55410 ci
= &(const_table
[j
]);
55415 size_t shift
= (ci
->ptype
) - types
;
55416 swig_type_info
*ty
= types_initial
[shift
];
55417 size_t ldoc
= (c
- methods
[i
].ml_doc
);
55418 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
55419 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
55422 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
55424 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
55426 strncpy(buff
, "swig_ptr: ", 10);
55428 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
55429 methods
[i
].ml_doc
= ndoc
;
55441 /* -----------------------------------------------------------------------------*
55442 * Partial Init method
55443 * -----------------------------------------------------------------------------*/
55448 SWIGEXPORT
void SWIG_init(void) {
55451 /* Fix SwigMethods to carry the callback ptrs when needed */
55452 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
55454 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
55455 d
= PyModule_GetDict(m
);
55457 SWIG_InitializeModule(0);
55458 SWIG_InstallConstants(d
,swig_const_table
);
55462 #ifndef wxPyUSE_EXPORT
55463 // Make our API structure a CObject so other modules can import it
55464 // from this module.
55465 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
55466 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
55470 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
55471 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
55472 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
55473 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
55474 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
55475 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
55476 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
55477 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
55478 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
55479 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
55480 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
55481 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
55482 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
55483 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
55484 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
55485 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
55486 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
55487 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
55488 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
55489 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
55490 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
55491 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
55492 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
55493 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
55494 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
55495 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
55496 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
55497 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
55498 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
55499 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
55500 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
55501 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
55502 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
55503 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
55504 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
55505 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
55506 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
55507 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
55508 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
55509 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
55510 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
55511 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
55512 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
55513 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
55514 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
55515 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
55516 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
55517 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
55518 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
55519 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
55520 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
55521 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
55522 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
55523 SWIG_Python_SetConstant(d
, "ST_DOTS_MIDDLE",SWIG_From_int(static_cast< int >(wxST_DOTS_MIDDLE
)));
55524 SWIG_Python_SetConstant(d
, "ST_DOTS_END",SWIG_From_int(static_cast< int >(wxST_DOTS_END
)));
55525 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
55526 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
55527 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
55528 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
55529 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
55530 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
55531 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
55532 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
55533 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
55534 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
55535 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
55536 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
55537 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
55538 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
55539 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
55540 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
55541 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
55542 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
55543 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
55544 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
55545 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
55546 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
55547 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
55548 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
55549 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
55550 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
55551 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
55552 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
55553 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
55554 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
55555 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
55556 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
55557 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
55558 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
55559 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
55560 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
55561 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
55562 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
55563 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
55564 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
55565 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
55566 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
55567 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
55568 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
55569 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
55570 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
55571 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
55572 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
55573 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
55574 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
55575 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
55576 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
55577 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
55578 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
55579 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
55580 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
55581 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
55582 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
55583 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
55584 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
55585 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
55586 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
55587 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
55588 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
55589 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
55590 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
55591 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
55592 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
55593 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
55594 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
55595 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
55596 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
55597 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
55598 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
55599 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
55600 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
55601 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
55602 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
55603 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
55604 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
55605 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
55606 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
55607 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
55608 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
55609 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
55610 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
55611 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
55612 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
55613 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
55614 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
55615 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
55616 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
55617 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
55618 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
55619 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
55620 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
55621 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
55622 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
55623 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
55624 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
55625 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
55626 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
55627 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
55628 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
55629 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
55630 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
55631 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
55632 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
55633 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
55634 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
55635 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
55636 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
55637 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
55638 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
55639 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
55640 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
55641 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
55642 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
55643 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
55644 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
55645 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
55646 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
55647 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
55648 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
55649 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
55650 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
55651 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
55652 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
55653 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
55654 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
55655 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
55656 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
55657 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
55658 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
55659 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
55660 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
55661 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
55662 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
55663 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
55664 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
55665 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
55666 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
55667 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
55668 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
55669 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
55670 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
55671 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
55672 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
55673 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
55674 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
55675 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
55676 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
55677 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
55678 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
55679 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
55680 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
55681 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
55682 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
55683 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
55684 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
55685 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
55686 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
55687 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
55688 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
55689 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
55690 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
55691 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
55692 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
55693 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
55694 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
55695 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
55696 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
55697 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
55698 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
55699 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
55700 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
55701 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
55702 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
55703 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
55704 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
55705 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
55706 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
55707 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
55708 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
55709 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
55710 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
55711 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
55712 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
55713 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
55714 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
55715 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
55716 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
55717 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
55718 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
55719 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
55720 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
55721 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
55722 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
55723 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
55724 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
55725 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
55726 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
55727 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
55728 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
55729 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
55730 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
55731 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
55732 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
55733 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
55734 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
55735 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
55736 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
55737 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
55738 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
55739 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
55740 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
55741 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
55742 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
55743 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
55744 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
55745 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
55746 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
55747 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
55748 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
55749 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
55750 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
55751 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
55752 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
55753 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
55754 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
55755 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
55756 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
55757 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
55758 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
55759 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
55760 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
55761 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
55762 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
55763 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
55764 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
55765 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
55766 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
55767 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
55768 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
55769 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
55770 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
55771 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
55772 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
55773 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
55774 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
55775 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
55776 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
55777 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
55778 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
55779 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
55780 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
55781 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
55782 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
55783 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
55784 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
55785 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
55786 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
55787 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
55788 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
55789 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
55790 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
55791 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
55792 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
55793 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
55794 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
55795 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
55796 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
55797 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
55798 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
55799 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
55800 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
55801 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
55802 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
55803 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
55804 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
55805 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
55806 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
55807 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
55808 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
55809 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
55810 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
55811 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
55812 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
55813 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
55814 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
55815 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
55816 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
55817 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
55818 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
55819 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
55820 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
55821 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
55822 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
55823 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
55824 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
55825 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
55826 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
55827 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
55828 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
55829 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
55830 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
55831 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
55832 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
55833 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
55834 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
55835 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
55836 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
55837 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
55838 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
55839 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
55840 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
55841 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
55842 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
55843 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
55844 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
55845 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
55846 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
55847 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
55848 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
55849 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
55850 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
55851 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
55852 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
55853 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
55854 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
55855 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
55856 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
55857 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
55858 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
55859 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
55860 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
55861 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
55862 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
55863 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
55864 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
55865 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
55866 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
55867 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
55868 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
55869 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
55870 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
55871 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
55872 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
55873 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
55874 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
55875 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
55876 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
55877 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
55878 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
55879 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
55880 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
55881 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
55882 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
55883 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
55884 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
55885 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
55886 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
55887 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
55888 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
55889 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
55890 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
55891 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
55892 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
55893 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
55894 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
55895 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
55896 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
55897 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
55898 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
55899 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
55900 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
55901 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
55902 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
55903 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
55904 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
55905 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
55906 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
55907 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
55908 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
55909 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
55910 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
55911 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
55912 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
55913 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
55914 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
55915 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
55916 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
55917 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
55918 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
55919 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
55920 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
55921 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
55922 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
55923 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
55924 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
55925 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
55926 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
55927 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
55928 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
55929 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
55930 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
55931 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
55932 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
55933 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
55934 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
55935 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
55936 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
55937 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
55938 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
55939 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
55940 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
55941 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
55942 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
55943 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
55944 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
55945 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
55946 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
55947 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
55948 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
55949 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
55950 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
55951 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
55952 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
55953 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
55954 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
55955 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
55956 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
55957 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
55958 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
55959 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
55960 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
55961 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
55962 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
55963 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
55964 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
55965 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
55966 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
55967 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
55968 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
55969 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
55970 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
55971 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
55972 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
55973 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
55974 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
55975 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
55976 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
55977 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
55978 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
55979 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
55980 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
55981 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
55982 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
55983 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
55984 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
55985 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
55986 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
55987 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
55988 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
55989 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
55990 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
55991 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
55992 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
55993 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
55994 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
55995 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
55996 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
55997 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
55998 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
55999 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
56000 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
56001 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
56002 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
56003 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
56004 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
56005 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
56006 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
56007 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
56008 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
56009 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
56010 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
56011 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
56012 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
56013 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
56014 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
56015 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
56016 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
56017 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
56018 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
56019 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
56020 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
56021 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
56022 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
56023 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
56024 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
56025 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
56026 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
56027 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
56028 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
56029 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
56030 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
56031 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
56032 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
56033 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
56034 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
56035 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
56036 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
56037 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
56038 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
56039 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
56040 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
56041 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
56042 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
56043 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
56044 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
56045 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
56046 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
56047 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
56048 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
56049 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
56050 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
56051 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
56052 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
56053 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
56054 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
56055 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
56056 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
56057 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
56058 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
56059 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
56060 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
56061 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
56062 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
56063 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
56064 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
56065 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
56066 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
56067 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
56068 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
56069 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
56070 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
56071 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
56072 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
56073 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
56074 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
56075 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
56076 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
56077 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
56078 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
56079 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
56080 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
56081 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
56082 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
56083 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
56084 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
56085 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
56086 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
56087 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
56088 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
56089 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
56090 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
56091 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
56092 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
56093 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
56094 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
56095 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
56096 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
56097 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
56098 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
56099 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
56100 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
56101 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
56102 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
56103 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
56104 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
56105 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
56106 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
56107 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
56108 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
56109 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
56110 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
56111 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
56112 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
56113 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
56114 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
56115 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
56116 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
56117 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
56118 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
56119 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
56120 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
56121 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
56122 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
56123 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
56124 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
56125 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
56126 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
56127 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
56128 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
56129 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
56130 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
56131 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
56132 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
56133 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
56134 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
56135 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
56136 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
56137 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
56138 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
56139 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
56140 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
56141 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
56143 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
56146 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
56148 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
56149 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
56150 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
56151 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
56152 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
56153 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
56154 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
56155 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
56156 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
56157 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
56158 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
56159 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
56160 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
56161 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
56162 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
56163 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
56164 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
56165 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
56166 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
56167 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
56168 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
56169 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
56170 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
56171 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
56172 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
56173 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
56174 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
56175 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
56176 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
56177 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
56178 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
56179 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
56180 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
56181 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
56182 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
56183 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
56184 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
56185 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
56186 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
56187 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
56188 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
56189 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
56190 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
56191 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
56192 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
56193 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
56194 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
56195 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
56196 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
56197 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
56198 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
56199 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
56200 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
56201 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
56202 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
56203 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
56204 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
56205 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
56206 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
56207 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
56208 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
56209 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
56210 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
56211 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
56212 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
56213 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
56214 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
56215 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
56216 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
56217 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
56218 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
56219 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
56220 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
56221 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
56222 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
56223 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
56224 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
56225 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
56226 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
56227 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
56228 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
56229 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
56230 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
56231 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
56232 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
56233 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
56234 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
56235 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
56236 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
56237 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
56238 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
56239 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
56240 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
56241 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
56242 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
56243 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
56244 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
56245 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
56246 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
56247 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
56248 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
56249 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
56250 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
56251 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
56252 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
56253 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
56254 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
56255 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
56256 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
56257 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
56258 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
56259 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
56260 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
56261 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
56262 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
56263 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
56264 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
56265 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
56266 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
56267 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
56268 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
56269 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
56270 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
56271 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
56272 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
56273 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
56274 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
56275 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
56276 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
56277 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
56278 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
56279 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
56280 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
56281 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
56282 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
56283 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
56284 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
56285 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
56286 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
56287 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
56288 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
56289 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
56290 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
56291 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
56292 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
56293 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
56294 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
56295 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
56296 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
56297 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
56298 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
56299 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
56300 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
56301 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
56302 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
56303 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
56304 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
56305 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
56306 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
56307 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
56308 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
56309 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
56310 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
56311 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
56312 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
56313 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
56314 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
56315 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
56316 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
56317 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
56318 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
56319 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
56320 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
56321 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
56322 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
56323 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
56324 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
56325 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
56326 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
56327 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
56328 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
56329 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
56330 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
56331 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
56332 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
56333 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
56334 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
56335 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
56336 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
56337 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
56338 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
56339 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
56340 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
56341 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
56342 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
56343 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
56344 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
56345 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
56346 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
56347 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
56348 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
56349 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
56350 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
56351 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
56353 // Initialize threading, some globals and such
56357 // Although these are defined in __version__ they need to be here too so
56358 // that an assert can be done to ensure that the wxPython and the wxWindows
56360 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
56361 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
56362 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));