1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAppTraits swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxButton swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCaret swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[21]
2488 #define SWIGTYPE_p_wxCloseEvent swig_types[22]
2489 #define SWIGTYPE_p_wxColour swig_types[23]
2490 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2492 #define SWIGTYPE_p_wxControl swig_types[26]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2494 #define SWIGTYPE_p_wxCursor swig_types[28]
2495 #define SWIGTYPE_p_wxDC swig_types[29]
2496 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDateTime swig_types[31]
2498 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2501 #define SWIGTYPE_p_wxEraseEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEventLoop swig_types[37]
2504 #define SWIGTYPE_p_wxEventLoopActivator swig_types[38]
2505 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2506 #define SWIGTYPE_p_wxFSFile swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFileSystemHandler swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFrame swig_types[46]
2513 #define SWIGTYPE_p_wxGBPosition swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGBSpan swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHelpEvent__Origin swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2522 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2523 #define SWIGTYPE_p_wxImage swig_types[57]
2524 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2525 #define SWIGTYPE_p_wxImageHistogram swig_types[59]
2526 #define SWIGTYPE_p_wxImage_HSVValue swig_types[60]
2527 #define SWIGTYPE_p_wxImage_RGBValue swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxInputStream swig_types[64]
2531 #define SWIGTYPE_p_wxInternetFSHandler swig_types[65]
2532 #define SWIGTYPE_p_wxItemContainer swig_types[66]
2533 #define SWIGTYPE_p_wxJPEGHandler swig_types[67]
2534 #define SWIGTYPE_p_wxKeyEvent swig_types[68]
2535 #define SWIGTYPE_p_wxLayoutConstraints swig_types[69]
2536 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBarBase swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMoveEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxOutputStream swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaperSize swig_types[91]
2558 #define SWIGTYPE_p_wxPoint swig_types[92]
2559 #define SWIGTYPE_p_wxPoint2D swig_types[93]
2560 #define SWIGTYPE_p_wxPropagateOnce swig_types[94]
2561 #define SWIGTYPE_p_wxPropagationDisabler swig_types[95]
2562 #define SWIGTYPE_p_wxPyApp swig_types[96]
2563 #define SWIGTYPE_p_wxPyCommandEvent swig_types[97]
2564 #define SWIGTYPE_p_wxPyDropTarget swig_types[98]
2565 #define SWIGTYPE_p_wxPyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[100]
2567 #define SWIGTYPE_p_wxPyImageHandler swig_types[101]
2568 #define SWIGTYPE_p_wxPyInputStream swig_types[102]
2569 #define SWIGTYPE_p_wxPySizer swig_types[103]
2570 #define SWIGTYPE_p_wxPyValidator swig_types[104]
2571 #define SWIGTYPE_p_wxQuantize swig_types[105]
2572 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[106]
2573 #define SWIGTYPE_p_wxRealPoint swig_types[107]
2574 #define SWIGTYPE_p_wxRect swig_types[108]
2575 #define SWIGTYPE_p_wxRegion swig_types[109]
2576 #define SWIGTYPE_p_wxScrollEvent swig_types[110]
2577 #define SWIGTYPE_p_wxScrollWinEvent swig_types[111]
2578 #define SWIGTYPE_p_wxSetCursorEvent swig_types[112]
2579 #define SWIGTYPE_p_wxShowEvent swig_types[113]
2580 #define SWIGTYPE_p_wxSize swig_types[114]
2581 #define SWIGTYPE_p_wxSizeEvent swig_types[115]
2582 #define SWIGTYPE_p_wxSizer swig_types[116]
2583 #define SWIGTYPE_p_wxSizerItem swig_types[117]
2584 #define SWIGTYPE_p_wxStaticBox swig_types[118]
2585 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[119]
2586 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[120]
2587 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[121]
2588 #define SWIGTYPE_p_wxTIFFHandler swig_types[122]
2589 #define SWIGTYPE_p_wxToolTip swig_types[123]
2590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[124]
2591 #define SWIGTYPE_p_wxValidator swig_types[125]
2592 #define SWIGTYPE_p_wxVisualAttributes swig_types[126]
2593 #define SWIGTYPE_p_wxWindow swig_types[127]
2594 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[128]
2595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[129]
2596 #define SWIGTYPE_p_wxXPMHandler swig_types[130]
2597 #define SWIGTYPE_p_wxZipFSHandler swig_types[131]
2598 static swig_type_info
*swig_types
[133];
2599 static swig_module_info swig_module
= {swig_types
, 132, 0, 0, 0, 0};
2600 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2601 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2603 /* -------- TYPES TABLE (END) -------- */
2605 #if (PY_VERSION_HEX <= 0x02000000)
2606 # if !defined(SWIG_PYTHON_CLASSIC)
2607 # error "This python version requires to use swig with the '-classic' option"
2610 #if (PY_VERSION_HEX <= 0x02020000)
2611 # error "This python version requires to use swig with the '-nomodern' option"
2613 #if (PY_VERSION_HEX <= 0x02020000)
2614 # error "This python version requires to use swig with the '-nomodernargs' option"
2617 # error "This python version requires to use swig with the '-nofastunpack' option"
2620 /*-----------------------------------------------
2621 @(target):= _core_.so
2622 ------------------------------------------------*/
2623 #define SWIG_init init_core_
2625 #define SWIG_name "_core_"
2627 #define SWIGVERSION 0x010329
2630 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2631 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2634 #include <stdexcept>
2638 class PyObject_ptr
{
2643 PyObject_ptr() :_obj(0)
2647 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2652 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2654 if (initial_ref
) Py_XINCREF(_obj
);
2657 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2659 Py_XINCREF(item
._obj
);
2670 operator PyObject
*() const
2675 PyObject
*operator->() const
2684 struct PyObject_var
: PyObject_ptr
{
2685 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2687 PyObject_var
& operator = (PyObject
* obj
)
2697 #include "wx/wxPython/wxPython_int.h"
2698 #include "wx/wxPython/pyclasses.h"
2699 #include "wx/wxPython/twoitem.h"
2702 #ifndef wxPyUSE_EXPORT
2703 // Helper functions for dealing with SWIG objects and such. These are
2704 // located here so they know about the SWIG types and functions declared
2705 // in the wrapper code.
2707 #include <wx/hashmap.h>
2708 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2711 // Maintains a hashmap of className to swig_type_info pointers. Given the
2712 // name of a class either looks up the type info in the cache, or scans the
2713 // SWIG tables for it.
2714 extern PyObject
* wxPyPtrTypeMap
;
2716 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2718 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2720 if (typeInfoCache
== NULL
)
2721 typeInfoCache
= new wxPyTypeInfoHashMap
;
2723 wxString
name(className
);
2724 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2727 // it wasn't in the cache, so look it up from SWIG
2728 name
.Append(wxT(" *"));
2729 swigType
= SWIG_TypeQuery(name
.mb_str());
2731 // if it still wasn't found, try looking for a mapped name
2736 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2737 (char*)(const char*)name
.mbc_str())) != NULL
) {
2738 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2739 name
.Append(wxT(" *"));
2740 swigType
= SWIG_TypeQuery(name
.mb_str());
2744 // and add it to the map if found
2745 (*typeInfoCache
)[className
] = swigType
;
2752 // Check if a class name is a type known to SWIG
2753 bool wxPyCheckSwigType(const wxChar
* className
) {
2755 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2756 return swigType
!= NULL
;
2760 // Given a pointer to a C++ object and a class name, construct a Python proxy
2762 PyObject
* wxPyConstructObject(void* ptr
,
2763 const wxChar
* className
,
2766 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2767 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2769 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2773 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2774 // Ensures that the proxy object is of the specified (or derived) type. If
2775 // not able to perform the conversion then a Python exception is set and the
2776 // error should be handled properly in the caller. Returns True on success.
2777 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2778 const wxChar
* className
) {
2780 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2781 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2783 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2788 // Make a SWIGified pointer object suitable for a .this attribute
2789 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2791 PyObject
* robj
= NULL
;
2793 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2794 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2796 robj
= PySwigObject_New(ptr
, swigType
, 0);
2801 // Python's PyInstance_Check does not return True for instances of new-style
2802 // classes. This should get close enough for both new and old classes but I
2803 // should re-evaluate the need for doing instance checks...
2804 bool wxPyInstance_Check(PyObject
* obj
) {
2805 return PyObject_HasAttrString(obj
, "__class__") != 0;
2809 // This one checks if the object is an instance of a SWIG proxy class (it has
2810 // a .this attribute, and the .this attribute is a PySwigObject.)
2811 bool wxPySwigInstance_Check(PyObject
* obj
) {
2812 static PyObject
* this_str
= NULL
;
2813 if (this_str
== NULL
)
2814 this_str
= PyString_FromString("this");
2816 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2818 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2819 Py_DECREF(this_attr
);
2828 // Export a C API in a struct. Other modules will be able to load this from
2829 // the wx._core_ module and will then have safe access to these functions,
2830 // even if they are located in another shared library.
2831 static wxPyCoreAPI API
= {
2834 wxPyConstructObject
,
2838 wxPyBeginAllowThreads
,
2839 wxPyEndAllowThreads
,
2840 wxPyBeginBlockThreads
,
2841 wxPyEndBlockThreads
,
2853 wxPoint_LIST_helper
,
2854 wxBitmap_LIST_helper
,
2855 wxString_LIST_helper
,
2856 wxAcceleratorEntry_LIST_helper
,
2865 wxPySimple_typecheck
,
2868 wxPyCBH_setCallbackInfo
,
2869 wxPyCBH_findCallback
,
2870 wxPyCBH_callCallback
,
2871 wxPyCBH_callCallbackObj
,
2877 wxPy2int_seq_helper
,
2878 wxPy4int_seq_helper
,
2879 wxArrayString2PyList_helper
,
2880 wxArrayInt2PyList_helper
,
2882 wxPyClientData_dtor
,
2884 wxPyOORClientData_dtor
,
2886 wxPyCBInputStream_create
,
2887 wxPyCBInputStream_copy
,
2890 wxPySwigInstance_Check
,
2894 wxArrayDouble2PyList_helper
,
2895 wxPoint2D_LIST_helper
2901 #if !WXWIN_COMPATIBILITY_2_4
2902 #define wxHIDE_READONLY 0
2906 #define SWIG_From_long PyInt_FromLong
2909 SWIGINTERNINLINE PyObject
*
2910 SWIG_From_int (int value
)
2912 return SWIG_From_long (value
);
2915 static const wxString
wxPyEmptyString(wxEmptyString
);
2916 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2917 return self
->GetClassInfo()->GetClassName();
2919 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2924 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2930 # define LLONG_MIN LONG_LONG_MIN
2933 # define LLONG_MAX LONG_LONG_MAX
2936 # define ULLONG_MAX ULONG_LONG_MAX
2941 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2943 if (PyNumber_Check(obj
)) {
2944 if (val
) *val
= PyInt_AsLong(obj
);
2947 return SWIG_TypeError
;
2952 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2955 int res
= SWIG_AsVal_long (obj
, &v
);
2956 if (SWIG_IsOK(res
)) {
2957 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2958 return SWIG_OverflowError
;
2960 if (val
) *val
= static_cast< int >(v
);
2966 SWIGINTERN
bool wxSize___eq__(wxSize
*self
,PyObject
*other
){
2967 wxSize temp
, *obj
= &temp
;
2968 if ( other
== Py_None
) return false;
2969 if ( ! wxSize_helper(other
, &obj
) ) {
2973 return self
->operator==(*obj
);
2975 SWIGINTERN
bool wxSize___ne__(wxSize
*self
,PyObject
*other
){
2976 wxSize temp
, *obj
= &temp
;
2977 if ( other
== Py_None
) return true;
2978 if ( ! wxSize_helper(other
, &obj
)) {
2982 return self
->operator!=(*obj
);
2989 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2991 if (PyNumber_Check(obj
)) {
2992 if (val
) *val
= PyFloat_AsDouble(obj
);
2995 return SWIG_TypeError
;
3000 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3003 int res
= SWIG_AsVal_double (obj
, &v
);
3004 if (SWIG_IsOK(res
)) {
3005 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3006 return SWIG_OverflowError
;
3008 if (val
) *val
= static_cast< float >(v
);
3014 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
3015 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3016 PyObject
* tup
= PyTuple_New(2);
3017 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3018 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3019 wxPyEndBlockThreads(blocked
);
3023 #define SWIG_From_double PyFloat_FromDouble
3025 SWIGINTERN
bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
*other
){
3026 wxRealPoint temp
, *obj
= &temp
;
3027 if ( other
== Py_None
) return false;
3028 if ( ! wxRealPoint_helper(other
, &obj
) ) {
3032 return self
->operator==(*obj
);
3034 SWIGINTERN
bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
*other
){
3035 wxRealPoint temp
, *obj
= &temp
;
3036 if ( other
== Py_None
) return true;
3037 if ( ! wxRealPoint_helper(other
, &obj
)) {
3041 return self
->operator!=(*obj
);
3043 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
3047 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 PyObject
* tup
= PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
3051 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
3052 wxPyEndBlockThreads(blocked
);
3055 SWIGINTERN
bool wxPoint___eq__(wxPoint
*self
,PyObject
*other
){
3056 wxPoint temp
, *obj
= &temp
;
3057 if ( other
== Py_None
) return false;
3058 if ( ! wxPoint_helper(other
, &obj
) ) {
3062 return self
->operator==(*obj
);
3064 SWIGINTERN
bool wxPoint___ne__(wxPoint
*self
,PyObject
*other
){
3065 wxPoint temp
, *obj
= &temp
;
3066 if ( other
== Py_None
) return true;
3067 if ( ! wxPoint_helper(other
, &obj
)) {
3071 return self
->operator!=(*obj
);
3073 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
3077 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
3078 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3079 PyObject
* tup
= PyTuple_New(2);
3080 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3081 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3082 wxPyEndBlockThreads(blocked
);
3085 SWIGINTERN
bool wxRect___eq__(wxRect
*self
,PyObject
*other
){
3086 wxRect temp
, *obj
= &temp
;
3087 if ( other
== Py_None
) return false;
3088 if ( ! wxRect_helper(other
, &obj
) ) {
3092 return self
->operator==(*obj
);
3094 SWIGINTERN
bool wxRect___ne__(wxRect
*self
,PyObject
*other
){
3095 wxRect temp
, *obj
= &temp
;
3096 if ( other
== Py_None
) return true;
3097 if ( ! wxRect_helper(other
, &obj
)) {
3101 return self
->operator!=(*obj
);
3103 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3106 self
->width
= width
;
3107 self
->height
= height
;
3109 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3110 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3111 PyObject
* tup
= PyTuple_New(4);
3112 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3113 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3114 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3115 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3116 wxPyEndBlockThreads(blocked
);
3120 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3123 wxRect
dest(0,0,0,0);
3126 reg1
.Intersect(reg2
);
3127 dest
= reg1
.GetBox();
3129 if (dest
!= wxRect(0,0,0,0)) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 wxRect
* newRect
= new wxRect(dest
);
3132 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3133 wxPyEndBlockThreads(blocked
);
3140 SWIGINTERN
bool wxPoint2D___eq__(wxPoint2D
*self
,PyObject
*other
){
3141 wxPoint2D temp
, *obj
= &temp
;
3142 if ( other
== Py_None
) return false;
3143 if ( ! wxPoint2D_helper(other
, &obj
) ) {
3147 return self
->operator==(*obj
);
3149 SWIGINTERN
bool wxPoint2D___ne__(wxPoint2D
*self
,PyObject
*other
){
3150 wxPoint2D temp
, *obj
= &temp
;
3151 if ( other
== Py_None
) return true;
3152 if ( ! wxPoint2D_helper(other
, &obj
)) {
3156 return self
->operator!=(*obj
);
3158 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3162 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3163 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3164 PyObject
* tup
= PyTuple_New(2);
3165 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3166 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3167 wxPyEndBlockThreads(blocked
);
3171 #include "wx/wxPython/pyistream.h"
3173 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3174 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3176 return new wxPyInputStream(wxis
);
3181 SWIGINTERN swig_type_info
*
3182 SWIG_pchar_descriptor()
3184 static int init
= 0;
3185 static swig_type_info
* info
= 0;
3187 info
= SWIG_TypeQuery("_p_char");
3194 SWIGINTERNINLINE PyObject
*
3195 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3198 if (size
> INT_MAX
) {
3199 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3200 return pchar_descriptor
?
3201 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3203 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3206 return SWIG_Py_Void();
3211 SWIGINTERNINLINE PyObject
*
3212 SWIG_From_char (char c
)
3214 return SWIG_FromCharPtrAndSize(&c
,1);
3218 SWIGINTERNINLINE PyObject
*
3219 SWIG_From_unsigned_SS_long (unsigned long value
)
3221 return (value
> LONG_MAX
) ?
3222 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3226 SWIGINTERNINLINE PyObject
*
3227 SWIG_From_size_t (size_t value
)
3229 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3234 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3236 if (PyString_Check(obj
)) {
3237 char *cstr
; Py_ssize_t len
;
3238 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3242 In python the user should not be able to modify the inner
3243 string representation. To warranty that, if you define
3244 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3245 buffer is always returned.
3247 The default behavior is just to return the pointer value,
3250 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3251 if (*alloc
!= SWIG_OLDOBJ
)
3253 if (*alloc
== SWIG_NEWOBJ
)
3256 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3257 *alloc
= SWIG_NEWOBJ
;
3261 *alloc
= SWIG_OLDOBJ
;
3264 *cptr
= PyString_AsString(obj
);
3267 if (psize
) *psize
= len
+ 1;
3270 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3271 if (pchar_descriptor
) {
3273 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3274 if (cptr
) *cptr
= (char *) vptr
;
3275 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3276 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3281 return SWIG_TypeError
;
3286 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3288 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3289 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3290 if (SWIG_IsOK(res
)) {
3291 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3292 if (csize
<= size
) {
3294 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3295 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3297 if (alloc
== SWIG_NEWOBJ
) {
3299 res
= SWIG_DelNewMask(res
);
3303 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3305 return SWIG_TypeError
;
3310 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3312 int res
= SWIG_AsCharArray(obj
, val
, 1);
3313 if (!SWIG_IsOK(res
)) {
3315 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3316 if (SWIG_IsOK(res
)) {
3317 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3318 if (val
) *val
= static_cast< char >(v
);
3320 res
= SWIG_OverflowError
;
3327 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3328 // We use only strings for the streams, not unicode
3329 PyObject
* str
= PyObject_Str(obj
);
3331 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3334 self
->Write(PyString_AS_STRING(str
),
3335 PyString_GET_SIZE(str
));
3339 #include "wx/wxPython/pyistream.h"
3342 class wxPyFileSystemHandler
: public wxFileSystemHandler
3345 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3347 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3348 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3349 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3350 DEC_PYCALLBACK_STRING__pure(FindNext
);
3352 wxString
GetProtocol(const wxString
& location
) {
3353 return wxFileSystemHandler::GetProtocol(location
);
3356 wxString
GetLeftLocation(const wxString
& location
) {
3357 return wxFileSystemHandler::GetLeftLocation(location
);
3360 wxString
GetAnchor(const wxString
& location
) {
3361 return wxFileSystemHandler::GetAnchor(location
);
3364 wxString
GetRightLocation(const wxString
& location
) {
3365 return wxFileSystemHandler::GetRightLocation(location
);
3368 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3369 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3376 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3377 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3378 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3379 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3383 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3385 if (obj
== Py_True
) {
3386 if (val
) *val
= true;
3388 } else if (obj
== Py_False
) {
3389 if (val
) *val
= false;
3393 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3394 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3399 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3400 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3401 return fname
.GetFullPath();
3404 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3407 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3410 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3411 const wxBitmap
& bitmap
,
3413 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3416 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3418 if (! PyString_Check(data
)) {
3419 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3420 "Expected string object"));
3424 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3425 void* ptr
= (void*)PyString_AsString(data
);
3426 size_t size
= PyString_Size(data
);
3427 wxPyEndBlockThreads(blocked
);
3429 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3433 #include "wx/wxPython/pyistream.h"
3437 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3440 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3441 return SWIG_TypeError
;
3444 *val
= (unsigned long)v
;
3450 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3453 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3454 if (SWIG_IsOK(res
)) {
3455 if ((v
> UCHAR_MAX
)) {
3456 return SWIG_OverflowError
;
3458 if (val
) *val
= static_cast< unsigned char >(v
);
3465 SWIGINTERNINLINE PyObject
*
3466 SWIG_From_unsigned_SS_char (unsigned char value
)
3468 return SWIG_From_unsigned_SS_long (value
);
3471 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3472 wxImageHistogramEntry e
= (*self
)[key
];
3475 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3476 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3477 wxImageHistogramEntry e
= (*self
)[key
];
3480 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3481 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3484 wxImageHistogramEntry e
= (*self
)[key
];
3488 // Pull the nested class out to the top level for SWIG's sake
3489 #define wxImage_RGBValue wxImage::RGBValue
3490 #define wxImage_HSVValue wxImage::HSVValue
3492 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3493 if (width
> 0 && height
> 0)
3494 return new wxImage(width
, height
, clear
);
3498 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3499 return new wxImage(bitmap
.ConvertToImage());
3501 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3502 if (DATASIZE
!= width
*height
*3) {
3503 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3507 // Copy the source data so the wxImage can clean it up later
3508 buffer copy
= (buffer
)malloc(DATASIZE
);
3510 wxPyBLOCK_THREADS(PyErr_NoMemory());
3513 memcpy(copy
, data
, DATASIZE
);
3514 return new wxImage(width
, height
, copy
, false);
3516 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3517 if (DATASIZE
!= width
*height
*3) {
3518 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3521 if (ALPHASIZE
!= width
*height
) {
3522 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3526 // Copy the source data so the wxImage can clean it up later
3527 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3528 if (dcopy
== NULL
) {
3529 wxPyBLOCK_THREADS(PyErr_NoMemory());
3532 memcpy(dcopy
, data
, DATASIZE
);
3534 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3535 if (acopy
== NULL
) {
3536 wxPyBLOCK_THREADS(PyErr_NoMemory());
3539 memcpy(acopy
, alpha
, ALPHASIZE
);
3541 return new wxImage(width
, height
, dcopy
, acopy
, false);
3543 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3544 wxSize
size(self
->GetWidth(), self
->GetHeight());
3547 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3548 buffer data
= self
->GetData();
3549 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3551 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3554 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3555 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3556 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3559 buffer copy
= (buffer
)malloc(DATASIZE
);
3561 wxPyBLOCK_THREADS(PyErr_NoMemory());
3564 memcpy(copy
, data
, DATASIZE
);
3565 self
->SetData(copy
, false);
3566 // wxImage takes ownership of copy...
3568 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3569 buffer data
= self
->GetData();
3570 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3572 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3575 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3576 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3577 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3580 self
->SetData(data
, true);
3582 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3583 buffer data
= self
->GetAlpha();
3587 int len
= self
->GetWidth() * self
->GetHeight();
3589 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3593 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3594 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3595 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3598 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3599 if (acopy
== NULL
) {
3600 wxPyBLOCK_THREADS(PyErr_NoMemory());
3603 memcpy(acopy
, alpha
, ALPHASIZE
);
3604 self
->SetAlpha(acopy
, false);
3605 // wxImage takes ownership of acopy...
3607 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3608 buffer data
= self
->GetAlpha();
3609 int len
= self
->GetWidth() * self
->GetHeight();
3611 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3614 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3615 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3616 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3619 self
->SetAlpha(alpha
, true);
3621 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3622 wxList
& list
= wxImage::GetHandlers();
3623 return wxPy_ConvertList(&list
);
3625 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3626 wxBitmap
bitmap(*self
, depth
);
3629 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3630 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3631 wxBitmap
bitmap( mono
, 1 );
3635 wxImage
* _ImageFromBuffer(int width
, int height
,
3636 buffer data
, int DATASIZE
,
3637 buffer alpha
=NULL
, int ALPHASIZE
=0)
3639 if (DATASIZE
!= width
*height
*3) {
3640 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3643 if (alpha
!= NULL
) {
3644 if (ALPHASIZE
!= width
*height
) {
3645 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3648 return new wxImage(width
, height
, data
, alpha
, true);
3650 return new wxImage(width
, height
, data
, true);
3653 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3654 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3655 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3656 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3657 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3658 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3659 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3660 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3661 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3662 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3663 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3664 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3665 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3666 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3667 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3669 #include <wx/quantize.h>
3671 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3672 return wxQuantize::Quantize(src
, dest
,
3675 NULL
, // eightBitData
3678 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3679 if (PyCallable_Check(func
)) {
3680 self
->Connect(id
, lastId
, eventType
,
3681 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3682 new wxPyCallback(func
));
3684 else if (func
== Py_None
) {
3685 self
->Disconnect(id
, lastId
, eventType
,
3686 (wxObjectEventFunction
)
3687 &wxPyCallback::EventThunker
);
3691 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3694 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3695 return self
->Disconnect(id
, lastId
, eventType
,
3696 (wxObjectEventFunction
)
3697 &wxPyCallback::EventThunker
);
3699 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3700 if (_self
&& _self
!= Py_None
) {
3701 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3704 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3706 self
->SetClientObject(NULL
); // This will delete it too
3712 #define wxEVT_HOTKEY -9999
3715 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3716 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3718 Py_INCREF(data
->m_obj
);
3725 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3726 wxPyClientData
* data
= new wxPyClientData(clientData
);
3727 self
->SetClientObject(data
);
3729 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3731 return self
->GetUnicodeKey();
3736 SWIGINTERN
void wxKeyEvent_SetUnicodeKey(wxKeyEvent
*self
,int uniChar
){
3738 self
->m_uniChar
= uniChar
;
3742 SWIGINTERNINLINE PyObject
*
3743 SWIG_From_unsigned_SS_int (unsigned int value
)
3745 return SWIG_From_unsigned_SS_long (value
);
3750 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3753 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3754 if (SWIG_IsOK(res
)) {
3755 if ((v
> UINT_MAX
)) {
3756 return SWIG_OverflowError
;
3758 if (val
) *val
= static_cast< unsigned int >(v
);
3764 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3765 self
->m_size
= size
;
3767 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3768 int count
= self
->GetNumberOfFiles();
3769 wxString
* files
= self
->GetFiles();
3770 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3771 PyObject
* list
= PyList_New(count
);
3774 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3775 wxPyEndBlockThreads(blocked
);
3779 for (int i
=0; i
<count
; i
++) {
3780 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3782 wxPyEndBlockThreads(blocked
);
3787 SWIGINTERN wxPyApp
*new_wxPyApp(){
3788 wxPythonApp
= new wxPyApp();
3791 SWIGINTERN
int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
3792 SWIGINTERN
bool wxPyApp_IsDisplayAvailable(){
3793 return wxPyTestDisplayAvailable();
3796 void wxApp_CleanUp() {
3801 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3807 SWIGINTERNINLINE PyObject
*
3808 SWIG_FromCharPtr(const char *cptr
)
3810 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3814 #if 0 // #ifdef __WXMAC__
3816 // A dummy class that raises an exception if used...
3820 wxEventLoop() { wxPyRaiseNotImplemented(); }
3821 int Run() { return 0; }
3822 void Exit(int rc
= 0) {}
3823 bool Pending() const { return false; }
3824 bool Dispatch() { return false; }
3825 bool IsRunning() const { return false; }
3826 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3827 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3832 #include <wx/evtloop.h>
3838 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3839 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3840 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3841 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3842 wxWindowList
& list
= self
->GetChildren();
3843 return wxPy_ConvertList(&list
);
3845 SWIGINTERN
void wxWindow_SetDoubleBuffered(wxWindow
*self
,bool on
){}
3846 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3848 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3853 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3860 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3861 return wxPyGetWinHandle(self
);
3863 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3864 self
->AssociateHandle((WXWidget
)handle
);
3866 SWIGINTERN
void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
3868 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3869 return wxWindow::FindWindowById(id
, parent
);
3872 wxWindow
* wxFindWindowByName( const wxString
& name
,
3873 const wxWindow
*parent
= NULL
) {
3874 return wxWindow::FindWindowByName(name
, parent
);
3877 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3878 const wxWindow
*parent
= NULL
) {
3879 return wxWindow::FindWindowByLabel(label
, parent
);
3884 #include <wx/msw/private.h> // to get wxGetWindowId
3888 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3890 WXHWND hWnd
= (WXHWND
)_hWnd
;
3891 long id
= wxGetWindowId(hWnd
);
3892 wxWindow
* win
= new wxWindow
;
3894 parent
->AddChild(win
);
3895 win
->SetEventHandler(win
);
3898 win
->SubclassWin(hWnd
);
3899 win
->AdoptAttributesFromHWND();
3900 win
->SetupColours();
3903 wxPyRaiseNotImplemented();
3909 PyObject
* GetTopLevelWindows() {
3910 return wxPy_ConvertList(&wxTopLevelWindows
);
3914 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3915 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3916 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3918 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3921 SWIGINTERNINLINE
int
3922 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3925 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3926 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3930 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3931 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3932 wxMenuItemList
& list
= self
->GetMenuItems();
3933 return wxPy_ConvertList(&list
);
3935 SWIGINTERN
void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
3936 SWIGINTERN wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
3937 SWIGINTERN
void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
3938 SWIGINTERN wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
3939 SWIGINTERN
void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
3940 SWIGINTERN wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
3941 SWIGINTERN
void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){ self
->SetBitmap( bmpChecked
); }
3942 SWIGINTERN
void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
3943 SWIGINTERN wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
3944 SWIGINTERN
void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
3945 SWIGINTERN
int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
3946 SWIGINTERN
int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
3947 SWIGINTERN
bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
3948 SWIGINTERN
void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
3949 SWIGINTERN
void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
3950 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3951 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3953 wxPyClientData
* data
= new wxPyClientData(clientData
);
3954 return self
->Append(item
, data
);
3956 return self
->Append(item
);
3958 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,unsigned int pos
,PyObject
*clientData
=NULL
){
3960 wxPyClientData
* data
= new wxPyClientData(clientData
);
3961 return self
->Insert(item
, pos
, data
);
3963 return self
->Insert(item
, pos
);
3965 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,unsigned int n
){
3966 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3968 Py_INCREF(data
->m_obj
);
3975 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,unsigned int n
,PyObject
*clientData
){
3976 wxPyClientData
* data
= new wxPyClientData(clientData
);
3977 self
->SetClientObject(n
, data
);
3981 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3982 wxPyUserData
* data
= NULL
;
3984 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3985 data
= new wxPyUserData(userData
);
3986 wxPyEndBlockThreads(blocked
);
3988 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
3990 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3991 wxPyUserData
* data
= NULL
;
3993 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3994 data
= new wxPyUserData(userData
);
3995 wxPyEndBlockThreads(blocked
);
3997 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
3999 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
4000 wxPyUserData
* data
= NULL
;
4002 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4003 data
= new wxPyUserData(userData
);
4004 wxPyEndBlockThreads(blocked
);
4006 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
4009 SWIGINTERNINLINE PyObject
*
4010 SWIG_From_float (float value
)
4012 return SWIG_From_double (value
);
4015 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
4016 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
4018 Py_INCREF(data
->m_obj
);
4025 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
4026 wxPyUserData
* data
= NULL
;
4028 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4029 data
= new wxPyUserData(userData
);
4030 wxPyEndBlockThreads(blocked
);
4032 self
->SetUserData(data
);
4035 // Figure out the type of the sizer item
4037 struct wxPySizerItemInfo
{
4039 : window(NULL
), sizer(NULL
), gotSize(false),
4040 size(wxDefaultSize
), gotPos(false), pos(-1)
4051 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
4053 wxPySizerItemInfo info
;
4055 wxSize
* sizePtr
= &size
;
4057 // Find out what the type of the item is
4059 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
4064 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
4068 // try wxSize or (w,h)
4069 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
4070 info
.size
= *sizePtr
;
4071 info
.gotSize
= true;
4075 if (checkIdx
&& PyInt_Check(item
)) {
4076 info
.pos
= PyInt_AsLong(item
);
4082 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
4083 // no expected type, figure out what kind of error message to generate
4084 if ( !checkSize
&& !checkIdx
)
4085 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
4086 else if ( checkSize
&& !checkIdx
)
4087 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
4088 else if ( !checkSize
&& checkIdx
)
4089 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
4091 // can this one happen?
4092 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
4098 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
4099 if (!self
->GetClientObject())
4100 self
->SetClientObject(new wxPyOORClientData(_self
));
4102 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4104 wxPyUserData
* data
= NULL
;
4105 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4106 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4107 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4108 data
= new wxPyUserData(userData
);
4110 PyObject_SetAttrString(item
,"thisown",Py_False
);
4111 wxPyEndBlockThreads(blocked
);
4113 // Now call the real Add method if a valid item type was found
4115 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
4116 else if ( info
.sizer
)
4117 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
4118 else if (info
.gotSize
)
4119 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4120 proportion
, flag
, border
, data
);
4124 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4126 wxPyUserData
* data
= NULL
;
4127 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4128 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4129 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4130 data
= new wxPyUserData(userData
);
4132 PyObject_SetAttrString(item
,"thisown",Py_False
);
4133 wxPyEndBlockThreads(blocked
);
4135 // Now call the real Insert method if a valid item type was found
4137 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4138 else if ( info
.sizer
)
4139 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4140 else if (info
.gotSize
)
4141 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4142 proportion
, flag
, border
, data
);
4146 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4148 wxPyUserData
* data
= NULL
;
4149 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4150 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4151 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4152 data
= new wxPyUserData(userData
);
4154 PyObject_SetAttrString(item
,"thisown",Py_False
);
4155 wxPyEndBlockThreads(blocked
);
4157 // Now call the real Prepend method if a valid item type was found
4159 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4160 else if ( info
.sizer
)
4161 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4162 else if (info
.gotSize
)
4163 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4164 proportion
, flag
, border
, data
);
4168 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4169 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4170 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4171 wxPyEndBlockThreads(blocked
);
4173 return self
->Remove(info
.window
);
4174 else if ( info
.sizer
)
4175 return self
->Remove(info
.sizer
);
4176 else if ( info
.gotPos
)
4177 return self
->Remove(info
.pos
);
4181 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4182 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4183 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4184 wxPyEndBlockThreads(blocked
);
4186 return self
->Detach(info
.window
);
4187 else if ( info
.sizer
)
4188 return self
->Detach(info
.sizer
);
4189 else if ( info
.gotPos
)
4190 return self
->Detach(info
.pos
);
4194 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4195 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4196 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4197 wxPyEndBlockThreads(blocked
);
4199 return self
->GetItem(info
.window
);
4200 else if ( info
.sizer
)
4201 return self
->GetItem(info
.sizer
);
4202 else if ( info
.gotPos
)
4203 return self
->GetItem(info
.pos
);
4207 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4209 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4210 wxPyEndBlockThreads(blocked
);
4212 self
->SetItemMinSize(info
.window
, size
);
4213 else if ( info
.sizer
)
4214 self
->SetItemMinSize(info
.sizer
, size
);
4215 else if ( info
.gotPos
)
4216 self
->SetItemMinSize(info
.pos
, size
);
4218 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4219 wxSizerItemList
& list
= self
->GetChildren();
4220 return wxPy_ConvertList(&list
);
4222 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4223 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4224 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4225 wxPyEndBlockThreads(blocked
);
4227 return self
->Show(info
.window
, show
, recursive
);
4228 else if ( info
.sizer
)
4229 return self
->Show(info
.sizer
, show
, recursive
);
4230 else if ( info
.gotPos
)
4231 return self
->Show(info
.pos
, show
);
4235 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4237 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4238 wxPyEndBlockThreads(blocked
);
4240 return self
->IsShown(info
.window
);
4241 else if ( info
.sizer
)
4242 return self
->IsShown(info
.sizer
);
4243 else if ( info
.gotPos
)
4244 return self
->IsShown(info
.pos
);
4250 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4251 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4252 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4257 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4259 if (source
== Py_None
) {
4260 **obj
= wxGBPosition(-1,-1);
4263 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4266 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4268 if (source
== Py_None
) {
4269 **obj
= wxGBSpan(-1,-1);
4272 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4276 SWIGINTERN
bool wxGBPosition___eq__(wxGBPosition
*self
,PyObject
*other
){
4277 wxGBPosition temp
, *obj
= &temp
;
4278 if ( other
== Py_None
) return false;
4279 if ( ! wxGBPosition_helper(other
, &obj
) ) {
4283 return self
->operator==(*obj
);
4285 SWIGINTERN
bool wxGBPosition___ne__(wxGBPosition
*self
,PyObject
*other
){
4286 wxGBPosition temp
, *obj
= &temp
;
4287 if ( other
== Py_None
) return true;
4288 if ( ! wxGBPosition_helper(other
, &obj
)) {
4292 return self
->operator!=(*obj
);
4294 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4298 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4299 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4300 PyObject
* tup
= PyTuple_New(2);
4301 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4302 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4303 wxPyEndBlockThreads(blocked
);
4306 SWIGINTERN
bool wxGBSpan___eq__(wxGBSpan
*self
,PyObject
*other
){
4307 wxGBSpan temp
, *obj
= &temp
;
4308 if ( other
== Py_None
) return false;
4309 if ( ! wxGBSpan_helper(other
, &obj
) ) {
4313 return self
->operator==(*obj
);
4315 SWIGINTERN
bool wxGBSpan___ne__(wxGBSpan
*self
,PyObject
*other
){
4316 wxGBSpan temp
, *obj
= &temp
;
4317 if ( other
== Py_None
) return true;
4318 if ( ! wxGBSpan_helper(other
, &obj
)) {
4322 return self
->operator!=(*obj
);
4324 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4325 self
->SetRowspan(rowspan
);
4326 self
->SetColspan(colspan
);
4328 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4329 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4330 PyObject
* tup
= PyTuple_New(2);
4331 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4332 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4333 wxPyEndBlockThreads(blocked
);
4336 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4337 wxPyUserData
* data
= NULL
;
4339 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4340 data
= new wxPyUserData(userData
);
4341 wxPyEndBlockThreads(blocked
);
4343 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4345 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4346 wxPyUserData
* data
= NULL
;
4348 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4349 data
= new wxPyUserData(userData
);
4350 wxPyEndBlockThreads(blocked
);
4352 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4354 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4355 wxPyUserData
* data
= NULL
;
4357 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4358 data
= new wxPyUserData(userData
);
4359 wxPyEndBlockThreads(blocked
);
4361 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4363 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4365 self
->GetEndPos(row
, col
);
4366 return wxGBPosition(row
, col
);
4368 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4370 wxPyUserData
* data
= NULL
;
4371 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4372 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4373 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4374 data
= new wxPyUserData(userData
);
4376 PyObject_SetAttrString(item
,"thisown",Py_False
);
4377 wxPyEndBlockThreads(blocked
);
4379 // Now call the real Add method if a valid item type was found
4381 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4382 else if ( info
.sizer
)
4383 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4384 else if (info
.gotSize
)
4385 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4386 pos
, span
, flag
, border
, data
);
4394 SWIGINTERN
int EmptyString_set(PyObject
*) {
4395 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4400 SWIGINTERN PyObject
*EmptyString_get(void) {
4401 PyObject
*pyobj
= 0;
4405 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4407 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4414 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4415 PyObject
*resultobj
= 0;
4416 wxObject
*arg1
= (wxObject
*) 0 ;
4420 PyObject
*swig_obj
[1] ;
4422 if (!args
) SWIG_fail
;
4424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4425 if (!SWIG_IsOK(res1
)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4428 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= wxObject_GetClassName(arg1
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4448 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4449 PyObject
*resultobj
= 0;
4450 wxObject
*arg1
= (wxObject
*) 0 ;
4453 PyObject
*swig_obj
[1] ;
4455 if (!args
) SWIG_fail
;
4457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4458 if (!SWIG_IsOK(res1
)) {
4459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4461 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 wxObject_Destroy(arg1
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_Py_Void();
4475 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4478 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4479 return SWIG_Py_Void();
4482 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4483 PyObject
*resultobj
= 0;
4484 wxSize
*arg1
= (wxSize
*) 0 ;
4490 PyObject
*swig_obj
[2] ;
4492 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4497 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4498 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4499 if (!SWIG_IsOK(ecode2
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4502 arg2
= static_cast< int >(val2
);
4503 if (arg1
) (arg1
)->x
= arg2
;
4505 resultobj
= SWIG_Py_Void();
4512 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4513 PyObject
*resultobj
= 0;
4514 wxSize
*arg1
= (wxSize
*) 0 ;
4518 PyObject
*swig_obj
[1] ;
4520 if (!args
) SWIG_fail
;
4522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4523 if (!SWIG_IsOK(res1
)) {
4524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4526 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4527 result
= (int) ((arg1
)->x
);
4528 resultobj
= SWIG_From_int(static_cast< int >(result
));
4535 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4536 PyObject
*resultobj
= 0;
4537 wxSize
*arg1
= (wxSize
*) 0 ;
4543 PyObject
*swig_obj
[2] ;
4545 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4547 if (!SWIG_IsOK(res1
)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4550 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4551 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4552 if (!SWIG_IsOK(ecode2
)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4555 arg2
= static_cast< int >(val2
);
4556 if (arg1
) (arg1
)->y
= arg2
;
4558 resultobj
= SWIG_Py_Void();
4565 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4566 PyObject
*resultobj
= 0;
4567 wxSize
*arg1
= (wxSize
*) 0 ;
4571 PyObject
*swig_obj
[1] ;
4573 if (!args
) SWIG_fail
;
4575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4576 if (!SWIG_IsOK(res1
)) {
4577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4579 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4580 result
= (int) ((arg1
)->y
);
4581 resultobj
= SWIG_From_int(static_cast< int >(result
));
4588 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
= 0;
4590 int arg1
= (int) 0 ;
4591 int arg2
= (int) 0 ;
4592 wxSize
*result
= 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4599 char * kwnames
[] = {
4600 (char *) "w",(char *) "h", NULL
4603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4605 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4606 if (!SWIG_IsOK(ecode1
)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4609 arg1
= static_cast< int >(val1
);
4612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4613 if (!SWIG_IsOK(ecode2
)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4616 arg2
= static_cast< int >(val2
);
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4631 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4632 PyObject
*resultobj
= 0;
4633 wxSize
*arg1
= (wxSize
*) 0 ;
4636 PyObject
*swig_obj
[1] ;
4638 if (!args
) SWIG_fail
;
4640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4641 if (!SWIG_IsOK(res1
)) {
4642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4644 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= SWIG_Py_Void();
4659 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
= 0;
4661 wxSize
*arg1
= (wxSize
*) 0 ;
4662 PyObject
*arg2
= (PyObject
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 char * kwnames
[] = {
4669 (char *) "self",(char *) "other", NULL
4672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4674 if (!SWIG_IsOK(res1
)) {
4675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4677 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4680 result
= (bool)wxSize___eq__(arg1
,arg2
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4692 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
= 0;
4694 wxSize
*arg1
= (wxSize
*) 0 ;
4695 PyObject
*arg2
= (PyObject
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 char * kwnames
[] = {
4702 (char *) "self",(char *) "other", NULL
4705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4710 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4713 result
= (bool)wxSize___ne__(arg1
,arg2
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4725 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
= 0;
4727 wxSize
*arg1
= (wxSize
*) 0 ;
4733 PyObject
* obj0
= 0 ;
4734 PyObject
* obj1
= 0 ;
4735 char * kwnames
[] = {
4736 (char *) "self",(char *) "sz", NULL
4739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4741 if (!SWIG_IsOK(res1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4744 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4747 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4762 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
= 0;
4764 wxSize
*arg1
= (wxSize
*) 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4772 char * kwnames
[] = {
4773 (char *) "self",(char *) "sz", NULL
4776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4778 if (!SWIG_IsOK(res1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4781 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4784 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4799 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
= 0;
4801 wxSize
*arg1
= (wxSize
*) 0 ;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4808 char * kwnames
[] = {
4809 (char *) "self",(char *) "sz", NULL
4812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4814 if (!SWIG_IsOK(res1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4817 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4820 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 (arg1
)->IncTo((wxSize
const &)*arg2
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= SWIG_Py_Void();
4835 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
= 0;
4837 wxSize
*arg1
= (wxSize
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 char * kwnames
[] = {
4845 (char *) "self",(char *) "sz", NULL
4848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4850 if (!SWIG_IsOK(res1
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4853 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4856 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 (arg1
)->DecTo((wxSize
const &)*arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_Py_Void();
4871 SWIGINTERN PyObject
*_wrap_Size_IncBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
= 0;
4873 wxSize
*arg1
= (wxSize
*) 0 ;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4884 PyObject
* obj2
= 0 ;
4885 char * kwnames
[] = {
4886 (char *) "self",(char *) "dx",(char *) "dy", NULL
4889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_IncBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4891 if (!SWIG_IsOK(res1
)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncBy" "', expected argument " "1"" of type '" "wxSize *""'");
4894 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4896 if (!SWIG_IsOK(ecode2
)) {
4897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_IncBy" "', expected argument " "2"" of type '" "int""'");
4899 arg2
= static_cast< int >(val2
);
4900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4901 if (!SWIG_IsOK(ecode3
)) {
4902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_IncBy" "', expected argument " "3"" of type '" "int""'");
4904 arg3
= static_cast< int >(val3
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 (arg1
)->IncBy(arg2
,arg3
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 resultobj
= SWIG_Py_Void();
4918 SWIGINTERN PyObject
*_wrap_Size_DecBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
= 0;
4920 wxSize
*arg1
= (wxSize
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4931 PyObject
* obj2
= 0 ;
4932 char * kwnames
[] = {
4933 (char *) "self",(char *) "dx",(char *) "dy", NULL
4936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_DecBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4938 if (!SWIG_IsOK(res1
)) {
4939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecBy" "', expected argument " "1"" of type '" "wxSize *""'");
4941 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4943 if (!SWIG_IsOK(ecode2
)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_DecBy" "', expected argument " "2"" of type '" "int""'");
4946 arg2
= static_cast< int >(val2
);
4947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4948 if (!SWIG_IsOK(ecode3
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_DecBy" "', expected argument " "3"" of type '" "int""'");
4951 arg3
= static_cast< int >(val3
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->DecBy(arg2
,arg3
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_Py_Void();
4965 SWIGINTERN PyObject
*_wrap_Size_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
= 0;
4967 wxSize
*arg1
= (wxSize
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4977 PyObject
* obj1
= 0 ;
4978 PyObject
* obj2
= 0 ;
4979 char * kwnames
[] = {
4980 (char *) "self",(char *) "xscale",(char *) "yscale", NULL
4983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4985 if (!SWIG_IsOK(res1
)) {
4986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Scale" "', expected argument " "1"" of type '" "wxSize *""'");
4988 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4989 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
4990 if (!SWIG_IsOK(ecode2
)) {
4991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Scale" "', expected argument " "2"" of type '" "float""'");
4993 arg2
= static_cast< float >(val2
);
4994 ecode3
= SWIG_AsVal_float(obj2
, &val3
);
4995 if (!SWIG_IsOK(ecode3
)) {
4996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Scale" "', expected argument " "3"" of type '" "float""'");
4998 arg3
= static_cast< float >(val3
);
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 (arg1
)->Scale(arg2
,arg3
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_Py_Void();
5012 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
= 0;
5014 wxSize
*arg1
= (wxSize
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5025 PyObject
* obj2
= 0 ;
5026 char * kwnames
[] = {
5027 (char *) "self",(char *) "w",(char *) "h", NULL
5030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
5035 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5037 if (!SWIG_IsOK(ecode2
)) {
5038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
5040 arg2
= static_cast< int >(val2
);
5041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5042 if (!SWIG_IsOK(ecode3
)) {
5043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
5045 arg3
= static_cast< int >(val3
);
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 (arg1
)->Set(arg2
,arg3
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= SWIG_Py_Void();
5059 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
= 0;
5061 wxSize
*arg1
= (wxSize
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 char * kwnames
[] = {
5070 (char *) "self",(char *) "w", NULL
5073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5075 if (!SWIG_IsOK(res1
)) {
5076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
5078 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5080 if (!SWIG_IsOK(ecode2
)) {
5081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
5083 arg2
= static_cast< int >(val2
);
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 (arg1
)->SetWidth(arg2
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= SWIG_Py_Void();
5097 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
= 0;
5099 wxSize
*arg1
= (wxSize
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5107 char * kwnames
[] = {
5108 (char *) "self",(char *) "h", NULL
5111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
5116 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5118 if (!SWIG_IsOK(ecode2
)) {
5119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
5121 arg2
= static_cast< int >(val2
);
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 (arg1
)->SetHeight(arg2
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= SWIG_Py_Void();
5135 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5136 PyObject
*resultobj
= 0;
5137 wxSize
*arg1
= (wxSize
*) 0 ;
5141 PyObject
*swig_obj
[1] ;
5143 if (!args
) SWIG_fail
;
5145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5146 if (!SWIG_IsOK(res1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
5149 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (int)((wxSize
const *)arg1
)->GetWidth();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_From_int(static_cast< int >(result
));
5163 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5164 PyObject
*resultobj
= 0;
5165 wxSize
*arg1
= (wxSize
*) 0 ;
5169 PyObject
*swig_obj
[1] ;
5171 if (!args
) SWIG_fail
;
5173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5174 if (!SWIG_IsOK(res1
)) {
5175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
5177 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (int)((wxSize
const *)arg1
)->GetHeight();
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= SWIG_From_int(static_cast< int >(result
));
5191 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5192 PyObject
*resultobj
= 0;
5193 wxSize
*arg1
= (wxSize
*) 0 ;
5197 PyObject
*swig_obj
[1] ;
5199 if (!args
) SWIG_fail
;
5201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5202 if (!SWIG_IsOK(res1
)) {
5203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
5205 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5221 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5223 wxSize
*arg1
= (wxSize
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5230 char * kwnames
[] = {
5231 (char *) "self",(char *) "size", NULL
5234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5236 if (!SWIG_IsOK(res1
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
5239 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5242 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_Py_Void();
5257 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5258 PyObject
*resultobj
= 0;
5259 wxSize
*arg1
= (wxSize
*) 0 ;
5260 PyObject
*result
= 0 ;
5263 PyObject
*swig_obj
[1] ;
5265 if (!args
) SWIG_fail
;
5267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5268 if (!SWIG_IsOK(res1
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
5271 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (PyObject
*)wxSize_Get(arg1
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5285 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5288 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5289 return SWIG_Py_Void();
5292 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5293 return SWIG_Python_InitShadowInstance(args
);
5296 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5297 PyObject
*resultobj
= 0;
5298 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5304 PyObject
*swig_obj
[2] ;
5306 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5308 if (!SWIG_IsOK(res1
)) {
5309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5311 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5312 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5313 if (!SWIG_IsOK(ecode2
)) {
5314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5316 arg2
= static_cast< double >(val2
);
5317 if (arg1
) (arg1
)->x
= arg2
;
5319 resultobj
= SWIG_Py_Void();
5326 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5327 PyObject
*resultobj
= 0;
5328 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5332 PyObject
*swig_obj
[1] ;
5334 if (!args
) SWIG_fail
;
5336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5337 if (!SWIG_IsOK(res1
)) {
5338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5340 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5341 result
= (double) ((arg1
)->x
);
5342 resultobj
= SWIG_From_double(static_cast< double >(result
));
5349 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5350 PyObject
*resultobj
= 0;
5351 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5357 PyObject
*swig_obj
[2] ;
5359 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5361 if (!SWIG_IsOK(res1
)) {
5362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5364 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5365 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5366 if (!SWIG_IsOK(ecode2
)) {
5367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5369 arg2
= static_cast< double >(val2
);
5370 if (arg1
) (arg1
)->y
= arg2
;
5372 resultobj
= SWIG_Py_Void();
5379 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5380 PyObject
*resultobj
= 0;
5381 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5385 PyObject
*swig_obj
[1] ;
5387 if (!args
) SWIG_fail
;
5389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5390 if (!SWIG_IsOK(res1
)) {
5391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5393 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5394 result
= (double) ((arg1
)->y
);
5395 resultobj
= SWIG_From_double(static_cast< double >(result
));
5402 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
= 0;
5404 double arg1
= (double) 0.0 ;
5405 double arg2
= (double) 0.0 ;
5406 wxRealPoint
*result
= 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5413 char * kwnames
[] = {
5414 (char *) "x",(char *) "y", NULL
5417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5419 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5420 if (!SWIG_IsOK(ecode1
)) {
5421 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5423 arg1
= static_cast< double >(val1
);
5426 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5427 if (!SWIG_IsOK(ecode2
)) {
5428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5430 arg2
= static_cast< double >(val2
);
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5445 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5446 PyObject
*resultobj
= 0;
5447 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5450 PyObject
*swig_obj
[1] ;
5452 if (!args
) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5458 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_Py_Void();
5473 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
= 0;
5475 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5476 PyObject
*arg2
= (PyObject
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5482 char * kwnames
[] = {
5483 (char *) "self",(char *) "other", NULL
5486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5488 if (!SWIG_IsOK(res1
)) {
5489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5491 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5494 result
= (bool)wxRealPoint___eq__(arg1
,arg2
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5506 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
= 0;
5508 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5509 PyObject
*arg2
= (PyObject
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 char * kwnames
[] = {
5516 (char *) "self",(char *) "other", NULL
5519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5521 if (!SWIG_IsOK(res1
)) {
5522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5524 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5527 result
= (bool)wxRealPoint___ne__(arg1
,arg2
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5539 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
= 0;
5541 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5542 wxRealPoint
*arg2
= 0 ;
5547 PyObject
* obj0
= 0 ;
5548 PyObject
* obj1
= 0 ;
5549 char * kwnames
[] = {
5550 (char *) "self",(char *) "pt", NULL
5553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5555 if (!SWIG_IsOK(res1
)) {
5556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5558 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5561 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5576 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
= 0;
5578 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5579 wxRealPoint
*arg2
= 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5586 char * kwnames
[] = {
5587 (char *) "self",(char *) "pt", NULL
5590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5592 if (!SWIG_IsOK(res1
)) {
5593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5595 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5598 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5613 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
= 0;
5615 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5626 PyObject
* obj2
= 0 ;
5627 char * kwnames
[] = {
5628 (char *) "self",(char *) "x",(char *) "y", NULL
5631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5633 if (!SWIG_IsOK(res1
)) {
5634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5636 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5637 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5638 if (!SWIG_IsOK(ecode2
)) {
5639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5641 arg2
= static_cast< double >(val2
);
5642 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5643 if (!SWIG_IsOK(ecode3
)) {
5644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5646 arg3
= static_cast< double >(val3
);
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 wxRealPoint_Set(arg1
,arg2
,arg3
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_Py_Void();
5660 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5661 PyObject
*resultobj
= 0;
5662 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5663 PyObject
*result
= 0 ;
5666 PyObject
*swig_obj
[1] ;
5668 if (!args
) SWIG_fail
;
5670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5671 if (!SWIG_IsOK(res1
)) {
5672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5674 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5688 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5691 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5692 return SWIG_Py_Void();
5695 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5696 return SWIG_Python_InitShadowInstance(args
);
5699 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5700 PyObject
*resultobj
= 0;
5701 wxPoint
*arg1
= (wxPoint
*) 0 ;
5707 PyObject
*swig_obj
[2] ;
5709 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5711 if (!SWIG_IsOK(res1
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5714 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5715 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5716 if (!SWIG_IsOK(ecode2
)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5719 arg2
= static_cast< int >(val2
);
5720 if (arg1
) (arg1
)->x
= arg2
;
5722 resultobj
= SWIG_Py_Void();
5729 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5730 PyObject
*resultobj
= 0;
5731 wxPoint
*arg1
= (wxPoint
*) 0 ;
5735 PyObject
*swig_obj
[1] ;
5737 if (!args
) SWIG_fail
;
5739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5740 if (!SWIG_IsOK(res1
)) {
5741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5743 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5744 result
= (int) ((arg1
)->x
);
5745 resultobj
= SWIG_From_int(static_cast< int >(result
));
5752 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5753 PyObject
*resultobj
= 0;
5754 wxPoint
*arg1
= (wxPoint
*) 0 ;
5760 PyObject
*swig_obj
[2] ;
5762 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5767 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5768 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5769 if (!SWIG_IsOK(ecode2
)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5772 arg2
= static_cast< int >(val2
);
5773 if (arg1
) (arg1
)->y
= arg2
;
5775 resultobj
= SWIG_Py_Void();
5782 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5783 PyObject
*resultobj
= 0;
5784 wxPoint
*arg1
= (wxPoint
*) 0 ;
5788 PyObject
*swig_obj
[1] ;
5790 if (!args
) SWIG_fail
;
5792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5793 if (!SWIG_IsOK(res1
)) {
5794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5796 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5797 result
= (int) ((arg1
)->y
);
5798 resultobj
= SWIG_From_int(static_cast< int >(result
));
5805 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
= 0;
5807 int arg1
= (int) 0 ;
5808 int arg2
= (int) 0 ;
5809 wxPoint
*result
= 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "x",(char *) "y", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5822 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5823 if (!SWIG_IsOK(ecode1
)) {
5824 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5826 arg1
= static_cast< int >(val1
);
5829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5830 if (!SWIG_IsOK(ecode2
)) {
5831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5833 arg2
= static_cast< int >(val2
);
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5848 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5849 PyObject
*resultobj
= 0;
5850 wxPoint
*arg1
= (wxPoint
*) 0 ;
5853 PyObject
*swig_obj
[1] ;
5855 if (!args
) SWIG_fail
;
5857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5858 if (!SWIG_IsOK(res1
)) {
5859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5861 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_Py_Void();
5876 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= 0;
5878 wxPoint
*arg1
= (wxPoint
*) 0 ;
5879 PyObject
*arg2
= (PyObject
*) 0 ;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj1
= 0 ;
5885 char * kwnames
[] = {
5886 (char *) "self",(char *) "other", NULL
5889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5891 if (!SWIG_IsOK(res1
)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5894 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5897 result
= (bool)wxPoint___eq__(arg1
,arg2
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5909 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
= 0;
5911 wxPoint
*arg1
= (wxPoint
*) 0 ;
5912 PyObject
*arg2
= (PyObject
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 char * kwnames
[] = {
5919 (char *) "self",(char *) "other", NULL
5922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5927 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5930 result
= (bool)wxPoint___ne__(arg1
,arg2
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5942 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
= 0;
5944 wxPoint
*arg1
= (wxPoint
*) 0 ;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj1
= 0 ;
5952 char * kwnames
[] = {
5953 (char *) "self",(char *) "pt", NULL
5956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5958 if (!SWIG_IsOK(res1
)) {
5959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5961 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5979 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
= 0;
5981 wxPoint
*arg1
= (wxPoint
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5988 PyObject
* obj1
= 0 ;
5989 char * kwnames
[] = {
5990 (char *) "self",(char *) "pt", NULL
5993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5995 if (!SWIG_IsOK(res1
)) {
5996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5998 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6016 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
= 0;
6018 wxPoint
*arg1
= (wxPoint
*) 0 ;
6020 wxPoint
*result
= 0 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6026 char * kwnames
[] = {
6027 (char *) "self",(char *) "pt", NULL
6030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6032 if (!SWIG_IsOK(res1
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
6035 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
6044 result
= (wxPoint
*) &_result_ref
;
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6056 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
= 0;
6058 wxPoint
*arg1
= (wxPoint
*) 0 ;
6060 wxPoint
*result
= 0 ;
6064 PyObject
* obj0
= 0 ;
6065 PyObject
* obj1
= 0 ;
6066 char * kwnames
[] = {
6067 (char *) "self",(char *) "pt", NULL
6070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
6072 if (!SWIG_IsOK(res1
)) {
6073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
6075 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
6084 result
= (wxPoint
*) &_result_ref
;
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6096 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
= 0;
6098 wxPoint
*arg1
= (wxPoint
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6109 PyObject
* obj2
= 0 ;
6110 char * kwnames
[] = {
6111 (char *) "self",(char *) "x",(char *) "y", NULL
6114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6116 if (!SWIG_IsOK(res1
)) {
6117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
6119 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6120 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6121 if (!SWIG_IsOK(ecode2
)) {
6122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
6124 arg2
= static_cast< long >(val2
);
6125 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6126 if (!SWIG_IsOK(ecode3
)) {
6127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
6129 arg3
= static_cast< long >(val3
);
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 wxPoint_Set(arg1
,arg2
,arg3
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_Py_Void();
6143 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxPoint
*arg1
= (wxPoint
*) 0 ;
6146 PyObject
*result
= 0 ;
6149 PyObject
*swig_obj
[1] ;
6151 if (!args
) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
6157 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 result
= (PyObject
*)wxPoint_Get(arg1
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6171 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6174 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
6175 return SWIG_Py_Void();
6178 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6179 return SWIG_Python_InitShadowInstance(args
);
6182 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
= 0;
6184 int arg1
= (int) 0 ;
6185 int arg2
= (int) 0 ;
6186 int arg3
= (int) 0 ;
6187 int arg4
= (int) 0 ;
6188 wxRect
*result
= 0 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 PyObject
* obj2
= 0 ;
6200 PyObject
* obj3
= 0 ;
6201 char * kwnames
[] = {
6202 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6207 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6208 if (!SWIG_IsOK(ecode1
)) {
6209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
6211 arg1
= static_cast< int >(val1
);
6214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6215 if (!SWIG_IsOK(ecode2
)) {
6216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
6218 arg2
= static_cast< int >(val2
);
6221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6222 if (!SWIG_IsOK(ecode3
)) {
6223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
6225 arg3
= static_cast< int >(val3
);
6228 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6229 if (!SWIG_IsOK(ecode4
)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
6232 arg4
= static_cast< int >(val4
);
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
6247 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
= 0;
6251 wxRect
*result
= 0 ;
6254 PyObject
* obj0
= 0 ;
6255 PyObject
* obj1
= 0 ;
6256 char * kwnames
[] = {
6257 (char *) "topLeft",(char *) "bottomRight", NULL
6260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6263 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6282 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
= 0;
6286 wxRect
*result
= 0 ;
6289 PyObject
* obj0
= 0 ;
6290 PyObject
* obj1
= 0 ;
6291 char * kwnames
[] = {
6292 (char *) "pos",(char *) "size", NULL
6295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6298 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6302 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6317 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6320 wxRect
*result
= 0 ;
6322 PyObject
* obj0
= 0 ;
6323 char * kwnames
[] = {
6324 (char *) "size", NULL
6327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6330 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6345 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6346 PyObject
*resultobj
= 0;
6347 wxRect
*arg1
= (wxRect
*) 0 ;
6350 PyObject
*swig_obj
[1] ;
6352 if (!args
) SWIG_fail
;
6354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6355 if (!SWIG_IsOK(res1
)) {
6356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6358 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_Py_Void();
6373 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxRect
*arg1
= (wxRect
*) 0 ;
6379 PyObject
*swig_obj
[1] ;
6381 if (!args
) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6387 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (int)((wxRect
const *)arg1
)->GetX();
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= SWIG_From_int(static_cast< int >(result
));
6401 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= 0;
6403 wxRect
*arg1
= (wxRect
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6411 char * kwnames
[] = {
6412 (char *) "self",(char *) "x", NULL
6415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6420 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6422 if (!SWIG_IsOK(ecode2
)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6425 arg2
= static_cast< int >(val2
);
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_Py_Void();
6439 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6440 PyObject
*resultobj
= 0;
6441 wxRect
*arg1
= (wxRect
*) 0 ;
6445 PyObject
*swig_obj
[1] ;
6447 if (!args
) SWIG_fail
;
6449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6450 if (!SWIG_IsOK(res1
)) {
6451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6453 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 result
= (int)(arg1
)->GetY();
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 resultobj
= SWIG_From_int(static_cast< int >(result
));
6467 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
= 0;
6469 wxRect
*arg1
= (wxRect
*) 0 ;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6477 char * kwnames
[] = {
6478 (char *) "self",(char *) "y", NULL
6481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6486 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6488 if (!SWIG_IsOK(ecode2
)) {
6489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6491 arg2
= static_cast< int >(val2
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= SWIG_Py_Void();
6505 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6506 PyObject
*resultobj
= 0;
6507 wxRect
*arg1
= (wxRect
*) 0 ;
6511 PyObject
*swig_obj
[1] ;
6513 if (!args
) SWIG_fail
;
6515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6516 if (!SWIG_IsOK(res1
)) {
6517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6519 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_From_int(static_cast< int >(result
));
6533 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= 0;
6535 wxRect
*arg1
= (wxRect
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 char * kwnames
[] = {
6544 (char *) "self",(char *) "w", NULL
6547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6552 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6554 if (!SWIG_IsOK(ecode2
)) {
6555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6557 arg2
= static_cast< int >(val2
);
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 (arg1
)->SetWidth(arg2
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_Py_Void();
6571 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 PyObject
*resultobj
= 0;
6573 wxRect
*arg1
= (wxRect
*) 0 ;
6577 PyObject
*swig_obj
[1] ;
6579 if (!args
) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6585 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_From_int(static_cast< int >(result
));
6599 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
= 0;
6601 wxRect
*arg1
= (wxRect
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 char * kwnames
[] = {
6610 (char *) "self",(char *) "h", NULL
6613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6615 if (!SWIG_IsOK(res1
)) {
6616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6618 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6620 if (!SWIG_IsOK(ecode2
)) {
6621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6623 arg2
= static_cast< int >(val2
);
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 (arg1
)->SetHeight(arg2
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_Py_Void();
6637 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6638 PyObject
*resultobj
= 0;
6639 wxRect
*arg1
= (wxRect
*) 0 ;
6643 PyObject
*swig_obj
[1] ;
6645 if (!args
) SWIG_fail
;
6647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6648 if (!SWIG_IsOK(res1
)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6651 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= ((wxRect
const *)arg1
)->GetPosition();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6658 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6665 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
= 0;
6667 wxRect
*arg1
= (wxRect
*) 0 ;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6674 char * kwnames
[] = {
6675 (char *) "self",(char *) "p", NULL
6678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6680 if (!SWIG_IsOK(res1
)) {
6681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6683 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= SWIG_Py_Void();
6701 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6702 PyObject
*resultobj
= 0;
6703 wxRect
*arg1
= (wxRect
*) 0 ;
6707 PyObject
*swig_obj
[1] ;
6709 if (!args
) SWIG_fail
;
6711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6712 if (!SWIG_IsOK(res1
)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6715 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= ((wxRect
const *)arg1
)->GetSize();
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6722 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6729 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
= 0;
6731 wxRect
*arg1
= (wxRect
*) 0 ;
6736 PyObject
* obj0
= 0 ;
6737 PyObject
* obj1
= 0 ;
6738 char * kwnames
[] = {
6739 (char *) "self",(char *) "s", NULL
6742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6744 if (!SWIG_IsOK(res1
)) {
6745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6747 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6750 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 (arg1
)->SetSize((wxSize
const &)*arg2
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= SWIG_Py_Void();
6765 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6766 PyObject
*resultobj
= 0;
6767 wxRect
*arg1
= (wxRect
*) 0 ;
6771 PyObject
*swig_obj
[1] ;
6773 if (!args
) SWIG_fail
;
6775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6776 if (!SWIG_IsOK(res1
)) {
6777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6779 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6795 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6796 PyObject
*resultobj
= 0;
6797 wxRect
*arg1
= (wxRect
*) 0 ;
6801 PyObject
*swig_obj
[1] ;
6803 if (!args
) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6809 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6823 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
= 0;
6825 wxRect
*arg1
= (wxRect
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 char * kwnames
[] = {
6833 (char *) "self",(char *) "p", NULL
6836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6838 if (!SWIG_IsOK(res1
)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6841 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6844 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_Py_Void();
6859 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6860 PyObject
*resultobj
= 0;
6861 wxRect
*arg1
= (wxRect
*) 0 ;
6865 PyObject
*swig_obj
[1] ;
6867 if (!args
) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6873 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6887 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
= 0;
6889 wxRect
*arg1
= (wxRect
*) 0 ;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6896 char * kwnames
[] = {
6897 (char *) "self",(char *) "p", NULL
6900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6902 if (!SWIG_IsOK(res1
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6905 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6923 SWIGINTERN PyObject
*_wrap_Rect_GetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6924 PyObject
*resultobj
= 0;
6925 wxRect
*arg1
= (wxRect
*) 0 ;
6929 PyObject
*swig_obj
[1] ;
6931 if (!args
) SWIG_fail
;
6933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6934 if (!SWIG_IsOK(res1
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6937 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= ((wxRect
const *)arg1
)->GetTopRight();
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6951 SWIGINTERN PyObject
*_wrap_Rect_SetTopRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
= 0;
6953 wxRect
*arg1
= (wxRect
*) 0 ;
6958 PyObject
* obj0
= 0 ;
6959 PyObject
* obj1
= 0 ;
6960 char * kwnames
[] = {
6961 (char *) "self",(char *) "p", NULL
6964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6966 if (!SWIG_IsOK(res1
)) {
6967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopRight" "', expected argument " "1"" of type '" "wxRect *""'");
6969 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 (arg1
)->SetTopRight((wxPoint
const &)*arg2
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_Py_Void();
6987 SWIGINTERN PyObject
*_wrap_Rect_GetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6988 PyObject
*resultobj
= 0;
6989 wxRect
*arg1
= (wxRect
*) 0 ;
6993 PyObject
*swig_obj
[1] ;
6995 if (!args
) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
7001 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= ((wxRect
const *)arg1
)->GetBottomLeft();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7015 SWIGINTERN PyObject
*_wrap_Rect_SetBottomLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
= 0;
7017 wxRect
*arg1
= (wxRect
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7024 char * kwnames
[] = {
7025 (char *) "self",(char *) "p", NULL
7028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7030 if (!SWIG_IsOK(res1
)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomLeft" "', expected argument " "1"" of type '" "wxRect *""'");
7033 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 (arg1
)->SetBottomLeft((wxPoint
const &)*arg2
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= SWIG_Py_Void();
7051 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7052 PyObject
*resultobj
= 0;
7053 wxRect
*arg1
= (wxRect
*) 0 ;
7057 PyObject
*swig_obj
[1] ;
7059 if (!args
) SWIG_fail
;
7061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7062 if (!SWIG_IsOK(res1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
7065 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (int)((wxRect
const *)arg1
)->GetLeft();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_From_int(static_cast< int >(result
));
7079 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7080 PyObject
*resultobj
= 0;
7081 wxRect
*arg1
= (wxRect
*) 0 ;
7085 PyObject
*swig_obj
[1] ;
7087 if (!args
) SWIG_fail
;
7089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7090 if (!SWIG_IsOK(res1
)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
7093 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 result
= (int)((wxRect
const *)arg1
)->GetTop();
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_From_int(static_cast< int >(result
));
7107 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7108 PyObject
*resultobj
= 0;
7109 wxRect
*arg1
= (wxRect
*) 0 ;
7113 PyObject
*swig_obj
[1] ;
7115 if (!args
) SWIG_fail
;
7117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7118 if (!SWIG_IsOK(res1
)) {
7119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
7121 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (int)((wxRect
const *)arg1
)->GetBottom();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= SWIG_From_int(static_cast< int >(result
));
7135 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7136 PyObject
*resultobj
= 0;
7137 wxRect
*arg1
= (wxRect
*) 0 ;
7141 PyObject
*swig_obj
[1] ;
7143 if (!args
) SWIG_fail
;
7145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7146 if (!SWIG_IsOK(res1
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
7149 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= (int)((wxRect
const *)arg1
)->GetRight();
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= SWIG_From_int(static_cast< int >(result
));
7163 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
= 0;
7165 wxRect
*arg1
= (wxRect
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7173 char * kwnames
[] = {
7174 (char *) "self",(char *) "left", NULL
7177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
7182 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7184 if (!SWIG_IsOK(ecode2
)) {
7185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
7187 arg2
= static_cast< int >(val2
);
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 (arg1
)->SetLeft(arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_Py_Void();
7201 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
= 0;
7203 wxRect
*arg1
= (wxRect
*) 0 ;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7211 char * kwnames
[] = {
7212 (char *) "self",(char *) "right", NULL
7215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7217 if (!SWIG_IsOK(res1
)) {
7218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
7220 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7222 if (!SWIG_IsOK(ecode2
)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
7225 arg2
= static_cast< int >(val2
);
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 (arg1
)->SetRight(arg2
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_Py_Void();
7239 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
= 0;
7241 wxRect
*arg1
= (wxRect
*) 0 ;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7249 char * kwnames
[] = {
7250 (char *) "self",(char *) "top", NULL
7253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
7258 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7260 if (!SWIG_IsOK(ecode2
)) {
7261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
7263 arg2
= static_cast< int >(val2
);
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 (arg1
)->SetTop(arg2
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_Py_Void();
7277 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
= 0;
7279 wxRect
*arg1
= (wxRect
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7287 char * kwnames
[] = {
7288 (char *) "self",(char *) "bottom", NULL
7291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7293 if (!SWIG_IsOK(res1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
7296 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7298 if (!SWIG_IsOK(ecode2
)) {
7299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
7301 arg2
= static_cast< int >(val2
);
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->SetBottom(arg2
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_Py_Void();
7315 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
= 0;
7317 wxRect
*arg1
= (wxRect
*) 0 ;
7320 wxRect
*result
= 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 PyObject
* obj2
= 0 ;
7330 char * kwnames
[] = {
7331 (char *) "self",(char *) "dx",(char *) "dy", NULL
7334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7336 if (!SWIG_IsOK(res1
)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
7339 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7341 if (!SWIG_IsOK(ecode2
)) {
7342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
7344 arg2
= static_cast< int >(val2
);
7345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7346 if (!SWIG_IsOK(ecode3
)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
7349 arg3
= static_cast< int >(val3
);
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
7354 result
= (wxRect
*) &_result_ref
;
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7366 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
= 0;
7368 wxRect
*arg1
= (wxRect
*) 0 ;
7371 wxRect
*result
= 0 ;
7378 PyObject
* obj0
= 0 ;
7379 PyObject
* obj1
= 0 ;
7380 PyObject
* obj2
= 0 ;
7381 char * kwnames
[] = {
7382 (char *) "self",(char *) "dx",(char *) "dy", NULL
7385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7387 if (!SWIG_IsOK(res1
)) {
7388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
7390 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7392 if (!SWIG_IsOK(ecode2
)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7395 arg2
= static_cast< int >(val2
);
7396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7397 if (!SWIG_IsOK(ecode3
)) {
7398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7400 arg3
= static_cast< int >(val3
);
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7405 result
= (wxRect
*) &_result_ref
;
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7417 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
= 0;
7419 wxRect
*arg1
= (wxRect
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7430 PyObject
* obj2
= 0 ;
7431 char * kwnames
[] = {
7432 (char *) "self",(char *) "dx",(char *) "dy", NULL
7435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",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_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
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_OffsetXY" "', 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_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7450 arg3
= static_cast< int >(val3
);
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 (arg1
)->Offset(arg2
,arg3
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= SWIG_Py_Void();
7464 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
= 0;
7466 wxRect
*arg1
= (wxRect
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "self",(char *) "pt", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7482 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->Offset((wxPoint
const &)*arg2
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= SWIG_Py_Void();
7500 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
= 0;
7502 wxRect
*arg1
= (wxRect
*) 0 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7510 char * kwnames
[] = {
7511 (char *) "self",(char *) "rect", NULL
7514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7519 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7522 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7537 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
= 0;
7539 wxRect
*arg1
= (wxRect
*) 0 ;
7545 PyObject
* obj0
= 0 ;
7546 PyObject
* obj1
= 0 ;
7547 char * kwnames
[] = {
7548 (char *) "self",(char *) "rect", NULL
7551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7553 if (!SWIG_IsOK(res1
)) {
7554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7556 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7559 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7574 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
= 0;
7576 wxRect
*arg1
= (wxRect
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 char * kwnames
[] = {
7585 (char *) "self",(char *) "rect", NULL
7588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7590 if (!SWIG_IsOK(res1
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7593 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7596 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7611 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
= 0;
7613 wxRect
*arg1
= (wxRect
*) 0 ;
7615 wxRect
*result
= 0 ;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 char * kwnames
[] = {
7622 (char *) "self",(char *) "rect", NULL
7625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7627 if (!SWIG_IsOK(res1
)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7630 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7633 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7639 result
= (wxRect
*) &_result_ref
;
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7651 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
= 0;
7653 wxRect
*arg1
= (wxRect
*) 0 ;
7654 PyObject
*arg2
= (PyObject
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7660 char * kwnames
[] = {
7661 (char *) "self",(char *) "other", NULL
7664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7666 if (!SWIG_IsOK(res1
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect *""'");
7669 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7672 result
= (bool)wxRect___eq__(arg1
,arg2
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7684 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
= 0;
7686 wxRect
*arg1
= (wxRect
*) 0 ;
7687 PyObject
*arg2
= (PyObject
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7693 char * kwnames
[] = {
7694 (char *) "self",(char *) "other", NULL
7697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7699 if (!SWIG_IsOK(res1
)) {
7700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect *""'");
7702 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7705 result
= (bool)wxRect___ne__(arg1
,arg2
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7717 SWIGINTERN PyObject
*_wrap_Rect_ContainsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
= 0;
7719 wxRect
*arg1
= (wxRect
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7731 PyObject
* obj2
= 0 ;
7732 char * kwnames
[] = {
7733 (char *) "self",(char *) "x",(char *) "y", NULL
7736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_ContainsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7738 if (!SWIG_IsOK(res1
)) {
7739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7741 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7743 if (!SWIG_IsOK(ecode2
)) {
7744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_ContainsXY" "', expected argument " "2"" of type '" "int""'");
7746 arg2
= static_cast< int >(val2
);
7747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7748 if (!SWIG_IsOK(ecode3
)) {
7749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_ContainsXY" "', expected argument " "3"" of type '" "int""'");
7751 arg3
= static_cast< int >(val3
);
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (bool)((wxRect
const *)arg1
)->Contains(arg2
,arg3
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7767 SWIGINTERN PyObject
*_wrap_Rect_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
= 0;
7769 wxRect
*arg1
= (wxRect
*) 0 ;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7777 char * kwnames
[] = {
7778 (char *) "self",(char *) "pt", NULL
7781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Contains",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7783 if (!SWIG_IsOK(res1
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Contains" "', expected argument " "1"" of type '" "wxRect const *""'");
7786 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (bool)((wxRect
const *)arg1
)->Contains((wxPoint
const &)*arg2
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 SWIGINTERN PyObject
*_wrap_Rect_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
= 0;
7808 wxRect
*arg1
= (wxRect
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 char * kwnames
[] = {
7817 (char *) "self",(char *) "rect", NULL
7820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7822 if (!SWIG_IsOK(res1
)) {
7823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_ContainsRect" "', expected argument " "1"" of type '" "wxRect const *""'");
7825 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7828 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (bool)((wxRect
const *)arg1
)->Contains((wxRect
const &)*arg2
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7845 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
= 0;
7847 wxRect
*arg1
= (wxRect
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7855 char * kwnames
[] = {
7856 (char *) "self",(char *) "rect", NULL
7859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7861 if (!SWIG_IsOK(res1
)) {
7862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7864 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7867 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7884 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
= 0;
7886 wxRect
*arg1
= (wxRect
*) 0 ;
7888 int arg3
= (int) wxBOTH
;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7897 PyObject
* obj2
= 0 ;
7898 char * kwnames
[] = {
7899 (char *) "self",(char *) "r",(char *) "dir", NULL
7902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7904 if (!SWIG_IsOK(res1
)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7907 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7910 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7914 if (!SWIG_IsOK(ecode3
)) {
7915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7917 arg3
= static_cast< int >(val3
);
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7932 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7933 PyObject
*resultobj
= 0;
7934 wxRect
*arg1
= (wxRect
*) 0 ;
7940 PyObject
*swig_obj
[2] ;
7942 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7944 if (!SWIG_IsOK(res1
)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7947 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7948 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7949 if (!SWIG_IsOK(ecode2
)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7952 arg2
= static_cast< int >(val2
);
7953 if (arg1
) (arg1
)->x
= arg2
;
7955 resultobj
= SWIG_Py_Void();
7962 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7963 PyObject
*resultobj
= 0;
7964 wxRect
*arg1
= (wxRect
*) 0 ;
7968 PyObject
*swig_obj
[1] ;
7970 if (!args
) SWIG_fail
;
7972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7973 if (!SWIG_IsOK(res1
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7976 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7977 result
= (int) ((arg1
)->x
);
7978 resultobj
= SWIG_From_int(static_cast< int >(result
));
7985 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7986 PyObject
*resultobj
= 0;
7987 wxRect
*arg1
= (wxRect
*) 0 ;
7993 PyObject
*swig_obj
[2] ;
7995 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7997 if (!SWIG_IsOK(res1
)) {
7998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
8000 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8001 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8002 if (!SWIG_IsOK(ecode2
)) {
8003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
8005 arg2
= static_cast< int >(val2
);
8006 if (arg1
) (arg1
)->y
= arg2
;
8008 resultobj
= SWIG_Py_Void();
8015 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8016 PyObject
*resultobj
= 0;
8017 wxRect
*arg1
= (wxRect
*) 0 ;
8021 PyObject
*swig_obj
[1] ;
8023 if (!args
) SWIG_fail
;
8025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8026 if (!SWIG_IsOK(res1
)) {
8027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
8029 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8030 result
= (int) ((arg1
)->y
);
8031 resultobj
= SWIG_From_int(static_cast< int >(result
));
8038 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8039 PyObject
*resultobj
= 0;
8040 wxRect
*arg1
= (wxRect
*) 0 ;
8046 PyObject
*swig_obj
[2] ;
8048 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
8049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8050 if (!SWIG_IsOK(res1
)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
8053 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8054 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8055 if (!SWIG_IsOK(ecode2
)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
8058 arg2
= static_cast< int >(val2
);
8059 if (arg1
) (arg1
)->width
= arg2
;
8061 resultobj
= SWIG_Py_Void();
8068 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8069 PyObject
*resultobj
= 0;
8070 wxRect
*arg1
= (wxRect
*) 0 ;
8074 PyObject
*swig_obj
[1] ;
8076 if (!args
) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
8082 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8083 result
= (int) ((arg1
)->width
);
8084 resultobj
= SWIG_From_int(static_cast< int >(result
));
8091 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8092 PyObject
*resultobj
= 0;
8093 wxRect
*arg1
= (wxRect
*) 0 ;
8099 PyObject
*swig_obj
[2] ;
8101 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
8102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8103 if (!SWIG_IsOK(res1
)) {
8104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
8106 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8107 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
8108 if (!SWIG_IsOK(ecode2
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
8111 arg2
= static_cast< int >(val2
);
8112 if (arg1
) (arg1
)->height
= arg2
;
8114 resultobj
= SWIG_Py_Void();
8121 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8122 PyObject
*resultobj
= 0;
8123 wxRect
*arg1
= (wxRect
*) 0 ;
8127 PyObject
*swig_obj
[1] ;
8129 if (!args
) SWIG_fail
;
8131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8132 if (!SWIG_IsOK(res1
)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
8135 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8136 result
= (int) ((arg1
)->height
);
8137 resultobj
= SWIG_From_int(static_cast< int >(result
));
8144 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= 0;
8146 wxRect
*arg1
= (wxRect
*) 0 ;
8147 int arg2
= (int) 0 ;
8148 int arg3
= (int) 0 ;
8149 int arg4
= (int) 0 ;
8150 int arg5
= (int) 0 ;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8163 PyObject
* obj2
= 0 ;
8164 PyObject
* obj3
= 0 ;
8165 PyObject
* obj4
= 0 ;
8166 char * kwnames
[] = {
8167 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8172 if (!SWIG_IsOK(res1
)) {
8173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
8175 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8178 if (!SWIG_IsOK(ecode2
)) {
8179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
8181 arg2
= static_cast< int >(val2
);
8184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8185 if (!SWIG_IsOK(ecode3
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
8188 arg3
= static_cast< int >(val3
);
8191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8192 if (!SWIG_IsOK(ecode4
)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
8195 arg4
= static_cast< int >(val4
);
8198 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8199 if (!SWIG_IsOK(ecode5
)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
8202 arg5
= static_cast< int >(val5
);
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_Py_Void();
8217 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8218 PyObject
*resultobj
= 0;
8219 wxRect
*arg1
= (wxRect
*) 0 ;
8220 PyObject
*result
= 0 ;
8223 PyObject
*swig_obj
[1] ;
8225 if (!args
) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
8231 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (PyObject
*)wxRect_Get(arg1
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8245 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8248 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
8249 return SWIG_Py_Void();
8252 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8253 return SWIG_Python_InitShadowInstance(args
);
8256 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
= 0;
8258 wxRect
*arg1
= (wxRect
*) 0 ;
8259 wxRect
*arg2
= (wxRect
*) 0 ;
8260 PyObject
*result
= 0 ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8267 char * kwnames
[] = {
8268 (char *) "r1",(char *) "r2", NULL
8271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
8273 if (!SWIG_IsOK(res1
)) {
8274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
8276 arg1
= reinterpret_cast< wxRect
* >(argp1
);
8277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
8278 if (!SWIG_IsOK(res2
)) {
8279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
8281 arg2
= reinterpret_cast< wxRect
* >(argp2
);
8283 if (!wxPyCheckForApp()) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8296 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 double arg1
= (double) 0.0 ;
8299 double arg2
= (double) 0.0 ;
8300 wxPoint2D
*result
= 0 ;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8307 char * kwnames
[] = {
8308 (char *) "x",(char *) "y", NULL
8311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8313 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
8314 if (!SWIG_IsOK(ecode1
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
8317 arg1
= static_cast< double >(val1
);
8320 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8321 if (!SWIG_IsOK(ecode2
)) {
8322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
8324 arg2
= static_cast< double >(val2
);
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
8339 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
= 0;
8341 wxPoint2D
*arg1
= 0 ;
8342 wxPoint2D
*result
= 0 ;
8344 PyObject
* obj0
= 0 ;
8345 char * kwnames
[] = {
8349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
8352 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8367 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
= 0;
8370 wxPoint2D
*result
= 0 ;
8372 PyObject
* obj0
= 0 ;
8373 char * kwnames
[] = {
8377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
8380 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8395 SWIGINTERN PyObject
*_wrap_delete_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8396 PyObject
*resultobj
= 0;
8397 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8400 PyObject
*swig_obj
[1] ;
8402 if (!args
) SWIG_fail
;
8404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8405 if (!SWIG_IsOK(res1
)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point2D" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8408 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_Py_Void();
8423 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 PyObject
*resultobj
= 0;
8425 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8426 int *arg2
= (int *) 0 ;
8427 int *arg3
= (int *) 0 ;
8431 int res2
= SWIG_TMPOBJ
;
8433 int res3
= SWIG_TMPOBJ
;
8434 PyObject
*swig_obj
[1] ;
8438 if (!args
) SWIG_fail
;
8440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8441 if (!SWIG_IsOK(res1
)) {
8442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8444 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_Py_Void();
8452 if (SWIG_IsTmpObj(res2
)) {
8453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8455 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8458 if (SWIG_IsTmpObj(res3
)) {
8459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8461 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8470 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8471 PyObject
*resultobj
= 0;
8472 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8473 int *arg2
= (int *) 0 ;
8474 int *arg3
= (int *) 0 ;
8478 int res2
= SWIG_TMPOBJ
;
8480 int res3
= SWIG_TMPOBJ
;
8481 PyObject
*swig_obj
[1] ;
8485 if (!args
) SWIG_fail
;
8487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8488 if (!SWIG_IsOK(res1
)) {
8489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8491 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_Py_Void();
8499 if (SWIG_IsTmpObj(res2
)) {
8500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8502 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8505 if (SWIG_IsTmpObj(res3
)) {
8506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8508 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8517 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8518 PyObject
*resultobj
= 0;
8519 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8523 PyObject
*swig_obj
[1] ;
8525 if (!args
) SWIG_fail
;
8527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8528 if (!SWIG_IsOK(res1
)) {
8529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8531 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_From_double(static_cast< double >(result
));
8545 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8546 PyObject
*resultobj
= 0;
8547 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8551 PyObject
*swig_obj
[1] ;
8553 if (!args
) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8559 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_From_double(static_cast< double >(result
));
8573 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
= 0;
8575 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8582 PyObject
* obj1
= 0 ;
8583 char * kwnames
[] = {
8584 (char *) "self",(char *) "length", NULL
8587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8589 if (!SWIG_IsOK(res1
)) {
8590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8592 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8593 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8594 if (!SWIG_IsOK(ecode2
)) {
8595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8597 arg2
= static_cast< double >(val2
);
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 (arg1
)->SetVectorLength(arg2
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_Py_Void();
8611 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
= 0;
8613 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8619 PyObject
* obj0
= 0 ;
8620 PyObject
* obj1
= 0 ;
8621 char * kwnames
[] = {
8622 (char *) "self",(char *) "degrees", NULL
8625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8627 if (!SWIG_IsOK(res1
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8630 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8631 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8632 if (!SWIG_IsOK(ecode2
)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8635 arg2
= static_cast< double >(val2
);
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 (arg1
)->SetVectorAngle(arg2
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_Py_Void();
8649 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
= 0;
8651 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8652 wxPoint2D
*arg2
= 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 char * kwnames
[] = {
8660 (char *) "self",(char *) "pt", NULL
8663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",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_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8668 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8671 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_From_double(static_cast< double >(result
));
8686 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
= 0;
8688 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8689 wxPoint2D
*arg2
= 0 ;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 char * kwnames
[] = {
8697 (char *) "self",(char *) "pt", NULL
8700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8702 if (!SWIG_IsOK(res1
)) {
8703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8705 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8708 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= SWIG_From_double(static_cast< double >(result
));
8723 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
= 0;
8725 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8726 wxPoint2D
*arg2
= 0 ;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 char * kwnames
[] = {
8734 (char *) "self",(char *) "vec", NULL
8737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8739 if (!SWIG_IsOK(res1
)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8742 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8745 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_From_double(static_cast< double >(result
));
8760 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
= 0;
8762 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8763 wxPoint2D
*arg2
= 0 ;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8770 char * kwnames
[] = {
8771 (char *) "self",(char *) "vec", NULL
8774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8776 if (!SWIG_IsOK(res1
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8779 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8782 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= SWIG_From_double(static_cast< double >(result
));
8797 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8798 PyObject
*resultobj
= 0;
8799 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8803 PyObject
*swig_obj
[1] ;
8805 if (!args
) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8811 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (arg1
)->operator -();
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8825 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
= 0;
8827 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8828 wxPoint2D
*arg2
= 0 ;
8829 wxPoint2D
*result
= 0 ;
8833 PyObject
* obj0
= 0 ;
8834 PyObject
* obj1
= 0 ;
8835 char * kwnames
[] = {
8836 (char *) "self",(char *) "pt", NULL
8839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8841 if (!SWIG_IsOK(res1
)) {
8842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8844 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8847 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8853 result
= (wxPoint2D
*) &_result_ref
;
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8865 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
= 0;
8867 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8868 wxPoint2D
*arg2
= 0 ;
8869 wxPoint2D
*result
= 0 ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 char * kwnames
[] = {
8876 (char *) "self",(char *) "pt", NULL
8879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8881 if (!SWIG_IsOK(res1
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8884 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8887 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8893 result
= (wxPoint2D
*) &_result_ref
;
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8905 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8908 wxPoint2D
*arg2
= 0 ;
8909 wxPoint2D
*result
= 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 char * kwnames
[] = {
8916 (char *) "self",(char *) "pt", NULL
8919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8921 if (!SWIG_IsOK(res1
)) {
8922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8924 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8927 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8933 result
= (wxPoint2D
*) &_result_ref
;
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8945 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
= 0;
8947 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8948 wxPoint2D
*arg2
= 0 ;
8949 wxPoint2D
*result
= 0 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 char * kwnames
[] = {
8956 (char *) "self",(char *) "pt", NULL
8959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8961 if (!SWIG_IsOK(res1
)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8964 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8967 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8973 result
= (wxPoint2D
*) &_result_ref
;
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8985 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
= 0;
8987 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8988 PyObject
*arg2
= (PyObject
*) 0 ;
8992 PyObject
* obj0
= 0 ;
8993 PyObject
* obj1
= 0 ;
8994 char * kwnames
[] = {
8995 (char *) "self",(char *) "other", NULL
8998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9000 if (!SWIG_IsOK(res1
)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9003 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9006 result
= (bool)wxPoint2D___eq__(arg1
,arg2
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9018 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
= 0;
9020 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9021 PyObject
*arg2
= (PyObject
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 char * kwnames
[] = {
9028 (char *) "self",(char *) "other", NULL
9031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9033 if (!SWIG_IsOK(res1
)) {
9034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9036 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9039 result
= (bool)wxPoint2D___ne__(arg1
,arg2
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9051 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9052 PyObject
*resultobj
= 0;
9053 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9059 PyObject
*swig_obj
[2] ;
9061 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
9062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9063 if (!SWIG_IsOK(res1
)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9066 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9067 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
9068 if (!SWIG_IsOK(ecode2
)) {
9069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
9071 arg2
= static_cast< double >(val2
);
9072 if (arg1
) (arg1
)->m_x
= arg2
;
9074 resultobj
= SWIG_Py_Void();
9081 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9082 PyObject
*resultobj
= 0;
9083 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9087 PyObject
*swig_obj
[1] ;
9089 if (!args
) SWIG_fail
;
9091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9092 if (!SWIG_IsOK(res1
)) {
9093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9095 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9096 result
= (double) ((arg1
)->m_x
);
9097 resultobj
= SWIG_From_double(static_cast< double >(result
));
9104 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9105 PyObject
*resultobj
= 0;
9106 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9112 PyObject
*swig_obj
[2] ;
9114 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
9115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9116 if (!SWIG_IsOK(res1
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9119 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9120 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
9121 if (!SWIG_IsOK(ecode2
)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
9124 arg2
= static_cast< double >(val2
);
9125 if (arg1
) (arg1
)->m_y
= arg2
;
9127 resultobj
= SWIG_Py_Void();
9134 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9135 PyObject
*resultobj
= 0;
9136 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9140 PyObject
*swig_obj
[1] ;
9142 if (!args
) SWIG_fail
;
9144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9145 if (!SWIG_IsOK(res1
)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9148 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9149 result
= (double) ((arg1
)->m_y
);
9150 resultobj
= SWIG_From_double(static_cast< double >(result
));
9157 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
= 0;
9159 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9160 double arg2
= (double) 0 ;
9161 double arg3
= (double) 0 ;
9168 PyObject
* obj0
= 0 ;
9169 PyObject
* obj1
= 0 ;
9170 PyObject
* obj2
= 0 ;
9171 char * kwnames
[] = {
9172 (char *) "self",(char *) "x",(char *) "y", NULL
9175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9177 if (!SWIG_IsOK(res1
)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9180 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9182 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
9183 if (!SWIG_IsOK(ecode2
)) {
9184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
9186 arg2
= static_cast< double >(val2
);
9189 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
9190 if (!SWIG_IsOK(ecode3
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
9193 arg3
= static_cast< double >(val3
);
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 wxPoint2D_Set(arg1
,arg2
,arg3
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_Py_Void();
9208 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9209 PyObject
*resultobj
= 0;
9210 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
9211 PyObject
*result
= 0 ;
9214 PyObject
*swig_obj
[1] ;
9216 if (!args
) SWIG_fail
;
9218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
9219 if (!SWIG_IsOK(res1
)) {
9220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
9222 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (PyObject
*)wxPoint2D_Get(arg1
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9236 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
9240 return SWIG_Py_Void();
9243 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9244 return SWIG_Python_InitShadowInstance(args
);
9247 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
9248 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
9253 SWIGINTERN PyObject
*DefaultPosition_get(void) {
9254 PyObject
*pyobj
= 0;
9256 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
9261 SWIGINTERN
int DefaultSize_set(PyObject
*) {
9262 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
9267 SWIGINTERN PyObject
*DefaultSize_get(void) {
9268 PyObject
*pyobj
= 0;
9270 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
9275 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
= 0;
9277 PyObject
*arg1
= (PyObject
*) 0 ;
9278 wxPyInputStream
*result
= 0 ;
9279 PyObject
* obj0
= 0 ;
9280 char * kwnames
[] = {
9284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
9299 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9300 PyObject
*resultobj
= 0;
9301 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9304 PyObject
*swig_obj
[1] ;
9306 if (!args
) SWIG_fail
;
9308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
9309 if (!SWIG_IsOK(res1
)) {
9310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9312 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_Py_Void();
9327 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9328 PyObject
*resultobj
= 0;
9329 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9332 PyObject
*swig_obj
[1] ;
9334 if (!args
) SWIG_fail
;
9336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9337 if (!SWIG_IsOK(res1
)) {
9338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9340 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_Py_Void();
9354 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9355 PyObject
*resultobj
= 0;
9356 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9359 PyObject
*swig_obj
[1] ;
9361 if (!args
) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9367 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_Py_Void();
9381 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9382 PyObject
*resultobj
= 0;
9383 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9387 PyObject
*swig_obj
[1] ;
9389 if (!args
) SWIG_fail
;
9391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9392 if (!SWIG_IsOK(res1
)) {
9393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9395 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (bool)(arg1
)->eof();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9411 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= 0;
9413 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9414 int arg2
= (int) -1 ;
9415 PyObject
*result
= 0 ;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9422 char * kwnames
[] = {
9423 (char *) "self",(char *) "size", NULL
9426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9428 if (!SWIG_IsOK(res1
)) {
9429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9431 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9434 if (!SWIG_IsOK(ecode2
)) {
9435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
9437 arg2
= static_cast< int >(val2
);
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (PyObject
*)(arg1
)->read(arg2
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9452 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
= 0;
9454 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9455 int arg2
= (int) -1 ;
9456 PyObject
*result
= 0 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "size", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9472 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9475 if (!SWIG_IsOK(ecode2
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
9478 arg2
= static_cast< int >(val2
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (PyObject
*)(arg1
)->readline(arg2
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9493 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
= 0;
9495 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9496 int arg2
= (int) -1 ;
9497 PyObject
*result
= 0 ;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9504 char * kwnames
[] = {
9505 (char *) "self",(char *) "sizehint", NULL
9508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9513 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9516 if (!SWIG_IsOK(ecode2
)) {
9517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
9519 arg2
= static_cast< int >(val2
);
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (PyObject
*)(arg1
)->readlines(arg2
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9534 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
= 0;
9536 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9538 int arg3
= (int) 0 ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 PyObject
* obj2
= 0 ;
9548 char * kwnames
[] = {
9549 (char *) "self",(char *) "offset",(char *) "whence", NULL
9552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9554 if (!SWIG_IsOK(res1
)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9557 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9559 if (!SWIG_IsOK(ecode2
)) {
9560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
9562 arg2
= static_cast< int >(val2
);
9564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9565 if (!SWIG_IsOK(ecode3
)) {
9566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
9568 arg3
= static_cast< int >(val3
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 (arg1
)->seek(arg2
,arg3
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= SWIG_Py_Void();
9583 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 PyObject
*resultobj
= 0;
9585 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9589 PyObject
*swig_obj
[1] ;
9591 if (!args
) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9597 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (int)(arg1
)->tell();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_From_int(static_cast< int >(result
));
9611 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9612 PyObject
*resultobj
= 0;
9613 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9617 PyObject
*swig_obj
[1] ;
9619 if (!args
) SWIG_fail
;
9621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9622 if (!SWIG_IsOK(res1
)) {
9623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9625 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (char)(arg1
)->Peek();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_From_char(static_cast< char >(result
));
9639 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9640 PyObject
*resultobj
= 0;
9641 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9645 PyObject
*swig_obj
[1] ;
9647 if (!args
) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9653 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (char)(arg1
)->GetC();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_From_char(static_cast< char >(result
));
9667 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9668 PyObject
*resultobj
= 0;
9669 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9673 PyObject
*swig_obj
[1] ;
9675 if (!args
) SWIG_fail
;
9677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9678 if (!SWIG_IsOK(res1
)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9681 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (size_t)(arg1
)->LastRead();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9695 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9696 PyObject
*resultobj
= 0;
9697 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9701 PyObject
*swig_obj
[1] ;
9703 if (!args
) SWIG_fail
;
9705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9706 if (!SWIG_IsOK(res1
)) {
9707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9709 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (bool)(arg1
)->CanRead();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9725 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9726 PyObject
*resultobj
= 0;
9727 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9731 PyObject
*swig_obj
[1] ;
9733 if (!args
) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9739 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 result
= (bool)(arg1
)->Eof();
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9755 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
= 0;
9757 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9766 char * kwnames
[] = {
9767 (char *) "self",(char *) "c", NULL
9770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9775 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9776 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9777 if (!SWIG_IsOK(ecode2
)) {
9778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
9780 arg2
= static_cast< char >(val2
);
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (bool)(arg1
)->Ungetch(arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9796 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
= 0;
9798 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9800 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9810 PyObject
* obj2
= 0 ;
9811 char * kwnames
[] = {
9812 (char *) "self",(char *) "pos",(char *) "mode", NULL
9815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9820 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9821 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9822 if (!SWIG_IsOK(ecode2
)) {
9823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
9825 arg2
= static_cast< long >(val2
);
9827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9828 if (!SWIG_IsOK(ecode3
)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
9831 arg3
= static_cast< wxSeekMode
>(val3
);
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_From_long(static_cast< long >(result
));
9846 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9847 PyObject
*resultobj
= 0;
9848 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9852 PyObject
*swig_obj
[1] ;
9854 if (!args
) SWIG_fail
;
9856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9857 if (!SWIG_IsOK(res1
)) {
9858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9860 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (long)(arg1
)->TellI();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_From_long(static_cast< long >(result
));
9874 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9877 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
9878 return SWIG_Py_Void();
9881 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9882 return SWIG_Python_InitShadowInstance(args
);
9885 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
= 0;
9887 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9888 PyObject
*arg2
= (PyObject
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 char * kwnames
[] = {
9894 (char *) "self",(char *) "obj", NULL
9897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9899 if (!SWIG_IsOK(res1
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
9902 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 wxOutputStream_write(arg1
,arg2
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_Py_Void();
9917 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9918 PyObject
*resultobj
= 0;
9919 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9923 PyObject
*swig_obj
[1] ;
9925 if (!args
) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
9931 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9945 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9948 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
9949 return SWIG_Py_Void();
9952 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= 0;
9954 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
9955 wxString
*arg2
= 0 ;
9956 wxString
*arg3
= 0 ;
9957 wxString
*arg4
= 0 ;
9959 wxFSFile
*result
= 0 ;
9960 wxPyInputStream
*temp1
;
9961 bool temp2
= false ;
9962 bool temp3
= false ;
9963 bool temp4
= false ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9968 PyObject
* obj2
= 0 ;
9969 PyObject
* obj3
= 0 ;
9970 PyObject
* obj4
= 0 ;
9971 char * kwnames
[] = {
9972 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
9975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9977 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9978 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
9980 PyErr_Clear(); // clear the failure of the wxPyConvert above
9981 arg1
= wxPyCBInputStream_create(obj0
, true);
9983 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
9989 arg2
= wxString_in_helper(obj1
);
9990 if (arg2
== NULL
) SWIG_fail
;
9994 arg3
= wxString_in_helper(obj2
);
9995 if (arg3
== NULL
) SWIG_fail
;
9999 arg4
= wxString_in_helper(obj3
);
10000 if (arg4
== NULL
) SWIG_fail
;
10004 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
10005 if (!SWIG_IsOK(res5
)) {
10006 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
10009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
10011 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
10013 if (SWIG_IsNewObj(res5
)) delete temp
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFSFile
, SWIG_POINTER_NEW
| 0 );
10053 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10054 PyObject
*resultobj
= 0;
10055 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10058 PyObject
*swig_obj
[1] ;
10060 if (!args
) SWIG_fail
;
10061 swig_obj
[0] = args
;
10062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
10063 if (!SWIG_IsOK(res1
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
10066 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= SWIG_Py_Void();
10081 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10082 PyObject
*resultobj
= 0;
10083 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10084 wxInputStream
*result
= 0 ;
10087 PyObject
*swig_obj
[1] ;
10089 if (!args
) SWIG_fail
;
10090 swig_obj
[0] = args
;
10091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
10095 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (wxInputStream
*)(arg1
)->GetStream();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10103 wxPyInputStream
* _ptr
= NULL
;
10106 _ptr
= new wxPyInputStream(result
);
10108 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
10116 SWIGINTERN PyObject
*_wrap_FSFile_DetachStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10117 PyObject
*resultobj
= 0;
10118 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_DetachStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
10129 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 (arg1
)->DetachStream();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_Py_Void();
10143 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10144 PyObject
*resultobj
= 0;
10145 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10146 wxString
*result
= 0 ;
10149 PyObject
*swig_obj
[1] ;
10151 if (!args
) SWIG_fail
;
10152 swig_obj
[0] = args
;
10153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10154 if (!SWIG_IsOK(res1
)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
10157 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 wxString
const &_result_ref
= (arg1
)->GetMimeType();
10162 result
= (wxString
*) &_result_ref
;
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10180 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10181 PyObject
*resultobj
= 0;
10182 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10183 wxString
*result
= 0 ;
10186 PyObject
*swig_obj
[1] ;
10188 if (!args
) SWIG_fail
;
10189 swig_obj
[0] = args
;
10190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10191 if (!SWIG_IsOK(res1
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
10194 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 wxString
const &_result_ref
= (arg1
)->GetLocation();
10199 result
= (wxString
*) &_result_ref
;
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10208 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10217 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10218 PyObject
*resultobj
= 0;
10219 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10220 wxString
*result
= 0 ;
10223 PyObject
*swig_obj
[1] ;
10225 if (!args
) SWIG_fail
;
10226 swig_obj
[0] = args
;
10227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10228 if (!SWIG_IsOK(res1
)) {
10229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
10231 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 wxString
const &_result_ref
= (arg1
)->GetAnchor();
10236 result
= (wxString
*) &_result_ref
;
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10245 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10254 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10255 PyObject
*resultobj
= 0;
10256 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
10260 PyObject
*swig_obj
[1] ;
10262 if (!args
) SWIG_fail
;
10263 swig_obj
[0] = args
;
10264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
10265 if (!SWIG_IsOK(res1
)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
10268 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (arg1
)->GetModificationTime();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
10282 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10285 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
10286 return SWIG_Py_Void();
10289 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10290 return SWIG_Python_InitShadowInstance(args
);
10293 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10294 PyObject
*resultobj
= 0;
10295 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
10298 PyObject
*swig_obj
[1] ;
10300 if (!args
) SWIG_fail
;
10301 swig_obj
[0] = args
;
10302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
10303 if (!SWIG_IsOK(res1
)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
10306 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_Py_Void();
10321 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10324 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
10325 return SWIG_Py_Void();
10328 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10329 PyObject
*resultobj
= 0;
10330 wxPyFileSystemHandler
*result
= 0 ;
10332 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
10346 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
= 0;
10348 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10349 PyObject
*arg2
= (PyObject
*) 0 ;
10350 PyObject
*arg3
= (PyObject
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 char * kwnames
[] = {
10357 (char *) "self",(char *) "self",(char *) "_class", NULL
10360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10362 if (!SWIG_IsOK(res1
)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10365 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 resultobj
= SWIG_Py_Void();
10381 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
*resultobj
= 0;
10383 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10384 wxString
*arg2
= 0 ;
10388 bool temp2
= false ;
10389 PyObject
* obj0
= 0 ;
10390 PyObject
* obj1
= 0 ;
10391 char * kwnames
[] = {
10392 (char *) "self",(char *) "location", NULL
10395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10397 if (!SWIG_IsOK(res1
)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10400 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10402 arg2
= wxString_in_helper(obj1
);
10403 if (arg2
== NULL
) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10429 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
= 0;
10431 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10432 wxFileSystem
*arg2
= 0 ;
10433 wxString
*arg3
= 0 ;
10434 wxFSFile
*result
= 0 ;
10439 bool temp3
= false ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 PyObject
* obj2
= 0 ;
10443 char * kwnames
[] = {
10444 (char *) "self",(char *) "fs",(char *) "location", NULL
10447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10452 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10454 if (!SWIG_IsOK(res2
)) {
10455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10460 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10462 arg3
= wxString_in_helper(obj2
);
10463 if (arg3
== NULL
) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
10489 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
= 0;
10491 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10492 wxString
*arg2
= 0 ;
10493 int arg3
= (int) 0 ;
10497 bool temp2
= false ;
10500 PyObject
* obj0
= 0 ;
10501 PyObject
* obj1
= 0 ;
10502 PyObject
* obj2
= 0 ;
10503 char * kwnames
[] = {
10504 (char *) "self",(char *) "spec",(char *) "flags", NULL
10507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10509 if (!SWIG_IsOK(res1
)) {
10510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10512 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10514 arg2
= wxString_in_helper(obj1
);
10515 if (arg2
== NULL
) SWIG_fail
;
10519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10520 if (!SWIG_IsOK(ecode3
)) {
10521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
10523 arg3
= static_cast< int >(val3
);
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10552 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10553 PyObject
*resultobj
= 0;
10554 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10558 PyObject
*swig_obj
[1] ;
10560 if (!args
) SWIG_fail
;
10561 swig_obj
[0] = args
;
10562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10566 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (arg1
)->FindNext();
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10586 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
= 0;
10588 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10589 wxString
*arg2
= 0 ;
10593 bool temp2
= false ;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 char * kwnames
[] = {
10597 (char *) "self",(char *) "location", NULL
10600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10602 if (!SWIG_IsOK(res1
)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10605 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10607 arg2
= wxString_in_helper(obj1
);
10608 if (arg2
== NULL
) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10638 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
= 0;
10640 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10641 wxString
*arg2
= 0 ;
10645 bool temp2
= false ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char * kwnames
[] = {
10649 (char *) "self",(char *) "location", NULL
10652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10654 if (!SWIG_IsOK(res1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10657 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10659 arg2
= wxString_in_helper(obj1
);
10660 if (arg2
== NULL
) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10690 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
= 0;
10692 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10693 wxString
*arg2
= 0 ;
10697 bool temp2
= false ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 char * kwnames
[] = {
10701 (char *) "self",(char *) "location", NULL
10704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10706 if (!SWIG_IsOK(res1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10709 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10711 arg2
= wxString_in_helper(obj1
);
10712 if (arg2
== NULL
) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10742 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
= 0;
10744 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10745 wxString
*arg2
= 0 ;
10749 bool temp2
= false ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char * kwnames
[] = {
10753 (char *) "self",(char *) "location", NULL
10756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10758 if (!SWIG_IsOK(res1
)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10761 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10763 arg2
= wxString_in_helper(obj1
);
10764 if (arg2
== NULL
) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10794 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
= 0;
10796 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10797 wxString
*arg2
= 0 ;
10801 bool temp2
= false ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char * kwnames
[] = {
10805 (char *) "self",(char *) "location", NULL
10808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10810 if (!SWIG_IsOK(res1
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10813 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10815 arg2
= wxString_in_helper(obj1
);
10816 if (arg2
== NULL
) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10846 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10849 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
10850 return SWIG_Py_Void();
10853 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10854 return SWIG_Python_InitShadowInstance(args
);
10857 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10858 PyObject
*resultobj
= 0;
10859 wxFileSystem
*result
= 0 ;
10861 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (wxFileSystem
*)new wxFileSystem();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_NEW
| 0 );
10875 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10876 PyObject
*resultobj
= 0;
10877 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10880 PyObject
*swig_obj
[1] ;
10882 if (!args
) SWIG_fail
;
10883 swig_obj
[0] = args
;
10884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
10885 if (!SWIG_IsOK(res1
)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10888 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_Py_Void();
10903 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
= 0;
10905 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10906 wxString
*arg2
= 0 ;
10907 bool arg3
= (bool) false ;
10910 bool temp2
= false ;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 PyObject
* obj2
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "location",(char *) "is_dir", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10925 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10927 arg2
= wxString_in_helper(obj1
);
10928 if (arg2
== NULL
) SWIG_fail
;
10932 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10933 if (!SWIG_IsOK(ecode3
)) {
10934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
10936 arg3
= static_cast< bool >(val3
);
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_Py_Void();
10959 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10960 PyObject
*resultobj
= 0;
10961 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10965 PyObject
*swig_obj
[1] ;
10967 if (!args
) SWIG_fail
;
10968 swig_obj
[0] = args
;
10969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10970 if (!SWIG_IsOK(res1
)) {
10971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10973 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (arg1
)->GetPath();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10993 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
= 0;
10995 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10996 wxString
*arg2
= 0 ;
10997 wxFSFile
*result
= 0 ;
11000 bool temp2
= false ;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 char * kwnames
[] = {
11004 (char *) "self",(char *) "location", NULL
11007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
11012 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
11014 arg2
= wxString_in_helper(obj1
);
11015 if (arg2
== NULL
) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11041 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11043 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
11044 wxString
*arg2
= 0 ;
11045 int arg3
= (int) 0 ;
11049 bool temp2
= false ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 PyObject
* obj2
= 0 ;
11055 char * kwnames
[] = {
11056 (char *) "self",(char *) "spec",(char *) "flags", NULL
11059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
11061 if (!SWIG_IsOK(res1
)) {
11062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
11064 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
11066 arg2
= wxString_in_helper(obj1
);
11067 if (arg2
== NULL
) SWIG_fail
;
11071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11072 if (!SWIG_IsOK(ecode3
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
11075 arg3
= static_cast< int >(val3
);
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11104 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11105 PyObject
*resultobj
= 0;
11106 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
11110 PyObject
*swig_obj
[1] ;
11112 if (!args
) SWIG_fail
;
11113 swig_obj
[0] = args
;
11114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
11115 if (!SWIG_IsOK(res1
)) {
11116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
11118 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (arg1
)->FindNext();
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11138 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
= 0;
11140 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char * kwnames
[] = {
11144 (char *) "handler", NULL
11147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
11148 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
11149 if (!SWIG_IsOK(res1
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 wxFileSystem::AddHandler(arg1
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_Py_Void();
11165 SWIGINTERN PyObject
*_wrap_FileSystem_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
= 0;
11167 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
11168 wxFileSystemHandler
*result
= 0 ;
11171 PyObject
* obj0
= 0 ;
11172 char * kwnames
[] = {
11173 (char *) "handler", NULL
11176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
11177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystemHandler
, 0 | 0 );
11178 if (!SWIG_IsOK(res1
)) {
11179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_RemoveHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
11181 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 result
= (wxFileSystemHandler
*)wxFileSystem::RemoveHandler(arg1
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_OWN
| 0 );
11195 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11196 PyObject
*resultobj
= 0;
11198 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxFileSystem::CleanUpHandlers();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_Py_Void();
11212 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
= 0;
11214 wxString
*arg1
= 0 ;
11216 bool temp1
= false ;
11217 PyObject
* obj0
= 0 ;
11218 char * kwnames
[] = {
11219 (char *) "filename", NULL
11222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
11224 arg1
= wxString_in_helper(obj0
);
11225 if (arg1
== NULL
) SWIG_fail
;
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11255 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
= 0;
11257 wxString
*arg1
= 0 ;
11259 bool temp1
= false ;
11260 PyObject
* obj0
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "url", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
11267 arg1
= wxString_in_helper(obj0
);
11268 if (arg1
== NULL
) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11298 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11301 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
11302 return SWIG_Py_Void();
11305 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11306 return SWIG_Python_InitShadowInstance(args
);
11309 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11310 PyObject
*resultobj
= 0;
11311 wxInternetFSHandler
*result
= 0 ;
11313 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
11327 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
= 0;
11329 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
11330 wxString
*arg2
= 0 ;
11334 bool temp2
= false ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char * kwnames
[] = {
11338 (char *) "self",(char *) "location", NULL
11341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
11343 if (!SWIG_IsOK(res1
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
11346 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
11348 arg2
= wxString_in_helper(obj1
);
11349 if (arg2
== NULL
) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11375 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
= 0;
11377 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
11378 wxFileSystem
*arg2
= 0 ;
11379 wxString
*arg3
= 0 ;
11380 wxFSFile
*result
= 0 ;
11385 bool temp3
= false ;
11386 PyObject
* obj0
= 0 ;
11387 PyObject
* obj1
= 0 ;
11388 PyObject
* obj2
= 0 ;
11389 char * kwnames
[] = {
11390 (char *) "self",(char *) "fs",(char *) "location", NULL
11393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
11398 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
11399 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11400 if (!SWIG_IsOK(res2
)) {
11401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11406 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11408 arg3
= wxString_in_helper(obj2
);
11409 if (arg3
== NULL
) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11435 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11438 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
11439 return SWIG_Py_Void();
11442 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11443 return SWIG_Python_InitShadowInstance(args
);
11446 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11447 PyObject
*resultobj
= 0;
11448 wxZipFSHandler
*result
= 0 ;
11450 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (wxZipFSHandler
*)new wxZipFSHandler();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
11464 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
= 0;
11466 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11467 wxString
*arg2
= 0 ;
11471 bool temp2
= false ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 char * kwnames
[] = {
11475 (char *) "self",(char *) "location", NULL
11478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11480 if (!SWIG_IsOK(res1
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11483 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11485 arg2
= wxString_in_helper(obj1
);
11486 if (arg2
== NULL
) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11512 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
= 0;
11514 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11515 wxFileSystem
*arg2
= 0 ;
11516 wxString
*arg3
= 0 ;
11517 wxFSFile
*result
= 0 ;
11522 bool temp3
= false ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char * kwnames
[] = {
11527 (char *) "self",(char *) "fs",(char *) "location", NULL
11530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11532 if (!SWIG_IsOK(res1
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11535 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11537 if (!SWIG_IsOK(res2
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11543 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11545 arg3
= wxString_in_helper(obj2
);
11546 if (arg3
== NULL
) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11572 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
= 0;
11574 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11575 wxString
*arg2
= 0 ;
11576 int arg3
= (int) 0 ;
11580 bool temp2
= false ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 PyObject
* obj2
= 0 ;
11586 char * kwnames
[] = {
11587 (char *) "self",(char *) "spec",(char *) "flags", NULL
11590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11592 if (!SWIG_IsOK(res1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11595 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11597 arg2
= wxString_in_helper(obj1
);
11598 if (arg2
== NULL
) SWIG_fail
;
11602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11603 if (!SWIG_IsOK(ecode3
)) {
11604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11606 arg3
= static_cast< int >(val3
);
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11635 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11636 PyObject
*resultobj
= 0;
11637 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11641 PyObject
*swig_obj
[1] ;
11643 if (!args
) SWIG_fail
;
11644 swig_obj
[0] = args
;
11645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11646 if (!SWIG_IsOK(res1
)) {
11647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11649 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (arg1
)->FindNext();
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11669 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11672 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
11673 return SWIG_Py_Void();
11676 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11677 return SWIG_Python_InitShadowInstance(args
);
11680 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
= 0;
11682 wxString
*arg1
= 0 ;
11683 wxImage
*arg2
= 0 ;
11685 bool temp1
= false ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 PyObject
* obj2
= 0 ;
11693 char * kwnames
[] = {
11694 (char *) "filename",(char *) "image",(char *) "type", NULL
11697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11699 arg1
= wxString_in_helper(obj0
);
11700 if (arg1
== NULL
) SWIG_fail
;
11703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
11704 if (!SWIG_IsOK(res2
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11710 arg2
= reinterpret_cast< wxImage
* >(argp2
);
11711 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11712 if (!SWIG_IsOK(ecode3
)) {
11713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
11715 arg3
= static_cast< long >(val3
);
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_Py_Void();
11737 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
= 0;
11739 wxString
*arg1
= 0 ;
11740 wxBitmap
*arg2
= 0 ;
11742 bool temp1
= false ;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 PyObject
* obj2
= 0 ;
11750 char * kwnames
[] = {
11751 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
11754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11756 arg1
= wxString_in_helper(obj0
);
11757 if (arg1
== NULL
) SWIG_fail
;
11760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11761 if (!SWIG_IsOK(res2
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11767 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11768 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11769 if (!SWIG_IsOK(ecode3
)) {
11770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
11772 arg3
= static_cast< long >(val3
);
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= SWIG_Py_Void();
11794 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
= 0;
11796 wxString
*arg1
= 0 ;
11797 PyObject
*arg2
= (PyObject
*) 0 ;
11798 bool temp1
= false ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char * kwnames
[] = {
11802 (char *) "filename",(char *) "data", NULL
11805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11807 arg1
= wxString_in_helper(obj0
);
11808 if (arg1
== NULL
) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_Py_Void();
11833 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11834 PyObject
*resultobj
= 0;
11835 wxMemoryFSHandler
*result
= 0 ;
11837 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
11851 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
= 0;
11853 wxString
*arg1
= 0 ;
11854 bool temp1
= false ;
11855 PyObject
* obj0
= 0 ;
11856 char * kwnames
[] = {
11857 (char *) "filename", NULL
11860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
11862 arg1
= wxString_in_helper(obj0
);
11863 if (arg1
== NULL
) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_Py_Void();
11887 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
= 0;
11889 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11890 wxString
*arg2
= 0 ;
11894 bool temp2
= false ;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 char * kwnames
[] = {
11898 (char *) "self",(char *) "location", NULL
11901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11903 if (!SWIG_IsOK(res1
)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11906 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11908 arg2
= wxString_in_helper(obj1
);
11909 if (arg2
== NULL
) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
= 0;
11937 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11938 wxFileSystem
*arg2
= 0 ;
11939 wxString
*arg3
= 0 ;
11940 wxFSFile
*result
= 0 ;
11945 bool temp3
= false ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 PyObject
* obj2
= 0 ;
11949 char * kwnames
[] = {
11950 (char *) "self",(char *) "fs",(char *) "location", NULL
11953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11958 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11960 if (!SWIG_IsOK(res2
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11966 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11968 arg3
= wxString_in_helper(obj2
);
11969 if (arg3
== NULL
) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11995 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= 0;
11997 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11998 wxString
*arg2
= 0 ;
11999 int arg3
= (int) 0 ;
12003 bool temp2
= false ;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 PyObject
* obj2
= 0 ;
12009 char * kwnames
[] = {
12010 (char *) "self",(char *) "spec",(char *) "flags", NULL
12013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
12015 if (!SWIG_IsOK(res1
)) {
12016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
12018 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
12020 arg2
= wxString_in_helper(obj1
);
12021 if (arg2
== NULL
) SWIG_fail
;
12025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12026 if (!SWIG_IsOK(ecode3
)) {
12027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
12029 arg3
= static_cast< int >(val3
);
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12058 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
12072 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (arg1
)->FindNext();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12092 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12095 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
12096 return SWIG_Py_Void();
12099 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12100 return SWIG_Python_InitShadowInstance(args
);
12103 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12104 PyObject
*resultobj
= 0;
12105 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12109 PyObject
*swig_obj
[1] ;
12111 if (!args
) SWIG_fail
;
12112 swig_obj
[0] = args
;
12113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12117 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (arg1
)->GetName();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12137 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12138 PyObject
*resultobj
= 0;
12139 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12143 PyObject
*swig_obj
[1] ;
12145 if (!args
) SWIG_fail
;
12146 swig_obj
[0] = args
;
12147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12151 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (arg1
)->GetExtension();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12171 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12172 PyObject
*resultobj
= 0;
12173 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12177 PyObject
*swig_obj
[1] ;
12179 if (!args
) SWIG_fail
;
12180 swig_obj
[0] = args
;
12181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12185 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (long)(arg1
)->GetType();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_From_long(static_cast< long >(result
));
12199 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12205 PyObject
*swig_obj
[1] ;
12207 if (!args
) SWIG_fail
;
12208 swig_obj
[0] = args
;
12209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12213 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (arg1
)->GetMimeType();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12233 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
= 0;
12235 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12236 wxString
*arg2
= 0 ;
12240 bool temp2
= false ;
12241 PyObject
* obj0
= 0 ;
12242 PyObject
* obj1
= 0 ;
12243 char * kwnames
[] = {
12244 (char *) "self",(char *) "name", NULL
12247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12249 if (!SWIG_IsOK(res1
)) {
12250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12252 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12254 arg2
= wxString_in_helper(obj1
);
12255 if (arg2
== NULL
) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12281 SWIGINTERN PyObject
*_wrap_ImageHandler_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
= 0;
12283 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12284 wxInputStream
*arg2
= 0 ;
12288 wxPyInputStream
*temp2
;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 char * kwnames
[] = {
12293 (char *) "self",(char *) "stream", NULL
12296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanReadStream",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12298 if (!SWIG_IsOK(res1
)) {
12299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanReadStream" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12301 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12303 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12304 arg2
= temp2
->m_wxis
;
12307 PyErr_Clear(); // clear the failure of the wxPyConvert above
12308 arg2
= wxPyCBInputStream_create(obj1
, false);
12309 if (arg2
== NULL
) {
12310 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (bool)(arg1
)->CanRead(*arg2
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12326 if (created2
) delete arg2
;
12331 if (created2
) delete arg2
;
12337 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= 0;
12339 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12340 wxString
*arg2
= 0 ;
12343 bool temp2
= false ;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 char * kwnames
[] = {
12347 (char *) "self",(char *) "name", NULL
12350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12352 if (!SWIG_IsOK(res1
)) {
12353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12355 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12357 arg2
= wxString_in_helper(obj1
);
12358 if (arg2
== NULL
) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->SetName((wxString
const &)*arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_Py_Void();
12382 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
= 0;
12384 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12385 wxString
*arg2
= 0 ;
12388 bool temp2
= false ;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 char * kwnames
[] = {
12392 (char *) "self",(char *) "extension", NULL
12395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12397 if (!SWIG_IsOK(res1
)) {
12398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12400 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12402 arg2
= wxString_in_helper(obj1
);
12403 if (arg2
== NULL
) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 (arg1
)->SetExtension((wxString
const &)*arg2
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= SWIG_Py_Void();
12427 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
= 0;
12429 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 PyObject
* obj1
= 0 ;
12437 char * kwnames
[] = {
12438 (char *) "self",(char *) "type", NULL
12441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12443 if (!SWIG_IsOK(res1
)) {
12444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12446 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12447 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12448 if (!SWIG_IsOK(ecode2
)) {
12449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
12451 arg2
= static_cast< long >(val2
);
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 (arg1
)->SetType(arg2
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_Py_Void();
12465 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
= 0;
12467 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12468 wxString
*arg2
= 0 ;
12471 bool temp2
= false ;
12472 PyObject
* obj0
= 0 ;
12473 PyObject
* obj1
= 0 ;
12474 char * kwnames
[] = {
12475 (char *) "self",(char *) "mimetype", NULL
12478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12480 if (!SWIG_IsOK(res1
)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12483 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12485 arg2
= wxString_in_helper(obj1
);
12486 if (arg2
== NULL
) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 (arg1
)->SetMimeType((wxString
const &)*arg2
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_Py_Void();
12510 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12513 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
12514 return SWIG_Py_Void();
12517 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12518 PyObject
*resultobj
= 0;
12519 wxPyImageHandler
*result
= 0 ;
12521 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (wxPyImageHandler
*)new wxPyImageHandler();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
12535 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
= 0;
12537 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
12538 PyObject
*arg2
= (PyObject
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 char * kwnames
[] = {
12544 (char *) "self",(char *) "self", NULL
12547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
12552 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->_SetSelf(arg2
);
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= SWIG_Py_Void();
12567 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12570 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
12571 return SWIG_Py_Void();
12574 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12575 return SWIG_Python_InitShadowInstance(args
);
12578 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12579 PyObject
*resultobj
= 0;
12580 wxImageHistogram
*result
= 0 ;
12582 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (wxImageHistogram
*)new wxImageHistogram();
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
12596 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
= 0;
12601 unsigned long result
;
12602 unsigned char val1
;
12604 unsigned char val2
;
12606 unsigned char val3
;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 char * kwnames
[] = {
12612 (char *) "r",(char *) "g",(char *) "b", NULL
12615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12616 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12617 if (!SWIG_IsOK(ecode1
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
12620 arg1
= static_cast< byte
>(val1
);
12621 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12622 if (!SWIG_IsOK(ecode2
)) {
12623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
12625 arg2
= static_cast< byte
>(val2
);
12626 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12627 if (!SWIG_IsOK(ecode3
)) {
12628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
12630 arg3
= static_cast< byte
>(val3
);
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12644 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
= 0;
12646 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12647 byte
*arg2
= (byte
*) 0 ;
12648 byte
*arg3
= (byte
*) 0 ;
12649 byte
*arg4
= (byte
*) 0 ;
12650 byte arg5
= (byte
) 1 ;
12651 byte arg6
= (byte
) 0 ;
12652 byte arg7
= (byte
) 0 ;
12657 int res2
= SWIG_TMPOBJ
;
12659 int res3
= SWIG_TMPOBJ
;
12661 int res4
= SWIG_TMPOBJ
;
12662 unsigned char val5
;
12664 unsigned char val6
;
12666 unsigned char val7
;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 PyObject
* obj2
= 0 ;
12671 PyObject
* obj3
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12681 if (!SWIG_IsOK(res1
)) {
12682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
12684 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12686 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
12687 if (!SWIG_IsOK(ecode5
)) {
12688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
12690 arg5
= static_cast< byte
>(val5
);
12693 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
12694 if (!SWIG_IsOK(ecode6
)) {
12695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
12697 arg6
= static_cast< byte
>(val6
);
12700 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
12701 if (!SWIG_IsOK(ecode7
)) {
12702 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
12704 arg7
= static_cast< byte
>(val7
);
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12715 if (SWIG_IsTmpObj(res2
)) {
12716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
12718 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
12721 if (SWIG_IsTmpObj(res3
)) {
12722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
12724 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
12727 if (SWIG_IsTmpObj(res4
)) {
12728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
12730 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
12739 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
= 0;
12741 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12742 unsigned long arg2
;
12743 unsigned long result
;
12746 unsigned long val2
;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 char * kwnames
[] = {
12751 (char *) "self",(char *) "key", NULL
12754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12756 if (!SWIG_IsOK(res1
)) {
12757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12759 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12760 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12761 if (!SWIG_IsOK(ecode2
)) {
12762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
12764 arg2
= static_cast< unsigned long >(val2
);
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12778 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
= 0;
12780 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12784 unsigned long result
;
12787 unsigned char val2
;
12789 unsigned char val3
;
12791 unsigned char val4
;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 PyObject
* obj2
= 0 ;
12796 PyObject
* obj3
= 0 ;
12797 char * kwnames
[] = {
12798 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12803 if (!SWIG_IsOK(res1
)) {
12804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12806 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12807 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12808 if (!SWIG_IsOK(ecode2
)) {
12809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
12811 arg2
= static_cast< byte
>(val2
);
12812 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12813 if (!SWIG_IsOK(ecode3
)) {
12814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
12816 arg3
= static_cast< byte
>(val3
);
12817 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
12818 if (!SWIG_IsOK(ecode4
)) {
12819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
12821 arg4
= static_cast< byte
>(val4
);
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12835 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
= 0;
12837 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12838 wxColour
*arg2
= 0 ;
12839 unsigned long result
;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char * kwnames
[] = {
12846 (char *) "self",(char *) "colour", NULL
12849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12854 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12857 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12872 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12875 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
12876 return SWIG_Py_Void();
12879 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12880 return SWIG_Python_InitShadowInstance(args
);
12883 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= 0;
12885 byte arg1
= (byte
) 0 ;
12886 byte arg2
= (byte
) 0 ;
12887 byte arg3
= (byte
) 0 ;
12888 wxImage_RGBValue
*result
= 0 ;
12889 unsigned char val1
;
12891 unsigned char val2
;
12893 unsigned char val3
;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 PyObject
* obj2
= 0 ;
12898 char * kwnames
[] = {
12899 (char *) "r",(char *) "g",(char *) "b", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12904 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12905 if (!SWIG_IsOK(ecode1
)) {
12906 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
12908 arg1
= static_cast< byte
>(val1
);
12911 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12912 if (!SWIG_IsOK(ecode2
)) {
12913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
12915 arg2
= static_cast< byte
>(val2
);
12918 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12919 if (!SWIG_IsOK(ecode3
)) {
12920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
12922 arg3
= static_cast< byte
>(val3
);
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
12937 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12938 PyObject
*resultobj
= 0;
12939 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12943 unsigned char val2
;
12945 PyObject
*swig_obj
[2] ;
12947 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
12948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12949 if (!SWIG_IsOK(res1
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12952 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12953 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12954 if (!SWIG_IsOK(ecode2
)) {
12955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
12957 arg2
= static_cast< byte
>(val2
);
12958 if (arg1
) (arg1
)->red
= arg2
;
12960 resultobj
= SWIG_Py_Void();
12967 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 PyObject
*resultobj
= 0;
12969 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12973 PyObject
*swig_obj
[1] ;
12975 if (!args
) SWIG_fail
;
12976 swig_obj
[0] = args
;
12977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12978 if (!SWIG_IsOK(res1
)) {
12979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12981 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12982 result
= (byte
) ((arg1
)->red
);
12983 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12990 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12991 PyObject
*resultobj
= 0;
12992 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12996 unsigned char val2
;
12998 PyObject
*swig_obj
[2] ;
13000 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
13001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
13002 if (!SWIG_IsOK(res1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
13005 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
13006 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
13007 if (!SWIG_IsOK(ecode2
)) {
13008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
13010 arg2
= static_cast< byte
>(val2
);
13011 if (arg1
) (arg1
)->green
= arg2
;
13013 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13021 PyObject
*resultobj
= 0;
13022 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
13026 PyObject
*swig_obj
[1] ;
13028 if (!args
) SWIG_fail
;
13029 swig_obj
[0] = args
;
13030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
13031 if (!SWIG_IsOK(res1
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
13034 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
13035 result
= (byte
) ((arg1
)->green
);
13036 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13043 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13044 PyObject
*resultobj
= 0;
13045 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
13049 unsigned char val2
;
13051 PyObject
*swig_obj
[2] ;
13053 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
13054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
13055 if (!SWIG_IsOK(res1
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
13058 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
13059 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
13060 if (!SWIG_IsOK(ecode2
)) {
13061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
13063 arg2
= static_cast< byte
>(val2
);
13064 if (arg1
) (arg1
)->blue
= arg2
;
13066 resultobj
= SWIG_Py_Void();
13073 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13074 PyObject
*resultobj
= 0;
13075 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
13079 PyObject
*swig_obj
[1] ;
13081 if (!args
) SWIG_fail
;
13082 swig_obj
[0] = args
;
13083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
13084 if (!SWIG_IsOK(res1
)) {
13085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
13087 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
13088 result
= (byte
) ((arg1
)->blue
);
13089 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13096 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13099 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
13100 return SWIG_Py_Void();
13103 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13104 return SWIG_Python_InitShadowInstance(args
);
13107 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
= 0;
13109 double arg1
= (double) 0.0 ;
13110 double arg2
= (double) 0.0 ;
13111 double arg3
= (double) 0.0 ;
13112 wxImage_HSVValue
*result
= 0 ;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 PyObject
* obj2
= 0 ;
13122 char * kwnames
[] = {
13123 (char *) "h",(char *) "s",(char *) "v", NULL
13126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13128 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
13129 if (!SWIG_IsOK(ecode1
)) {
13130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
13132 arg1
= static_cast< double >(val1
);
13135 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
13136 if (!SWIG_IsOK(ecode2
)) {
13137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
13139 arg2
= static_cast< double >(val2
);
13142 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
13143 if (!SWIG_IsOK(ecode3
)) {
13144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
13146 arg3
= static_cast< double >(val3
);
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
13161 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13162 PyObject
*resultobj
= 0;
13163 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13169 PyObject
*swig_obj
[2] ;
13171 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
13172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13173 if (!SWIG_IsOK(res1
)) {
13174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13176 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13177 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
13178 if (!SWIG_IsOK(ecode2
)) {
13179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
13181 arg2
= static_cast< double >(val2
);
13182 if (arg1
) (arg1
)->hue
= arg2
;
13184 resultobj
= SWIG_Py_Void();
13191 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13192 PyObject
*resultobj
= 0;
13193 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13197 PyObject
*swig_obj
[1] ;
13199 if (!args
) SWIG_fail
;
13200 swig_obj
[0] = args
;
13201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13205 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13206 result
= (double) ((arg1
)->hue
);
13207 resultobj
= SWIG_From_double(static_cast< double >(result
));
13214 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13215 PyObject
*resultobj
= 0;
13216 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13222 PyObject
*swig_obj
[2] ;
13224 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
13225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13226 if (!SWIG_IsOK(res1
)) {
13227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13229 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13230 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
13231 if (!SWIG_IsOK(ecode2
)) {
13232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
13234 arg2
= static_cast< double >(val2
);
13235 if (arg1
) (arg1
)->saturation
= arg2
;
13237 resultobj
= SWIG_Py_Void();
13244 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13245 PyObject
*resultobj
= 0;
13246 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13250 PyObject
*swig_obj
[1] ;
13252 if (!args
) SWIG_fail
;
13253 swig_obj
[0] = args
;
13254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13255 if (!SWIG_IsOK(res1
)) {
13256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13258 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13259 result
= (double) ((arg1
)->saturation
);
13260 resultobj
= SWIG_From_double(static_cast< double >(result
));
13267 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13268 PyObject
*resultobj
= 0;
13269 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13275 PyObject
*swig_obj
[2] ;
13277 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
13278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13282 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13283 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
13284 if (!SWIG_IsOK(ecode2
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
13287 arg2
= static_cast< double >(val2
);
13288 if (arg1
) (arg1
)->value
= arg2
;
13290 resultobj
= SWIG_Py_Void();
13297 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13298 PyObject
*resultobj
= 0;
13299 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
13303 PyObject
*swig_obj
[1] ;
13305 if (!args
) SWIG_fail
;
13306 swig_obj
[0] = args
;
13307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
13308 if (!SWIG_IsOK(res1
)) {
13309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
13311 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
13312 result
= (double) ((arg1
)->value
);
13313 resultobj
= SWIG_From_double(static_cast< double >(result
));
13320 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13323 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
13324 return SWIG_Py_Void();
13327 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 return SWIG_Python_InitShadowInstance(args
);
13331 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= 0;
13333 wxString
*arg1
= 0 ;
13334 long arg2
= (long) wxBITMAP_TYPE_ANY
;
13335 int arg3
= (int) -1 ;
13336 wxImage
*result
= 0 ;
13337 bool temp1
= false ;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 PyObject
* obj2
= 0 ;
13345 char * kwnames
[] = {
13346 (char *) "name",(char *) "type",(char *) "index", NULL
13349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13351 arg1
= wxString_in_helper(obj0
);
13352 if (arg1
== NULL
) SWIG_fail
;
13356 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13357 if (!SWIG_IsOK(ecode2
)) {
13358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
13360 arg2
= static_cast< long >(val2
);
13363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13364 if (!SWIG_IsOK(ecode3
)) {
13365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
13367 arg3
= static_cast< int >(val3
);
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
13390 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxImage
*arg1
= (wxImage
*) 0 ;
13395 PyObject
*swig_obj
[1] ;
13397 if (!args
) SWIG_fail
;
13398 swig_obj
[0] = args
;
13399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
13400 if (!SWIG_IsOK(res1
)) {
13401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
13403 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= SWIG_Py_Void();
13418 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
= 0;
13420 wxString
*arg1
= 0 ;
13421 wxString
*arg2
= 0 ;
13422 int arg3
= (int) -1 ;
13423 wxImage
*result
= 0 ;
13424 bool temp1
= false ;
13425 bool temp2
= false ;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 PyObject
* obj2
= 0 ;
13431 char * kwnames
[] = {
13432 (char *) "name",(char *) "mimetype",(char *) "index", NULL
13435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13437 arg1
= wxString_in_helper(obj0
);
13438 if (arg1
== NULL
) SWIG_fail
;
13442 arg2
= wxString_in_helper(obj1
);
13443 if (arg2
== NULL
) SWIG_fail
;
13447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13448 if (!SWIG_IsOK(ecode3
)) {
13449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
13451 arg3
= static_cast< int >(val3
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13482 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
= 0;
13484 wxInputStream
*arg1
= 0 ;
13485 long arg2
= (long) wxBITMAP_TYPE_ANY
;
13486 int arg3
= (int) -1 ;
13487 wxImage
*result
= 0 ;
13488 wxPyInputStream
*temp1
;
13494 PyObject
* obj0
= 0 ;
13495 PyObject
* obj1
= 0 ;
13496 PyObject
* obj2
= 0 ;
13497 char * kwnames
[] = {
13498 (char *) "stream",(char *) "type",(char *) "index", NULL
13501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13503 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13504 arg1
= temp1
->m_wxis
;
13507 PyErr_Clear(); // clear the failure of the wxPyConvert above
13508 arg1
= wxPyCBInputStream_create(obj0
, false);
13509 if (arg1
== NULL
) {
13510 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13517 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13518 if (!SWIG_IsOK(ecode2
)) {
13519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
13521 arg2
= static_cast< long >(val2
);
13524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13525 if (!SWIG_IsOK(ecode3
)) {
13526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
13528 arg3
= static_cast< int >(val3
);
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13538 if (created1
) delete arg1
;
13543 if (created1
) delete arg1
;
13549 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
= 0;
13551 wxInputStream
*arg1
= 0 ;
13552 wxString
*arg2
= 0 ;
13553 int arg3
= (int) -1 ;
13554 wxImage
*result
= 0 ;
13555 wxPyInputStream
*temp1
;
13557 bool temp2
= false ;
13560 PyObject
* obj0
= 0 ;
13561 PyObject
* obj1
= 0 ;
13562 PyObject
* obj2
= 0 ;
13563 char * kwnames
[] = {
13564 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
13567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13569 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13570 arg1
= temp1
->m_wxis
;
13573 PyErr_Clear(); // clear the failure of the wxPyConvert above
13574 arg1
= wxPyCBInputStream_create(obj0
, false);
13575 if (arg1
== NULL
) {
13576 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13583 arg2
= wxString_in_helper(obj1
);
13584 if (arg2
== NULL
) SWIG_fail
;
13588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13589 if (!SWIG_IsOK(ecode3
)) {
13590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
13592 arg3
= static_cast< int >(val3
);
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13602 if (created1
) delete arg1
;
13611 if (created1
) delete arg1
;
13621 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= 0;
13623 int arg1
= (int) 0 ;
13624 int arg2
= (int) 0 ;
13625 bool arg3
= (bool) true ;
13626 wxImage
*result
= 0 ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 PyObject
* obj2
= 0 ;
13636 char * kwnames
[] = {
13637 (char *) "width",(char *) "height",(char *) "clear", NULL
13640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13643 if (!SWIG_IsOK(ecode1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
13646 arg1
= static_cast< int >(val1
);
13649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13650 if (!SWIG_IsOK(ecode2
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
13653 arg2
= static_cast< int >(val2
);
13656 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13657 if (!SWIG_IsOK(ecode3
)) {
13658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
13660 arg3
= static_cast< bool >(val3
);
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13675 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
= 0;
13677 wxBitmap
*arg1
= 0 ;
13678 wxImage
*result
= 0 ;
13681 PyObject
* obj0
= 0 ;
13682 char * kwnames
[] = {
13683 (char *) "bitmap", NULL
13686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
13687 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13688 if (!SWIG_IsOK(res1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13694 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
13696 if (!wxPyCheckForApp()) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13709 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
= 0;
13715 wxImage
*result
= 0 ;
13721 PyObject
* obj0
= 0 ;
13722 PyObject
* obj1
= 0 ;
13723 PyObject
* obj2
= 0 ;
13724 char * kwnames
[] = {
13725 (char *) "width",(char *) "height",(char *) "data", NULL
13728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13730 if (!SWIG_IsOK(ecode1
)) {
13731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
13733 arg1
= static_cast< int >(val1
);
13734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13735 if (!SWIG_IsOK(ecode2
)) {
13736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
13738 arg2
= static_cast< int >(val2
);
13740 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13756 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
= 0;
13764 wxImage
*result
= 0 ;
13771 PyObject
* obj0
= 0 ;
13772 PyObject
* obj1
= 0 ;
13773 PyObject
* obj2
= 0 ;
13774 PyObject
* obj3
= 0 ;
13775 char * kwnames
[] = {
13776 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
13779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13780 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13781 if (!SWIG_IsOK(ecode1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
13784 arg1
= static_cast< int >(val1
);
13785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13786 if (!SWIG_IsOK(ecode2
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
13789 arg2
= static_cast< int >(val2
);
13791 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
13795 if (obj3
!= Py_None
) {
13796 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13813 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
= 0;
13815 wxImage
*arg1
= (wxImage
*) 0 ;
13818 bool arg4
= (bool) true ;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 PyObject
* obj2
= 0 ;
13830 PyObject
* obj3
= 0 ;
13831 char * kwnames
[] = {
13832 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
13835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13837 if (!SWIG_IsOK(res1
)) {
13838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
13840 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13842 if (!SWIG_IsOK(ecode2
)) {
13843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
13845 arg2
= static_cast< int >(val2
);
13846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13847 if (!SWIG_IsOK(ecode3
)) {
13848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
13850 arg3
= static_cast< int >(val3
);
13852 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13853 if (!SWIG_IsOK(ecode4
)) {
13854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
13856 arg4
= static_cast< bool >(val4
);
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 (arg1
)->Create(arg2
,arg3
,arg4
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_Py_Void();
13871 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13872 PyObject
*resultobj
= 0;
13873 wxImage
*arg1
= (wxImage
*) 0 ;
13876 PyObject
*swig_obj
[1] ;
13878 if (!args
) SWIG_fail
;
13879 swig_obj
[0] = args
;
13880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13881 if (!SWIG_IsOK(res1
)) {
13882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
13884 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_Py_Void();
13898 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
= 0;
13900 wxImage
*arg1
= (wxImage
*) 0 ;
13903 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
13904 SwigValueWrapper
<wxImage
> result
;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 PyObject
* obj2
= 0 ;
13916 PyObject
* obj3
= 0 ;
13917 char * kwnames
[] = {
13918 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
13921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13923 if (!SWIG_IsOK(res1
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
13926 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13928 if (!SWIG_IsOK(ecode2
)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
13931 arg2
= static_cast< int >(val2
);
13932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13933 if (!SWIG_IsOK(ecode3
)) {
13934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
13936 arg3
= static_cast< int >(val3
);
13938 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13939 if (!SWIG_IsOK(ecode4
)) {
13940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Scale" "', expected argument " "4"" of type '" "int""'");
13942 arg4
= static_cast< int >(val4
);
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (arg1
)->Scale(arg2
,arg3
,arg4
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13957 SWIGINTERN PyObject
*_wrap_Image_ResampleBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
= 0;
13959 wxImage
*arg1
= (wxImage
*) 0 ;
13962 SwigValueWrapper
<wxImage
> result
;
13969 PyObject
* obj0
= 0 ;
13970 PyObject
* obj1
= 0 ;
13971 PyObject
* obj2
= 0 ;
13972 char * kwnames
[] = {
13973 (char *) "self",(char *) "width",(char *) "height", NULL
13976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13978 if (!SWIG_IsOK(res1
)) {
13979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBox" "', expected argument " "1"" of type '" "wxImage const *""'");
13981 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13983 if (!SWIG_IsOK(ecode2
)) {
13984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBox" "', expected argument " "2"" of type '" "int""'");
13986 arg2
= static_cast< int >(val2
);
13987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13988 if (!SWIG_IsOK(ecode3
)) {
13989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBox" "', expected argument " "3"" of type '" "int""'");
13991 arg3
= static_cast< int >(val3
);
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= ((wxImage
const *)arg1
)->ResampleBox(arg2
,arg3
);
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14005 SWIGINTERN PyObject
*_wrap_Image_ResampleBicubic(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
= 0;
14007 wxImage
*arg1
= (wxImage
*) 0 ;
14010 SwigValueWrapper
<wxImage
> result
;
14017 PyObject
* obj0
= 0 ;
14018 PyObject
* obj1
= 0 ;
14019 PyObject
* obj2
= 0 ;
14020 char * kwnames
[] = {
14021 (char *) "self",(char *) "width",(char *) "height", NULL
14024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ResampleBicubic",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14026 if (!SWIG_IsOK(res1
)) {
14027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ResampleBicubic" "', expected argument " "1"" of type '" "wxImage const *""'");
14029 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14031 if (!SWIG_IsOK(ecode2
)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ResampleBicubic" "', expected argument " "2"" of type '" "int""'");
14034 arg2
= static_cast< int >(val2
);
14035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14036 if (!SWIG_IsOK(ecode3
)) {
14037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ResampleBicubic" "', expected argument " "3"" of type '" "int""'");
14039 arg3
= static_cast< int >(val3
);
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= ((wxImage
const *)arg1
)->ResampleBicubic(arg2
,arg3
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14053 SWIGINTERN PyObject
*_wrap_Image_Blur(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
= 0;
14055 wxImage
*arg1
= (wxImage
*) 0 ;
14057 SwigValueWrapper
<wxImage
> result
;
14062 PyObject
* obj0
= 0 ;
14063 PyObject
* obj1
= 0 ;
14064 char * kwnames
[] = {
14065 (char *) "self",(char *) "radius", NULL
14068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_Blur",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14070 if (!SWIG_IsOK(res1
)) {
14071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Blur" "', expected argument " "1"" of type '" "wxImage *""'");
14073 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14075 if (!SWIG_IsOK(ecode2
)) {
14076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Blur" "', expected argument " "2"" of type '" "int""'");
14078 arg2
= static_cast< int >(val2
);
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (arg1
)->Blur(arg2
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14092 SWIGINTERN PyObject
*_wrap_Image_BlurHorizontal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
= 0;
14094 wxImage
*arg1
= (wxImage
*) 0 ;
14096 SwigValueWrapper
<wxImage
> result
;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 char * kwnames
[] = {
14104 (char *) "self",(char *) "radius", NULL
14107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurHorizontal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurHorizontal" "', expected argument " "1"" of type '" "wxImage *""'");
14112 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14114 if (!SWIG_IsOK(ecode2
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurHorizontal" "', expected argument " "2"" of type '" "int""'");
14117 arg2
= static_cast< int >(val2
);
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (arg1
)->BlurHorizontal(arg2
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14131 SWIGINTERN PyObject
*_wrap_Image_BlurVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= 0;
14133 wxImage
*arg1
= (wxImage
*) 0 ;
14135 SwigValueWrapper
<wxImage
> result
;
14140 PyObject
* obj0
= 0 ;
14141 PyObject
* obj1
= 0 ;
14142 char * kwnames
[] = {
14143 (char *) "self",(char *) "radius", NULL
14146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_BlurVertical",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14148 if (!SWIG_IsOK(res1
)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_BlurVertical" "', expected argument " "1"" of type '" "wxImage *""'");
14151 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14153 if (!SWIG_IsOK(ecode2
)) {
14154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_BlurVertical" "', expected argument " "2"" of type '" "int""'");
14156 arg2
= static_cast< int >(val2
);
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (arg1
)->BlurVertical(arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14170 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
= 0;
14172 wxImage
*arg1
= (wxImage
*) 0 ;
14175 SwigValueWrapper
<wxImage
> result
;
14182 PyObject
* obj0
= 0 ;
14183 PyObject
* obj1
= 0 ;
14184 PyObject
* obj2
= 0 ;
14185 char * kwnames
[] = {
14186 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
14189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14191 if (!SWIG_IsOK(res1
)) {
14192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
14194 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14196 if (!SWIG_IsOK(ecode2
)) {
14197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
14199 arg2
= static_cast< int >(val2
);
14200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14201 if (!SWIG_IsOK(ecode3
)) {
14202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
14204 arg3
= static_cast< int >(val3
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
14218 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
= 0;
14220 wxImage
*arg1
= (wxImage
*) 0 ;
14223 int arg4
= (int) wxIMAGE_QUALITY_NORMAL
;
14224 wxImage
*result
= 0 ;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 PyObject
* obj3
= 0 ;
14237 char * kwnames
[] = {
14238 (char *) "self",(char *) "width",(char *) "height",(char *) "quality", NULL
14241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14243 if (!SWIG_IsOK(res1
)) {
14244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
14246 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14248 if (!SWIG_IsOK(ecode2
)) {
14249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
14251 arg2
= static_cast< int >(val2
);
14252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14253 if (!SWIG_IsOK(ecode3
)) {
14254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
14256 arg3
= static_cast< int >(val3
);
14258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14259 if (!SWIG_IsOK(ecode4
)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rescale" "', expected argument " "4"" of type '" "int""'");
14262 arg4
= static_cast< int >(val4
);
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
,arg4
);
14268 result
= (wxImage
*) &_result_ref
;
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
14280 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14281 PyObject
*resultobj
= 0;
14282 wxImage
*arg1
= (wxImage
*) 0 ;
14284 wxPoint
*arg3
= 0 ;
14285 int arg4
= (int) -1 ;
14286 int arg5
= (int) -1 ;
14287 int arg6
= (int) -1 ;
14288 wxImage
*result
= 0 ;
14299 PyObject
* obj0
= 0 ;
14300 PyObject
* obj1
= 0 ;
14301 PyObject
* obj2
= 0 ;
14302 PyObject
* obj3
= 0 ;
14303 PyObject
* obj4
= 0 ;
14304 PyObject
* obj5
= 0 ;
14305 char * kwnames
[] = {
14306 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
14309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14311 if (!SWIG_IsOK(res1
)) {
14312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
14314 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14317 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14321 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14325 if (!SWIG_IsOK(ecode4
)) {
14326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
14328 arg4
= static_cast< int >(val4
);
14331 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14332 if (!SWIG_IsOK(ecode5
)) {
14333 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
14335 arg5
= static_cast< int >(val5
);
14338 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
14339 if (!SWIG_IsOK(ecode6
)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
14342 arg6
= static_cast< int >(val6
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
14348 result
= (wxImage
*) &_result_ref
;
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
14360 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
= 0;
14362 wxImage
*arg1
= (wxImage
*) 0 ;
14374 unsigned char val4
;
14376 unsigned char val5
;
14378 unsigned char val6
;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 PyObject
* obj2
= 0 ;
14383 PyObject
* obj3
= 0 ;
14384 PyObject
* obj4
= 0 ;
14385 PyObject
* obj5
= 0 ;
14386 char * kwnames
[] = {
14387 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
14390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14392 if (!SWIG_IsOK(res1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
14395 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14397 if (!SWIG_IsOK(ecode2
)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
14400 arg2
= static_cast< int >(val2
);
14401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14402 if (!SWIG_IsOK(ecode3
)) {
14403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
14405 arg3
= static_cast< int >(val3
);
14406 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14407 if (!SWIG_IsOK(ecode4
)) {
14408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
14410 arg4
= static_cast< byte
>(val4
);
14411 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14412 if (!SWIG_IsOK(ecode5
)) {
14413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
14415 arg5
= static_cast< byte
>(val5
);
14416 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
14417 if (!SWIG_IsOK(ecode6
)) {
14418 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
14420 arg6
= static_cast< byte
>(val6
);
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= SWIG_Py_Void();
14434 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
= 0;
14436 wxImage
*arg1
= (wxImage
*) 0 ;
14444 unsigned char val3
;
14446 unsigned char val4
;
14448 unsigned char val5
;
14450 PyObject
* obj0
= 0 ;
14451 PyObject
* obj1
= 0 ;
14452 PyObject
* obj2
= 0 ;
14453 PyObject
* obj3
= 0 ;
14454 PyObject
* obj4
= 0 ;
14455 char * kwnames
[] = {
14456 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
14459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14461 if (!SWIG_IsOK(res1
)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
14464 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14467 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14469 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14470 if (!SWIG_IsOK(ecode3
)) {
14471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
14473 arg3
= static_cast< byte
>(val3
);
14474 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14475 if (!SWIG_IsOK(ecode4
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
14478 arg4
= static_cast< byte
>(val4
);
14479 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14480 if (!SWIG_IsOK(ecode5
)) {
14481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
14483 arg5
= static_cast< byte
>(val5
);
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= SWIG_Py_Void();
14497 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
= 0;
14499 wxImage
*arg1
= (wxImage
*) 0 ;
14509 PyObject
* obj0
= 0 ;
14510 PyObject
* obj1
= 0 ;
14511 PyObject
* obj2
= 0 ;
14512 char * kwnames
[] = {
14513 (char *) "self",(char *) "x",(char *) "y", NULL
14516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14518 if (!SWIG_IsOK(res1
)) {
14519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
14521 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14523 if (!SWIG_IsOK(ecode2
)) {
14524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
14526 arg2
= static_cast< int >(val2
);
14527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14528 if (!SWIG_IsOK(ecode3
)) {
14529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
14531 arg3
= static_cast< int >(val3
);
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14545 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
= 0;
14547 wxImage
*arg1
= (wxImage
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 PyObject
* obj2
= 0 ;
14560 char * kwnames
[] = {
14561 (char *) "self",(char *) "x",(char *) "y", NULL
14564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14566 if (!SWIG_IsOK(res1
)) {
14567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
14569 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14571 if (!SWIG_IsOK(ecode2
)) {
14572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
14574 arg2
= static_cast< int >(val2
);
14575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14576 if (!SWIG_IsOK(ecode3
)) {
14577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
14579 arg3
= static_cast< int >(val3
);
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14593 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
= 0;
14595 wxImage
*arg1
= (wxImage
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 PyObject
* obj2
= 0 ;
14608 char * kwnames
[] = {
14609 (char *) "self",(char *) "x",(char *) "y", NULL
14612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14614 if (!SWIG_IsOK(res1
)) {
14615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
14617 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14619 if (!SWIG_IsOK(ecode2
)) {
14620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
14622 arg2
= static_cast< int >(val2
);
14623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14624 if (!SWIG_IsOK(ecode3
)) {
14625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
14627 arg3
= static_cast< int >(val3
);
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14641 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
= 0;
14643 wxImage
*arg1
= (wxImage
*) 0 ;
14653 unsigned char val4
;
14655 PyObject
* obj0
= 0 ;
14656 PyObject
* obj1
= 0 ;
14657 PyObject
* obj2
= 0 ;
14658 PyObject
* obj3
= 0 ;
14659 char * kwnames
[] = {
14660 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
14663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14665 if (!SWIG_IsOK(res1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14668 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14670 if (!SWIG_IsOK(ecode2
)) {
14671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
14673 arg2
= static_cast< int >(val2
);
14674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14675 if (!SWIG_IsOK(ecode3
)) {
14676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
14678 arg3
= static_cast< int >(val3
);
14679 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14680 if (!SWIG_IsOK(ecode4
)) {
14681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
14683 arg4
= static_cast< byte
>(val4
);
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_Py_Void();
14697 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
= 0;
14699 wxImage
*arg1
= (wxImage
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 PyObject
* obj2
= 0 ;
14712 char * kwnames
[] = {
14713 (char *) "self",(char *) "x",(char *) "y", NULL
14716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14718 if (!SWIG_IsOK(res1
)) {
14719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14721 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14723 if (!SWIG_IsOK(ecode2
)) {
14724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
14726 arg2
= static_cast< int >(val2
);
14727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14728 if (!SWIG_IsOK(ecode3
)) {
14729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
14731 arg3
= static_cast< int >(val3
);
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14745 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14746 PyObject
*resultobj
= 0;
14747 wxImage
*arg1
= (wxImage
*) 0 ;
14751 PyObject
*swig_obj
[1] ;
14753 if (!args
) SWIG_fail
;
14754 swig_obj
[0] = args
;
14755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14756 if (!SWIG_IsOK(res1
)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14759 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (bool)(arg1
)->HasAlpha();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14775 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14776 PyObject
*resultobj
= 0;
14777 wxImage
*arg1
= (wxImage
*) 0 ;
14780 PyObject
*swig_obj
[1] ;
14782 if (!args
) SWIG_fail
;
14783 swig_obj
[0] = args
;
14784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14785 if (!SWIG_IsOK(res1
)) {
14786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14788 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 (arg1
)->InitAlpha();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_Py_Void();
14802 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
= 0;
14804 wxImage
*arg1
= (wxImage
*) 0 ;
14807 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14815 unsigned char val4
;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 PyObject
* obj2
= 0 ;
14820 PyObject
* obj3
= 0 ;
14821 char * kwnames
[] = {
14822 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
14825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14827 if (!SWIG_IsOK(res1
)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
14830 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14832 if (!SWIG_IsOK(ecode2
)) {
14833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
14835 arg2
= static_cast< int >(val2
);
14836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14837 if (!SWIG_IsOK(ecode3
)) {
14838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
14840 arg3
= static_cast< int >(val3
);
14842 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14843 if (!SWIG_IsOK(ecode4
)) {
14844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
14846 arg4
= static_cast< byte
>(val4
);
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14863 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
= 0;
14865 wxImage
*arg1
= (wxImage
*) 0 ;
14866 byte
*arg2
= (byte
*) 0 ;
14867 byte
*arg3
= (byte
*) 0 ;
14868 byte
*arg4
= (byte
*) 0 ;
14869 byte arg5
= (byte
) 0 ;
14870 byte arg6
= (byte
) 0 ;
14871 byte arg7
= (byte
) 0 ;
14876 int res2
= SWIG_TMPOBJ
;
14878 int res3
= SWIG_TMPOBJ
;
14880 int res4
= SWIG_TMPOBJ
;
14881 unsigned char val5
;
14883 unsigned char val6
;
14885 unsigned char val7
;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 PyObject
* obj2
= 0 ;
14890 PyObject
* obj3
= 0 ;
14891 char * kwnames
[] = {
14892 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14900 if (!SWIG_IsOK(res1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
14903 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14905 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14906 if (!SWIG_IsOK(ecode5
)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14909 arg5
= static_cast< byte
>(val5
);
14912 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14913 if (!SWIG_IsOK(ecode6
)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14916 arg6
= static_cast< byte
>(val6
);
14919 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14920 if (!SWIG_IsOK(ecode7
)) {
14921 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14923 arg7
= static_cast< byte
>(val7
);
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14934 if (SWIG_IsTmpObj(res2
)) {
14935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14937 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14940 if (SWIG_IsTmpObj(res3
)) {
14941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14943 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14946 if (SWIG_IsTmpObj(res4
)) {
14947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14949 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14958 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
= 0;
14960 wxImage
*arg1
= (wxImage
*) 0 ;
14961 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14965 unsigned char val2
;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 char * kwnames
[] = {
14970 (char *) "self",(char *) "threshold", NULL
14973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14975 if (!SWIG_IsOK(res1
)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
14978 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14980 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14981 if (!SWIG_IsOK(ecode2
)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
14984 arg2
= static_cast< byte
>(val2
);
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15001 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
= 0;
15003 wxImage
*arg1
= (wxImage
*) 0 ;
15010 unsigned char val2
;
15012 unsigned char val3
;
15014 unsigned char val4
;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 PyObject
* obj2
= 0 ;
15019 PyObject
* obj3
= 0 ;
15020 char * kwnames
[] = {
15021 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15026 if (!SWIG_IsOK(res1
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
15029 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15030 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15031 if (!SWIG_IsOK(ecode2
)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
15034 arg2
= static_cast< byte
>(val2
);
15035 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15036 if (!SWIG_IsOK(ecode3
)) {
15037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
15039 arg3
= static_cast< byte
>(val3
);
15040 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15041 if (!SWIG_IsOK(ecode4
)) {
15042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
15044 arg4
= static_cast< byte
>(val4
);
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15060 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
= 0;
15062 wxImage
*arg1
= (wxImage
*) 0 ;
15063 wxImage
*arg2
= 0 ;
15072 unsigned char val3
;
15074 unsigned char val4
;
15076 unsigned char val5
;
15078 PyObject
* obj0
= 0 ;
15079 PyObject
* obj1
= 0 ;
15080 PyObject
* obj2
= 0 ;
15081 PyObject
* obj3
= 0 ;
15082 PyObject
* obj4
= 0 ;
15083 char * kwnames
[] = {
15084 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
15087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
15092 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15094 if (!SWIG_IsOK(res2
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
15098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
15100 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15101 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15102 if (!SWIG_IsOK(ecode3
)) {
15103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
15105 arg3
= static_cast< byte
>(val3
);
15106 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15107 if (!SWIG_IsOK(ecode4
)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
15110 arg4
= static_cast< byte
>(val4
);
15111 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
15112 if (!SWIG_IsOK(ecode5
)) {
15113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
15115 arg5
= static_cast< byte
>(val5
);
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15131 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
= 0;
15133 wxString
*arg1
= 0 ;
15135 bool temp1
= false ;
15136 PyObject
* obj0
= 0 ;
15137 char * kwnames
[] = {
15138 (char *) "filename", NULL
15141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
15143 arg1
= wxString_in_helper(obj0
);
15144 if (arg1
== NULL
) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15170 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
= 0;
15172 wxString
*arg1
= 0 ;
15173 long arg2
= (long) wxBITMAP_TYPE_ANY
;
15175 bool temp1
= false ;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 char * kwnames
[] = {
15181 (char *) "filename",(char *) "type", NULL
15184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15186 arg1
= wxString_in_helper(obj0
);
15187 if (arg1
== NULL
) SWIG_fail
;
15191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15192 if (!SWIG_IsOK(ecode2
)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
15195 arg2
= static_cast< long >(val2
);
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_From_int(static_cast< int >(result
));
15218 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
= 0;
15220 wxImage
*arg1
= (wxImage
*) 0 ;
15221 wxString
*arg2
= 0 ;
15222 long arg3
= (long) wxBITMAP_TYPE_ANY
;
15223 int arg4
= (int) -1 ;
15227 bool temp2
= false ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 PyObject
* obj3
= 0 ;
15236 char * kwnames
[] = {
15237 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
15240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15242 if (!SWIG_IsOK(res1
)) {
15243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
15245 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15247 arg2
= wxString_in_helper(obj1
);
15248 if (arg2
== NULL
) SWIG_fail
;
15252 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15253 if (!SWIG_IsOK(ecode3
)) {
15254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
15256 arg3
= static_cast< long >(val3
);
15259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15260 if (!SWIG_IsOK(ecode4
)) {
15261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
15263 arg4
= static_cast< int >(val4
);
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15288 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
= 0;
15290 wxImage
*arg1
= (wxImage
*) 0 ;
15291 wxString
*arg2
= 0 ;
15292 wxString
*arg3
= 0 ;
15293 int arg4
= (int) -1 ;
15297 bool temp2
= false ;
15298 bool temp3
= false ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 PyObject
* obj2
= 0 ;
15304 PyObject
* obj3
= 0 ;
15305 char * kwnames
[] = {
15306 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
15309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15311 if (!SWIG_IsOK(res1
)) {
15312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
15314 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15316 arg2
= wxString_in_helper(obj1
);
15317 if (arg2
== NULL
) SWIG_fail
;
15321 arg3
= wxString_in_helper(obj2
);
15322 if (arg3
== NULL
) SWIG_fail
;
15326 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15327 if (!SWIG_IsOK(ecode4
)) {
15328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
15330 arg4
= static_cast< int >(val4
);
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15363 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
= 0;
15365 wxImage
*arg1
= (wxImage
*) 0 ;
15366 wxString
*arg2
= 0 ;
15371 bool temp2
= false ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 PyObject
* obj2
= 0 ;
15377 char * kwnames
[] = {
15378 (char *) "self",(char *) "name",(char *) "type", NULL
15381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15383 if (!SWIG_IsOK(res1
)) {
15384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
15386 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15388 arg2
= wxString_in_helper(obj1
);
15389 if (arg2
== NULL
) SWIG_fail
;
15392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15393 if (!SWIG_IsOK(ecode3
)) {
15394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
15396 arg3
= static_cast< int >(val3
);
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15420 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
= 0;
15422 wxImage
*arg1
= (wxImage
*) 0 ;
15423 wxString
*arg2
= 0 ;
15424 wxString
*arg3
= 0 ;
15428 bool temp2
= false ;
15429 bool temp3
= false ;
15430 PyObject
* obj0
= 0 ;
15431 PyObject
* obj1
= 0 ;
15432 PyObject
* obj2
= 0 ;
15433 char * kwnames
[] = {
15434 (char *) "self",(char *) "name",(char *) "mimetype", NULL
15437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15439 if (!SWIG_IsOK(res1
)) {
15440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
15442 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15444 arg2
= wxString_in_helper(obj1
);
15445 if (arg2
== NULL
) SWIG_fail
;
15449 arg3
= wxString_in_helper(obj2
);
15450 if (arg3
== NULL
) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15484 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
= 0;
15486 wxInputStream
*arg1
= 0 ;
15488 wxPyInputStream
*temp1
;
15490 PyObject
* obj0
= 0 ;
15491 char * kwnames
[] = {
15492 (char *) "stream", NULL
15495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
15497 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
15498 arg1
= temp1
->m_wxis
;
15501 PyErr_Clear(); // clear the failure of the wxPyConvert above
15502 arg1
= wxPyCBInputStream_create(obj0
, false);
15503 if (arg1
== NULL
) {
15504 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (bool)wxImage::CanRead(*arg1
);
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15520 if (created1
) delete arg1
;
15525 if (created1
) delete arg1
;
15531 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
= 0;
15533 wxImage
*arg1
= (wxImage
*) 0 ;
15534 wxInputStream
*arg2
= 0 ;
15535 long arg3
= (long) wxBITMAP_TYPE_ANY
;
15536 int arg4
= (int) -1 ;
15540 wxPyInputStream
*temp2
;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 PyObject
* obj2
= 0 ;
15549 PyObject
* obj3
= 0 ;
15550 char * kwnames
[] = {
15551 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
15554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15556 if (!SWIG_IsOK(res1
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
15559 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15561 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
15562 arg2
= temp2
->m_wxis
;
15565 PyErr_Clear(); // clear the failure of the wxPyConvert above
15566 arg2
= wxPyCBInputStream_create(obj1
, false);
15567 if (arg2
== NULL
) {
15568 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15575 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15576 if (!SWIG_IsOK(ecode3
)) {
15577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
15579 arg3
= static_cast< long >(val3
);
15582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15583 if (!SWIG_IsOK(ecode4
)) {
15584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
15586 arg4
= static_cast< int >(val4
);
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15598 if (created2
) delete arg2
;
15603 if (created2
) delete arg2
;
15609 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
= 0;
15611 wxImage
*arg1
= (wxImage
*) 0 ;
15612 wxInputStream
*arg2
= 0 ;
15613 wxString
*arg3
= 0 ;
15614 int arg4
= (int) -1 ;
15618 wxPyInputStream
*temp2
;
15620 bool temp3
= false ;
15623 PyObject
* obj0
= 0 ;
15624 PyObject
* obj1
= 0 ;
15625 PyObject
* obj2
= 0 ;
15626 PyObject
* obj3
= 0 ;
15627 char * kwnames
[] = {
15628 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
15631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15633 if (!SWIG_IsOK(res1
)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
15636 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15638 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
15639 arg2
= temp2
->m_wxis
;
15642 PyErr_Clear(); // clear the failure of the wxPyConvert above
15643 arg2
= wxPyCBInputStream_create(obj1
, false);
15644 if (arg2
== NULL
) {
15645 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
15652 arg3
= wxString_in_helper(obj2
);
15653 if (arg3
== NULL
) SWIG_fail
;
15657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15658 if (!SWIG_IsOK(ecode4
)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
15661 arg4
= static_cast< int >(val4
);
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15673 if (created2
) delete arg2
;
15682 if (created2
) delete arg2
;
15692 SWIGINTERN PyObject
*_wrap_Image_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15693 PyObject
*resultobj
= 0;
15694 wxImage
*arg1
= (wxImage
*) 0 ;
15698 PyObject
*swig_obj
[1] ;
15700 if (!args
) SWIG_fail
;
15701 swig_obj
[0] = args
;
15702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15703 if (!SWIG_IsOK(res1
)) {
15704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsOk" "', expected argument " "1"" of type '" "wxImage *""'");
15706 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (bool)(arg1
)->IsOk();
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15722 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15723 PyObject
*resultobj
= 0;
15724 wxImage
*arg1
= (wxImage
*) 0 ;
15728 PyObject
*swig_obj
[1] ;
15730 if (!args
) SWIG_fail
;
15731 swig_obj
[0] = args
;
15732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15733 if (!SWIG_IsOK(res1
)) {
15734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
15736 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 result
= (int)(arg1
)->GetWidth();
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= SWIG_From_int(static_cast< int >(result
));
15750 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15751 PyObject
*resultobj
= 0;
15752 wxImage
*arg1
= (wxImage
*) 0 ;
15756 PyObject
*swig_obj
[1] ;
15758 if (!args
) SWIG_fail
;
15759 swig_obj
[0] = args
;
15760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
15764 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (int)(arg1
)->GetHeight();
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_From_int(static_cast< int >(result
));
15778 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15779 PyObject
*resultobj
= 0;
15780 wxImage
*arg1
= (wxImage
*) 0 ;
15784 PyObject
*swig_obj
[1] ;
15786 if (!args
) SWIG_fail
;
15787 swig_obj
[0] = args
;
15788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15789 if (!SWIG_IsOK(res1
)) {
15790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
15792 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= wxImage_GetSize(arg1
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15806 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
= 0;
15808 wxImage
*arg1
= (wxImage
*) 0 ;
15810 SwigValueWrapper
<wxImage
> result
;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 char * kwnames
[] = {
15817 (char *) "self",(char *) "rect", NULL
15820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
15825 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15828 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15843 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
= 0;
15845 wxImage
*arg1
= (wxImage
*) 0 ;
15847 wxPoint
*arg3
= 0 ;
15848 int arg4
= (int) -1 ;
15849 int arg5
= (int) -1 ;
15850 int arg6
= (int) -1 ;
15851 SwigValueWrapper
<wxImage
> result
;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 PyObject
* obj2
= 0 ;
15865 PyObject
* obj3
= 0 ;
15866 PyObject
* obj4
= 0 ;
15867 PyObject
* obj5
= 0 ;
15868 char * kwnames
[] = {
15869 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
15872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15874 if (!SWIG_IsOK(res1
)) {
15875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
15877 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15880 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15888 if (!SWIG_IsOK(ecode4
)) {
15889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
15891 arg4
= static_cast< int >(val4
);
15894 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15895 if (!SWIG_IsOK(ecode5
)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
15898 arg5
= static_cast< int >(val5
);
15901 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15902 if (!SWIG_IsOK(ecode6
)) {
15903 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
15905 arg6
= static_cast< int >(val6
);
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15920 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15921 PyObject
*resultobj
= 0;
15922 wxImage
*arg1
= (wxImage
*) 0 ;
15923 SwigValueWrapper
<wxImage
> result
;
15926 PyObject
*swig_obj
[1] ;
15928 if (!args
) SWIG_fail
;
15929 swig_obj
[0] = args
;
15930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15931 if (!SWIG_IsOK(res1
)) {
15932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
15934 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= (arg1
)->Copy();
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15941 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15948 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
= 0;
15950 wxImage
*arg1
= (wxImage
*) 0 ;
15951 wxImage
*arg2
= 0 ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 PyObject
* obj2
= 0 ;
15965 PyObject
* obj3
= 0 ;
15966 char * kwnames
[] = {
15967 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
15970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15972 if (!SWIG_IsOK(res1
)) {
15973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
15975 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15977 if (!SWIG_IsOK(res2
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15983 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15985 if (!SWIG_IsOK(ecode3
)) {
15986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
15988 arg3
= static_cast< int >(val3
);
15989 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15990 if (!SWIG_IsOK(ecode4
)) {
15991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
15993 arg4
= static_cast< int >(val4
);
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= SWIG_Py_Void();
16007 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16008 PyObject
*resultobj
= 0;
16009 wxImage
*arg1
= (wxImage
*) 0 ;
16010 PyObject
*result
= 0 ;
16013 PyObject
*swig_obj
[1] ;
16015 if (!args
) SWIG_fail
;
16016 swig_obj
[0] = args
;
16017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16018 if (!SWIG_IsOK(res1
)) {
16019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
16021 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (PyObject
*)wxImage_GetData(arg1
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= result
;
16035 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
= 0;
16037 wxImage
*arg1
= (wxImage
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 PyObject
* obj1
= 0 ;
16045 char * kwnames
[] = {
16046 (char *) "self",(char *) "data", NULL
16049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16051 if (!SWIG_IsOK(res1
)) {
16052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
16054 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16056 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 wxImage_SetData(arg1
,arg2
,arg3
);
16062 wxPyEndAllowThreads(__tstate
);
16063 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= SWIG_Py_Void();
16072 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16073 PyObject
*resultobj
= 0;
16074 wxImage
*arg1
= (wxImage
*) 0 ;
16075 PyObject
*result
= 0 ;
16078 PyObject
*swig_obj
[1] ;
16080 if (!args
) SWIG_fail
;
16081 swig_obj
[0] = args
;
16082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16083 if (!SWIG_IsOK(res1
)) {
16084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
16086 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= result
;
16100 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
= 0;
16102 wxImage
*arg1
= (wxImage
*) 0 ;
16108 PyObject
* obj0
= 0 ;
16109 PyObject
* obj1
= 0 ;
16110 char * kwnames
[] = {
16111 (char *) "self",(char *) "data", NULL
16114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16116 if (!SWIG_IsOK(res1
)) {
16117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
16119 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16121 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_Py_Void();
16137 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16138 PyObject
*resultobj
= 0;
16139 wxImage
*arg1
= (wxImage
*) 0 ;
16140 PyObject
*result
= 0 ;
16143 PyObject
*swig_obj
[1] ;
16145 if (!args
) SWIG_fail
;
16146 swig_obj
[0] = args
;
16147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16148 if (!SWIG_IsOK(res1
)) {
16149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
16151 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= result
;
16165 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
= 0;
16167 wxImage
*arg1
= (wxImage
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 PyObject
* obj1
= 0 ;
16175 char * kwnames
[] = {
16176 (char *) "self",(char *) "alpha", NULL
16179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16181 if (!SWIG_IsOK(res1
)) {
16182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
16184 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16186 if (obj1
!= Py_None
) {
16187 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_Py_Void();
16204 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16205 PyObject
*resultobj
= 0;
16206 wxImage
*arg1
= (wxImage
*) 0 ;
16207 PyObject
*result
= 0 ;
16210 PyObject
*swig_obj
[1] ;
16212 if (!args
) SWIG_fail
;
16213 swig_obj
[0] = args
;
16214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16215 if (!SWIG_IsOK(res1
)) {
16216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
16218 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= result
;
16232 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
= 0;
16234 wxImage
*arg1
= (wxImage
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 char * kwnames
[] = {
16243 (char *) "self",(char *) "alpha", NULL
16246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16248 if (!SWIG_IsOK(res1
)) {
16249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
16251 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16253 if (obj1
!= Py_None
) {
16254 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_Py_Void();
16271 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
= 0;
16273 wxImage
*arg1
= (wxImage
*) 0 ;
16279 unsigned char val2
;
16281 unsigned char val3
;
16283 unsigned char val4
;
16285 PyObject
* obj0
= 0 ;
16286 PyObject
* obj1
= 0 ;
16287 PyObject
* obj2
= 0 ;
16288 PyObject
* obj3
= 0 ;
16289 char * kwnames
[] = {
16290 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16295 if (!SWIG_IsOK(res1
)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
16298 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16299 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16300 if (!SWIG_IsOK(ecode2
)) {
16301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
16303 arg2
= static_cast< byte
>(val2
);
16304 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16305 if (!SWIG_IsOK(ecode3
)) {
16306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
16308 arg3
= static_cast< byte
>(val3
);
16309 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16310 if (!SWIG_IsOK(ecode4
)) {
16311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
16313 arg4
= static_cast< byte
>(val4
);
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_Py_Void();
16327 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16328 PyObject
*resultobj
= 0;
16329 wxImage
*arg1
= (wxImage
*) 0 ;
16330 byte
*arg2
= (byte
*) 0 ;
16331 byte
*arg3
= (byte
*) 0 ;
16332 byte
*arg4
= (byte
*) 0 ;
16336 int res2
= SWIG_TMPOBJ
;
16338 int res3
= SWIG_TMPOBJ
;
16340 int res4
= SWIG_TMPOBJ
;
16341 PyObject
*swig_obj
[1] ;
16346 if (!args
) SWIG_fail
;
16347 swig_obj
[0] = args
;
16348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16349 if (!SWIG_IsOK(res1
)) {
16350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
16352 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_Py_Void();
16360 if (SWIG_IsTmpObj(res2
)) {
16361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
16363 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
16364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
16366 if (SWIG_IsTmpObj(res3
)) {
16367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
16369 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
16370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
16372 if (SWIG_IsTmpObj(res4
)) {
16373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
16375 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
16376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
16384 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16385 PyObject
*resultobj
= 0;
16386 wxImage
*arg1
= (wxImage
*) 0 ;
16390 PyObject
*swig_obj
[1] ;
16392 if (!args
) SWIG_fail
;
16393 swig_obj
[0] = args
;
16394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16395 if (!SWIG_IsOK(res1
)) {
16396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
16398 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (byte
)(arg1
)->GetMaskRed();
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16412 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16413 PyObject
*resultobj
= 0;
16414 wxImage
*arg1
= (wxImage
*) 0 ;
16418 PyObject
*swig_obj
[1] ;
16420 if (!args
) SWIG_fail
;
16421 swig_obj
[0] = args
;
16422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16423 if (!SWIG_IsOK(res1
)) {
16424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
16426 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (byte
)(arg1
)->GetMaskGreen();
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16440 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16441 PyObject
*resultobj
= 0;
16442 wxImage
*arg1
= (wxImage
*) 0 ;
16446 PyObject
*swig_obj
[1] ;
16448 if (!args
) SWIG_fail
;
16449 swig_obj
[0] = args
;
16450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16451 if (!SWIG_IsOK(res1
)) {
16452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
16454 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (byte
)(arg1
)->GetMaskBlue();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
16468 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
= 0;
16470 wxImage
*arg1
= (wxImage
*) 0 ;
16471 bool arg2
= (bool) true ;
16476 PyObject
* obj0
= 0 ;
16477 PyObject
* obj1
= 0 ;
16478 char * kwnames
[] = {
16479 (char *) "self",(char *) "mask", NULL
16482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16484 if (!SWIG_IsOK(res1
)) {
16485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
16487 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16489 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16490 if (!SWIG_IsOK(ecode2
)) {
16491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
16493 arg2
= static_cast< bool >(val2
);
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 (arg1
)->SetMask(arg2
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_Py_Void();
16508 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16509 PyObject
*resultobj
= 0;
16510 wxImage
*arg1
= (wxImage
*) 0 ;
16514 PyObject
*swig_obj
[1] ;
16516 if (!args
) SWIG_fail
;
16517 swig_obj
[0] = args
;
16518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16519 if (!SWIG_IsOK(res1
)) {
16520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
16522 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= (bool)(arg1
)->HasMask();
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16538 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
= 0;
16540 wxImage
*arg1
= (wxImage
*) 0 ;
16542 wxPoint
*arg3
= 0 ;
16543 bool arg4
= (bool) true ;
16544 wxPoint
*arg5
= (wxPoint
*) NULL
;
16545 SwigValueWrapper
<wxImage
> result
;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 PyObject
* obj2
= 0 ;
16558 PyObject
* obj3
= 0 ;
16559 PyObject
* obj4
= 0 ;
16560 char * kwnames
[] = {
16561 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
16564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16566 if (!SWIG_IsOK(res1
)) {
16567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
16569 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16570 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16571 if (!SWIG_IsOK(ecode2
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
16574 arg2
= static_cast< double >(val2
);
16577 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16580 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16581 if (!SWIG_IsOK(ecode4
)) {
16582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
16584 arg4
= static_cast< bool >(val4
);
16587 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
16588 if (!SWIG_IsOK(res5
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
16591 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16606 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
= 0;
16608 wxImage
*arg1
= (wxImage
*) 0 ;
16609 bool arg2
= (bool) true ;
16610 SwigValueWrapper
<wxImage
> result
;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 char * kwnames
[] = {
16618 (char *) "self",(char *) "clockwise", NULL
16621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16623 if (!SWIG_IsOK(res1
)) {
16624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
16626 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16629 if (!SWIG_IsOK(ecode2
)) {
16630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
16632 arg2
= static_cast< bool >(val2
);
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (arg1
)->Rotate90(arg2
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16647 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
= 0;
16649 wxImage
*arg1
= (wxImage
*) 0 ;
16650 bool arg2
= (bool) true ;
16651 SwigValueWrapper
<wxImage
> result
;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char * kwnames
[] = {
16659 (char *) "self",(char *) "horizontally", NULL
16662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
16667 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16669 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16670 if (!SWIG_IsOK(ecode2
)) {
16671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
16673 arg2
= static_cast< bool >(val2
);
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= (arg1
)->Mirror(arg2
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16688 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
= 0;
16690 wxImage
*arg1
= (wxImage
*) 0 ;
16699 unsigned char val2
;
16701 unsigned char val3
;
16703 unsigned char val4
;
16705 unsigned char val5
;
16707 unsigned char val6
;
16709 unsigned char val7
;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 PyObject
* obj2
= 0 ;
16714 PyObject
* obj3
= 0 ;
16715 PyObject
* obj4
= 0 ;
16716 PyObject
* obj5
= 0 ;
16717 PyObject
* obj6
= 0 ;
16718 char * kwnames
[] = {
16719 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
16722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16724 if (!SWIG_IsOK(res1
)) {
16725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
16727 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16728 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16729 if (!SWIG_IsOK(ecode2
)) {
16730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
16732 arg2
= static_cast< byte
>(val2
);
16733 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16734 if (!SWIG_IsOK(ecode3
)) {
16735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
16737 arg3
= static_cast< byte
>(val3
);
16738 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16739 if (!SWIG_IsOK(ecode4
)) {
16740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
16742 arg4
= static_cast< byte
>(val4
);
16743 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16744 if (!SWIG_IsOK(ecode5
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
16747 arg5
= static_cast< byte
>(val5
);
16748 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
16749 if (!SWIG_IsOK(ecode6
)) {
16750 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
16752 arg6
= static_cast< byte
>(val6
);
16753 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
16754 if (!SWIG_IsOK(ecode7
)) {
16755 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
16757 arg7
= static_cast< byte
>(val7
);
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_Py_Void();
16771 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
= 0;
16773 wxImage
*arg1
= (wxImage
*) 0 ;
16774 double arg2
= (double) 0.299 ;
16775 double arg3
= (double) 0.587 ;
16776 double arg4
= (double) 0.114 ;
16777 SwigValueWrapper
<wxImage
> result
;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 PyObject
* obj2
= 0 ;
16789 PyObject
* obj3
= 0 ;
16790 char * kwnames
[] = {
16791 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
16794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
16799 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16801 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16802 if (!SWIG_IsOK(ecode2
)) {
16803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
16805 arg2
= static_cast< double >(val2
);
16808 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16809 if (!SWIG_IsOK(ecode3
)) {
16810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
16812 arg3
= static_cast< double >(val3
);
16815 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16816 if (!SWIG_IsOK(ecode4
)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
16819 arg4
= static_cast< double >(val4
);
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16834 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
= 0;
16836 wxImage
*arg1
= (wxImage
*) 0 ;
16840 SwigValueWrapper
<wxImage
> result
;
16843 unsigned char val2
;
16845 unsigned char val3
;
16847 unsigned char val4
;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 PyObject
* obj2
= 0 ;
16852 PyObject
* obj3
= 0 ;
16853 char * kwnames
[] = {
16854 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16859 if (!SWIG_IsOK(res1
)) {
16860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
16862 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16863 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16864 if (!SWIG_IsOK(ecode2
)) {
16865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
16867 arg2
= static_cast< byte
>(val2
);
16868 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16869 if (!SWIG_IsOK(ecode3
)) {
16870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
16872 arg3
= static_cast< byte
>(val3
);
16873 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16874 if (!SWIG_IsOK(ecode4
)) {
16875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
16877 arg4
= static_cast< byte
>(val4
);
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16891 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
= 0;
16893 wxImage
*arg1
= (wxImage
*) 0 ;
16894 wxString
*arg2
= 0 ;
16895 wxString
*arg3
= 0 ;
16898 bool temp2
= false ;
16899 bool temp3
= false ;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 PyObject
* obj2
= 0 ;
16903 char * kwnames
[] = {
16904 (char *) "self",(char *) "name",(char *) "value", NULL
16907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16909 if (!SWIG_IsOK(res1
)) {
16910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
16912 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16914 arg2
= wxString_in_helper(obj1
);
16915 if (arg2
== NULL
) SWIG_fail
;
16919 arg3
= wxString_in_helper(obj2
);
16920 if (arg3
== NULL
) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_Py_Void();
16952 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
= 0;
16954 wxImage
*arg1
= (wxImage
*) 0 ;
16955 wxString
*arg2
= 0 ;
16959 bool temp2
= false ;
16962 PyObject
* obj0
= 0 ;
16963 PyObject
* obj1
= 0 ;
16964 PyObject
* obj2
= 0 ;
16965 char * kwnames
[] = {
16966 (char *) "self",(char *) "name",(char *) "value", NULL
16969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16971 if (!SWIG_IsOK(res1
)) {
16972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
16974 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16976 arg2
= wxString_in_helper(obj1
);
16977 if (arg2
== NULL
) SWIG_fail
;
16980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16981 if (!SWIG_IsOK(ecode3
)) {
16982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
16984 arg3
= static_cast< int >(val3
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_Py_Void();
17006 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
= 0;
17008 wxImage
*arg1
= (wxImage
*) 0 ;
17009 wxString
*arg2
= 0 ;
17013 bool temp2
= false ;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char * kwnames
[] = {
17017 (char *) "self",(char *) "name", NULL
17020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17022 if (!SWIG_IsOK(res1
)) {
17023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
17025 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17027 arg2
= wxString_in_helper(obj1
);
17028 if (arg2
== NULL
) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17058 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
= 0;
17060 wxImage
*arg1
= (wxImage
*) 0 ;
17061 wxString
*arg2
= 0 ;
17065 bool temp2
= false ;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 char * kwnames
[] = {
17069 (char *) "self",(char *) "name", NULL
17072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17074 if (!SWIG_IsOK(res1
)) {
17075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
17077 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17079 arg2
= wxString_in_helper(obj1
);
17080 if (arg2
== NULL
) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17089 resultobj
= SWIG_From_int(static_cast< int >(result
));
17104 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
= 0;
17106 wxImage
*arg1
= (wxImage
*) 0 ;
17107 wxString
*arg2
= 0 ;
17111 bool temp2
= false ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char * kwnames
[] = {
17115 (char *) "self",(char *) "name", NULL
17118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17120 if (!SWIG_IsOK(res1
)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
17123 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17125 arg2
= wxString_in_helper(obj1
);
17126 if (arg2
== NULL
) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17152 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
= 0;
17154 wxImage
*arg1
= (wxImage
*) 0 ;
17155 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
17156 unsigned long result
;
17159 unsigned long val2
;
17161 PyObject
* obj0
= 0 ;
17162 PyObject
* obj1
= 0 ;
17163 char * kwnames
[] = {
17164 (char *) "self",(char *) "stopafter", NULL
17167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17169 if (!SWIG_IsOK(res1
)) {
17170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
17172 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17174 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
17175 if (!SWIG_IsOK(ecode2
)) {
17176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
17178 arg2
= static_cast< unsigned long >(val2
);
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (unsigned long)(arg1
)->CountColours(arg2
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
17193 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
= 0;
17195 wxImage
*arg1
= (wxImage
*) 0 ;
17196 wxImageHistogram
*arg2
= 0 ;
17197 unsigned long result
;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "self",(char *) "h", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17210 if (!SWIG_IsOK(res1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
17213 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
17215 if (!SWIG_IsOK(res2
)) {
17216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
17219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
17221 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
17235 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
= 0;
17237 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "handler", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
17246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
17250 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 wxImage::AddHandler(arg1
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= SWIG_Py_Void();
17264 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
= 0;
17266 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 char * kwnames
[] = {
17271 (char *) "handler", NULL
17274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
17275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
17276 if (!SWIG_IsOK(res1
)) {
17277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
17279 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 wxImage::InsertHandler(arg1
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_Py_Void();
17293 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
= 0;
17295 wxString
*arg1
= 0 ;
17297 bool temp1
= false ;
17298 PyObject
* obj0
= 0 ;
17299 char * kwnames
[] = {
17300 (char *) "name", NULL
17303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
17305 arg1
= wxString_in_helper(obj0
);
17306 if (arg1
== NULL
) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17332 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17333 PyObject
*resultobj
= 0;
17334 PyObject
*result
= 0 ;
17336 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (PyObject
*)wxImage_GetHandlers();
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= result
;
17350 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17351 PyObject
*resultobj
= 0;
17354 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= wxImage::GetImageExtWildcard();
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17374 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
= 0;
17376 wxImage
*arg1
= (wxImage
*) 0 ;
17377 int arg2
= (int) -1 ;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 char * kwnames
[] = {
17386 (char *) "self",(char *) "depth", NULL
17389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17391 if (!SWIG_IsOK(res1
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
17394 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17397 if (!SWIG_IsOK(ecode2
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
17400 arg2
= static_cast< int >(val2
);
17403 if (!wxPyCheckForApp()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17409 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
17416 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
= 0;
17418 wxImage
*arg1
= (wxImage
*) 0 ;
17425 unsigned char val2
;
17427 unsigned char val3
;
17429 unsigned char val4
;
17431 PyObject
* obj0
= 0 ;
17432 PyObject
* obj1
= 0 ;
17433 PyObject
* obj2
= 0 ;
17434 PyObject
* obj3
= 0 ;
17435 char * kwnames
[] = {
17436 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
17439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17441 if (!SWIG_IsOK(res1
)) {
17442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
17444 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17445 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
17446 if (!SWIG_IsOK(ecode2
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
17449 arg2
= static_cast< byte
>(val2
);
17450 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
17451 if (!SWIG_IsOK(ecode3
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
17454 arg3
= static_cast< byte
>(val3
);
17455 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
17456 if (!SWIG_IsOK(ecode4
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
17459 arg4
= static_cast< byte
>(val4
);
17461 if (!wxPyCheckForApp()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
17474 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
= 0;
17476 wxImage
*arg1
= (wxImage
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 char * kwnames
[] = {
17485 (char *) "self",(char *) "angle", NULL
17488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
17490 if (!SWIG_IsOK(res1
)) {
17491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
17493 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17494 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
17495 if (!SWIG_IsOK(ecode2
)) {
17496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
17498 arg2
= static_cast< double >(val2
);
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 (arg1
)->RotateHue(arg2
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_Py_Void();
17512 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
= 0;
17514 wxImage_RGBValue arg1
;
17515 wxImage_HSVValue result
;
17518 PyObject
* obj0
= 0 ;
17519 char * kwnames
[] = {
17520 (char *) "rgb", NULL
17523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
17525 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
17526 if (!SWIG_IsOK(res1
)) {
17527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
17530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
17532 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
17534 if (SWIG_IsNewObj(res1
)) delete temp
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 result
= wxImage::RGBtoHSV(arg1
);
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
17550 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
= 0;
17552 wxImage_HSVValue arg1
;
17553 wxImage_RGBValue result
;
17556 PyObject
* obj0
= 0 ;
17557 char * kwnames
[] = {
17558 (char *) "hsv", NULL
17561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
17563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
17564 if (!SWIG_IsOK(res1
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
17568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
17570 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
17572 if (SWIG_IsNewObj(res1
)) delete temp
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= wxImage::HSVtoRGB(arg1
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
17588 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17591 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
17592 return SWIG_Py_Void();
17595 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17596 return SWIG_Python_InitShadowInstance(args
);
17599 SWIGINTERN PyObject
*_wrap__ImageFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
= 0;
17605 buffer arg5
= (buffer
) NULL
;
17606 int arg6
= (int) 0 ;
17607 wxImage
*result
= 0 ;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 PyObject
* obj2
= 0 ;
17617 PyObject
* obj3
= 0 ;
17618 char * kwnames
[] = {
17619 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
17622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:_ImageFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17623 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17624 if (!SWIG_IsOK(ecode1
)) {
17625 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_ImageFromBuffer" "', expected argument " "1"" of type '" "int""'");
17627 arg1
= static_cast< int >(val1
);
17628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17629 if (!SWIG_IsOK(ecode2
)) {
17630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_ImageFromBuffer" "', expected argument " "2"" of type '" "int""'");
17632 arg2
= static_cast< int >(val2
);
17634 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
17639 if (obj3
!= Py_None
) {
17640 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxImage
*)_ImageFromBuffer(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
17660 SWIGINTERN
int NullImage_set(PyObject
*) {
17661 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
17666 SWIGINTERN PyObject
*NullImage_get(void) {
17667 PyObject
*pyobj
= 0;
17669 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
17674 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
17675 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
17680 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
17681 PyObject
*pyobj
= 0;
17685 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
17687 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
17694 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
17695 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
17700 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
17701 PyObject
*pyobj
= 0;
17705 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
17707 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
17714 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
17715 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
17720 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
17721 PyObject
*pyobj
= 0;
17725 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
17727 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
17734 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
17735 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
17740 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
17741 PyObject
*pyobj
= 0;
17745 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
17747 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
17754 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
17755 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
17760 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
17761 PyObject
*pyobj
= 0;
17765 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
17767 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
17774 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
17775 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
17780 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
17781 PyObject
*pyobj
= 0;
17785 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
17787 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
17794 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
17795 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
17800 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
17801 PyObject
*pyobj
= 0;
17805 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17807 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17814 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
17815 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
17820 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
17821 PyObject
*pyobj
= 0;
17825 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17827 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17834 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
17835 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
17840 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
17841 PyObject
*pyobj
= 0;
17845 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17847 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17854 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
17855 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
17860 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
17861 PyObject
*pyobj
= 0;
17865 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17867 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17874 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
17875 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
17880 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
17881 PyObject
*pyobj
= 0;
17885 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17887 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17894 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
17895 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
17900 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
17901 PyObject
*pyobj
= 0;
17905 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17907 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17914 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
17915 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
17920 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
17921 PyObject
*pyobj
= 0;
17925 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17927 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17934 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
17935 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
17940 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
17941 PyObject
*pyobj
= 0;
17945 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17947 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17954 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
17955 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
17960 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
17961 PyObject
*pyobj
= 0;
17965 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17967 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17974 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17975 PyObject
*resultobj
= 0;
17976 wxBMPHandler
*result
= 0 ;
17978 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (wxBMPHandler
*)new wxBMPHandler();
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
17992 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17995 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
17996 return SWIG_Py_Void();
17999 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18000 return SWIG_Python_InitShadowInstance(args
);
18003 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18004 PyObject
*resultobj
= 0;
18005 wxICOHandler
*result
= 0 ;
18007 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (wxICOHandler
*)new wxICOHandler();
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
18021 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18024 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
18025 return SWIG_Py_Void();
18028 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18029 return SWIG_Python_InitShadowInstance(args
);
18032 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18033 PyObject
*resultobj
= 0;
18034 wxCURHandler
*result
= 0 ;
18036 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (wxCURHandler
*)new wxCURHandler();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
18050 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18053 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
18054 return SWIG_Py_Void();
18057 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18058 return SWIG_Python_InitShadowInstance(args
);
18061 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18062 PyObject
*resultobj
= 0;
18063 wxANIHandler
*result
= 0 ;
18065 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (wxANIHandler
*)new wxANIHandler();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
18079 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18082 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
18083 return SWIG_Py_Void();
18086 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 return SWIG_Python_InitShadowInstance(args
);
18090 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18091 PyObject
*resultobj
= 0;
18092 wxPNGHandler
*result
= 0 ;
18094 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (wxPNGHandler
*)new wxPNGHandler();
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
18108 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18111 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
18112 return SWIG_Py_Void();
18115 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18116 return SWIG_Python_InitShadowInstance(args
);
18119 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18120 PyObject
*resultobj
= 0;
18121 wxGIFHandler
*result
= 0 ;
18123 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (wxGIFHandler
*)new wxGIFHandler();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
18137 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18140 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
18141 return SWIG_Py_Void();
18144 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18145 return SWIG_Python_InitShadowInstance(args
);
18148 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18149 PyObject
*resultobj
= 0;
18150 wxPCXHandler
*result
= 0 ;
18152 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (wxPCXHandler
*)new wxPCXHandler();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
18166 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18169 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
18170 return SWIG_Py_Void();
18173 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18174 return SWIG_Python_InitShadowInstance(args
);
18177 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18178 PyObject
*resultobj
= 0;
18179 wxJPEGHandler
*result
= 0 ;
18181 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 result
= (wxJPEGHandler
*)new wxJPEGHandler();
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
18195 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18198 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
18199 return SWIG_Py_Void();
18202 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18203 return SWIG_Python_InitShadowInstance(args
);
18206 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18207 PyObject
*resultobj
= 0;
18208 wxPNMHandler
*result
= 0 ;
18210 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= (wxPNMHandler
*)new wxPNMHandler();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
18224 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18227 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
18228 return SWIG_Py_Void();
18231 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18232 return SWIG_Python_InitShadowInstance(args
);
18235 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18236 PyObject
*resultobj
= 0;
18237 wxXPMHandler
*result
= 0 ;
18239 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (wxXPMHandler
*)new wxXPMHandler();
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
18253 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18256 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
18257 return SWIG_Py_Void();
18260 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18261 return SWIG_Python_InitShadowInstance(args
);
18264 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18265 PyObject
*resultobj
= 0;
18266 wxTIFFHandler
*result
= 0 ;
18268 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (wxTIFFHandler
*)new wxTIFFHandler();
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
18282 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18285 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
18286 return SWIG_Py_Void();
18289 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18290 return SWIG_Python_InitShadowInstance(args
);
18293 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
= 0;
18295 wxImage
*arg1
= 0 ;
18296 wxImage
*arg2
= 0 ;
18297 int arg3
= (int) 236 ;
18298 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
18308 PyObject
* obj0
= 0 ;
18309 PyObject
* obj1
= 0 ;
18310 PyObject
* obj2
= 0 ;
18311 PyObject
* obj3
= 0 ;
18312 char * kwnames
[] = {
18313 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
18316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18317 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
18318 if (!SWIG_IsOK(res1
)) {
18319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
18322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
18324 arg1
= reinterpret_cast< wxImage
* >(argp1
);
18325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
18326 if (!SWIG_IsOK(res2
)) {
18327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
18330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
18332 arg2
= reinterpret_cast< wxImage
* >(argp2
);
18334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18335 if (!SWIG_IsOK(ecode3
)) {
18336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
18338 arg3
= static_cast< int >(val3
);
18341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18342 if (!SWIG_IsOK(ecode4
)) {
18343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
18345 arg4
= static_cast< int >(val4
);
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18362 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18365 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
18366 return SWIG_Py_Void();
18369 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18370 PyObject
*resultobj
= 0;
18371 wxEvtHandler
*result
= 0 ;
18373 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (wxEvtHandler
*)new wxEvtHandler();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
18387 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18388 PyObject
*resultobj
= 0;
18389 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18390 wxEvtHandler
*result
= 0 ;
18393 PyObject
*swig_obj
[1] ;
18395 if (!args
) SWIG_fail
;
18396 swig_obj
[0] = args
;
18397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18398 if (!SWIG_IsOK(res1
)) {
18399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18401 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= wxPyMake_wxObject(result
, 0);
18417 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18418 PyObject
*resultobj
= 0;
18419 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18420 wxEvtHandler
*result
= 0 ;
18423 PyObject
*swig_obj
[1] ;
18425 if (!args
) SWIG_fail
;
18426 swig_obj
[0] = args
;
18427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18428 if (!SWIG_IsOK(res1
)) {
18429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18431 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= wxPyMake_wxObject(result
, 0);
18447 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
= 0;
18449 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18450 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 char * kwnames
[] = {
18458 (char *) "self",(char *) "handler", NULL
18461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18466 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18468 if (!SWIG_IsOK(res2
)) {
18469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
18471 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 (arg1
)->SetNextHandler(arg2
);
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= SWIG_Py_Void();
18485 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
= 0;
18487 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18488 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char * kwnames
[] = {
18496 (char *) "self",(char *) "handler", NULL
18499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18501 if (!SWIG_IsOK(res1
)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18504 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18506 if (!SWIG_IsOK(res2
)) {
18507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
18509 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 (arg1
)->SetPreviousHandler(arg2
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_Py_Void();
18523 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18524 PyObject
*resultobj
= 0;
18525 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18529 PyObject
*swig_obj
[1] ;
18531 if (!args
) SWIG_fail
;
18532 swig_obj
[0] = args
;
18533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18534 if (!SWIG_IsOK(res1
)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18537 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18553 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
= 0;
18555 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 PyObject
* obj1
= 0 ;
18563 char * kwnames
[] = {
18564 (char *) "self",(char *) "enabled", NULL
18567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18572 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18573 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18574 if (!SWIG_IsOK(ecode2
)) {
18575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
18577 arg2
= static_cast< bool >(val2
);
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 (arg1
)->SetEvtHandlerEnabled(arg2
);
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 resultobj
= SWIG_Py_Void();
18591 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
= 0;
18593 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18594 wxEvent
*arg2
= 0 ;
18600 PyObject
* obj0
= 0 ;
18601 PyObject
* obj1
= 0 ;
18602 char * kwnames
[] = {
18603 (char *) "self",(char *) "event", NULL
18606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18608 if (!SWIG_IsOK(res1
)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18611 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
18613 if (!SWIG_IsOK(res2
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
18617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
18619 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18635 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
= 0;
18637 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18638 wxEvent
*arg2
= 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char * kwnames
[] = {
18646 (char *) "self",(char *) "event", NULL
18649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18654 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
18656 if (!SWIG_IsOK(res2
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
18660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
18662 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 (arg1
)->AddPendingEvent(*arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_Py_Void();
18676 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18677 PyObject
*resultobj
= 0;
18678 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18681 PyObject
*swig_obj
[1] ;
18683 if (!args
) SWIG_fail
;
18684 swig_obj
[0] = args
;
18685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18686 if (!SWIG_IsOK(res1
)) {
18687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18689 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->ProcessPendingEvents();
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_Py_Void();
18703 SWIGINTERN PyObject
*_wrap_EvtHandler_AllowReentrance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
= 0;
18705 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18706 bool arg2
= (bool) true ;
18711 PyObject
* obj0
= 0 ;
18712 PyObject
* obj1
= 0 ;
18713 char * kwnames
[] = {
18714 (char *) "self",(char *) "allow", NULL
18717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EvtHandler_AllowReentrance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18719 if (!SWIG_IsOK(res1
)) {
18720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AllowReentrance" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18722 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18725 if (!SWIG_IsOK(ecode2
)) {
18726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_AllowReentrance" "', expected argument " "2"" of type '" "bool""'");
18728 arg2
= static_cast< bool >(val2
);
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 (arg1
)->AllowReentrance(arg2
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= SWIG_Py_Void();
18743 SWIGINTERN PyObject
*_wrap_EvtHandler_IsReentranceAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18744 PyObject
*resultobj
= 0;
18745 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18749 PyObject
*swig_obj
[1] ;
18751 if (!args
) SWIG_fail
;
18752 swig_obj
[0] = args
;
18753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18754 if (!SWIG_IsOK(res1
)) {
18755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_IsReentranceAllowed" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18757 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 result
= (bool)(arg1
)->IsReentranceAllowed();
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18773 SWIGINTERN PyObject
*_wrap_EvtHandler_IsEventHandlingInProgress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18774 PyObject
*resultobj
= 0;
18775 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18779 PyObject
*swig_obj
[1] ;
18781 if (!args
) SWIG_fail
;
18782 swig_obj
[0] = args
;
18783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18784 if (!SWIG_IsOK(res1
)) {
18785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_IsEventHandlingInProgress" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18787 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (bool)(arg1
)->IsEventHandlingInProgress();
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18803 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
= 0;
18805 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18809 PyObject
*arg5
= (PyObject
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 PyObject
* obj2
= 0 ;
18821 PyObject
* obj3
= 0 ;
18822 PyObject
* obj4
= 0 ;
18823 char * kwnames
[] = {
18824 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
18827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18829 if (!SWIG_IsOK(res1
)) {
18830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18832 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18834 if (!SWIG_IsOK(ecode2
)) {
18835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
18837 arg2
= static_cast< int >(val2
);
18838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18839 if (!SWIG_IsOK(ecode3
)) {
18840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
18842 arg3
= static_cast< int >(val3
);
18843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18844 if (!SWIG_IsOK(ecode4
)) {
18845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
18847 arg4
= static_cast< int >(val4
);
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_Py_Void();
18862 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18863 PyObject
*resultobj
= 0;
18864 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18866 int arg3
= (int) -1 ;
18867 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
18877 PyObject
* obj0
= 0 ;
18878 PyObject
* obj1
= 0 ;
18879 PyObject
* obj2
= 0 ;
18880 PyObject
* obj3
= 0 ;
18881 char * kwnames
[] = {
18882 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
18885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18887 if (!SWIG_IsOK(res1
)) {
18888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18890 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18892 if (!SWIG_IsOK(ecode2
)) {
18893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
18895 arg2
= static_cast< int >(val2
);
18897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18898 if (!SWIG_IsOK(ecode3
)) {
18899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
18901 arg3
= static_cast< int >(val3
);
18904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18905 if (!SWIG_IsOK(ecode4
)) {
18906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
18908 arg4
= static_cast< wxEventType
>(val4
);
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18925 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
= 0;
18927 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18928 PyObject
*arg2
= (PyObject
*) 0 ;
18929 bool arg3
= (bool) true ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 PyObject
* obj2
= 0 ;
18937 char * kwnames
[] = {
18938 (char *) "self",(char *) "_self",(char *) "incref", NULL
18941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18943 if (!SWIG_IsOK(res1
)) {
18944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18946 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18949 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18950 if (!SWIG_IsOK(ecode3
)) {
18951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
18953 arg3
= static_cast< bool >(val3
);
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_Py_Void();
18968 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18971 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
18972 return SWIG_Py_Void();
18975 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18976 return SWIG_Python_InitShadowInstance(args
);
18979 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18980 PyObject
*resultobj
= 0;
18981 wxEventType result
;
18983 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (wxEventType
)wxNewEventType();
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= SWIG_From_int(static_cast< int >(result
));
18997 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18998 PyObject
*resultobj
= 0;
18999 wxEvent
*arg1
= (wxEvent
*) 0 ;
19002 PyObject
*swig_obj
[1] ;
19004 if (!args
) SWIG_fail
;
19005 swig_obj
[0] = args
;
19006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
19010 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= SWIG_Py_Void();
19025 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
= 0;
19027 wxEvent
*arg1
= (wxEvent
*) 0 ;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 char * kwnames
[] = {
19036 (char *) "self",(char *) "typ", NULL
19039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19041 if (!SWIG_IsOK(res1
)) {
19042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
19044 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19046 if (!SWIG_IsOK(ecode2
)) {
19047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
19049 arg2
= static_cast< wxEventType
>(val2
);
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 (arg1
)->SetEventType(arg2
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= SWIG_Py_Void();
19063 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19064 PyObject
*resultobj
= 0;
19065 wxEvent
*arg1
= (wxEvent
*) 0 ;
19066 wxEventType result
;
19069 PyObject
*swig_obj
[1] ;
19071 if (!args
) SWIG_fail
;
19072 swig_obj
[0] = args
;
19073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19074 if (!SWIG_IsOK(res1
)) {
19075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
19077 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_From_int(static_cast< int >(result
));
19091 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19092 PyObject
*resultobj
= 0;
19093 wxEvent
*arg1
= (wxEvent
*) 0 ;
19094 wxObject
*result
= 0 ;
19097 PyObject
*swig_obj
[1] ;
19099 if (!args
) SWIG_fail
;
19100 swig_obj
[0] = args
;
19101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19102 if (!SWIG_IsOK(res1
)) {
19103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
19105 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19121 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
= 0;
19123 wxEvent
*arg1
= (wxEvent
*) 0 ;
19124 wxObject
*arg2
= (wxObject
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 char * kwnames
[] = {
19132 (char *) "self",(char *) "obj", NULL
19135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19137 if (!SWIG_IsOK(res1
)) {
19138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
19140 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
19142 if (!SWIG_IsOK(res2
)) {
19143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
19145 arg2
= reinterpret_cast< wxObject
* >(argp2
);
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 (arg1
)->SetEventObject(arg2
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= SWIG_Py_Void();
19159 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19160 PyObject
*resultobj
= 0;
19161 wxEvent
*arg1
= (wxEvent
*) 0 ;
19165 PyObject
*swig_obj
[1] ;
19167 if (!args
) SWIG_fail
;
19168 swig_obj
[0] = args
;
19169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19170 if (!SWIG_IsOK(res1
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
19173 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= SWIG_From_long(static_cast< long >(result
));
19187 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
= 0;
19189 wxEvent
*arg1
= (wxEvent
*) 0 ;
19190 long arg2
= (long) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char * kwnames
[] = {
19198 (char *) "self",(char *) "ts", NULL
19201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19203 if (!SWIG_IsOK(res1
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
19206 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19208 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19209 if (!SWIG_IsOK(ecode2
)) {
19210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
19212 arg2
= static_cast< long >(val2
);
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 (arg1
)->SetTimestamp(arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_Py_Void();
19227 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19228 PyObject
*resultobj
= 0;
19229 wxEvent
*arg1
= (wxEvent
*) 0 ;
19233 PyObject
*swig_obj
[1] ;
19235 if (!args
) SWIG_fail
;
19236 swig_obj
[0] = args
;
19237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19238 if (!SWIG_IsOK(res1
)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
19241 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (int)((wxEvent
const *)arg1
)->GetId();
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_From_int(static_cast< int >(result
));
19255 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxEvent
*arg1
= (wxEvent
*) 0 ;
19263 PyObject
* obj0
= 0 ;
19264 PyObject
* obj1
= 0 ;
19265 char * kwnames
[] = {
19266 (char *) "self",(char *) "Id", NULL
19269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19271 if (!SWIG_IsOK(res1
)) {
19272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
19274 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19276 if (!SWIG_IsOK(ecode2
)) {
19277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
19279 arg2
= static_cast< int >(val2
);
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 (arg1
)->SetId(arg2
);
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= SWIG_Py_Void();
19293 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19294 PyObject
*resultobj
= 0;
19295 wxEvent
*arg1
= (wxEvent
*) 0 ;
19299 PyObject
*swig_obj
[1] ;
19301 if (!args
) SWIG_fail
;
19302 swig_obj
[0] = args
;
19303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19304 if (!SWIG_IsOK(res1
)) {
19305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
19307 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19323 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
= 0;
19325 wxEvent
*arg1
= (wxEvent
*) 0 ;
19326 bool arg2
= (bool) true ;
19331 PyObject
* obj0
= 0 ;
19332 PyObject
* obj1
= 0 ;
19333 char * kwnames
[] = {
19334 (char *) "self",(char *) "skip", NULL
19337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19339 if (!SWIG_IsOK(res1
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
19342 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19344 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19345 if (!SWIG_IsOK(ecode2
)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
19348 arg2
= static_cast< bool >(val2
);
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->Skip(arg2
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_Py_Void();
19363 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19364 PyObject
*resultobj
= 0;
19365 wxEvent
*arg1
= (wxEvent
*) 0 ;
19369 PyObject
*swig_obj
[1] ;
19371 if (!args
) SWIG_fail
;
19372 swig_obj
[0] = args
;
19373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19374 if (!SWIG_IsOK(res1
)) {
19375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
19377 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19393 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19394 PyObject
*resultobj
= 0;
19395 wxEvent
*arg1
= (wxEvent
*) 0 ;
19399 PyObject
*swig_obj
[1] ;
19401 if (!args
) SWIG_fail
;
19402 swig_obj
[0] = args
;
19403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19404 if (!SWIG_IsOK(res1
)) {
19405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
19407 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19423 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19424 PyObject
*resultobj
= 0;
19425 wxEvent
*arg1
= (wxEvent
*) 0 ;
19429 PyObject
*swig_obj
[1] ;
19431 if (!args
) SWIG_fail
;
19432 swig_obj
[0] = args
;
19433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
19437 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (int)(arg1
)->StopPropagation();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_From_int(static_cast< int >(result
));
19451 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxEvent
*arg1
= (wxEvent
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char * kwnames
[] = {
19462 (char *) "self",(char *) "propagationLevel", NULL
19465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19467 if (!SWIG_IsOK(res1
)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
19470 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19472 if (!SWIG_IsOK(ecode2
)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
19475 arg2
= static_cast< int >(val2
);
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 (arg1
)->ResumePropagation(arg2
);
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= SWIG_Py_Void();
19489 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19490 PyObject
*resultobj
= 0;
19491 wxEvent
*arg1
= (wxEvent
*) 0 ;
19492 wxEvent
*result
= 0 ;
19495 PyObject
*swig_obj
[1] ;
19497 if (!args
) SWIG_fail
;
19498 swig_obj
[0] = args
;
19499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
19500 if (!SWIG_IsOK(res1
)) {
19501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
19503 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (wxEvent
*)(arg1
)->Clone();
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
19517 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19520 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
19521 return SWIG_Py_Void();
19524 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxEvent
*arg1
= 0 ;
19527 wxPropagationDisabler
*result
= 0 ;
19530 PyObject
* obj0
= 0 ;
19531 char * kwnames
[] = {
19532 (char *) "event", NULL
19535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
19536 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
19537 if (!SWIG_IsOK(res1
)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
19541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
19543 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
19557 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19558 PyObject
*resultobj
= 0;
19559 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
19562 PyObject
*swig_obj
[1] ;
19564 if (!args
) SWIG_fail
;
19565 swig_obj
[0] = args
;
19566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
19567 if (!SWIG_IsOK(res1
)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
19570 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_Py_Void();
19585 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19588 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
19589 return SWIG_Py_Void();
19592 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19593 return SWIG_Python_InitShadowInstance(args
);
19596 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
= 0;
19598 wxEvent
*arg1
= 0 ;
19599 wxPropagateOnce
*result
= 0 ;
19602 PyObject
* obj0
= 0 ;
19603 char * kwnames
[] = {
19604 (char *) "event", NULL
19607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
19608 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
19609 if (!SWIG_IsOK(res1
)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
19613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
19615 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
19629 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19630 PyObject
*resultobj
= 0;
19631 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
19634 PyObject
*swig_obj
[1] ;
19636 if (!args
) SWIG_fail
;
19637 swig_obj
[0] = args
;
19638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
19639 if (!SWIG_IsOK(res1
)) {
19640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
19642 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_Py_Void();
19657 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19660 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
19661 return SWIG_Py_Void();
19664 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19665 return SWIG_Python_InitShadowInstance(args
);
19668 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
= 0;
19670 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19671 int arg2
= (int) 0 ;
19672 wxCommandEvent
*result
= 0 ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char * kwnames
[] = {
19680 (char *) "commandType",(char *) "winid", NULL
19683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19685 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19686 if (!SWIG_IsOK(ecode1
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19689 arg1
= static_cast< wxEventType
>(val1
);
19692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19693 if (!SWIG_IsOK(ecode2
)) {
19694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
19696 arg2
= static_cast< int >(val2
);
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
19711 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19712 PyObject
*resultobj
= 0;
19713 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19717 PyObject
*swig_obj
[1] ;
19719 if (!args
) SWIG_fail
;
19720 swig_obj
[0] = args
;
19721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19722 if (!SWIG_IsOK(res1
)) {
19723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19725 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= SWIG_From_int(static_cast< int >(result
));
19739 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
= 0;
19741 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19742 wxString
*arg2
= 0 ;
19745 bool temp2
= false ;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "self",(char *) "s", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19757 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19759 arg2
= wxString_in_helper(obj1
);
19760 if (arg2
== NULL
) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 (arg1
)->SetString((wxString
const &)*arg2
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_Py_Void();
19784 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19785 PyObject
*resultobj
= 0;
19786 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19790 PyObject
*swig_obj
[1] ;
19792 if (!args
) SWIG_fail
;
19793 swig_obj
[0] = args
;
19794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19795 if (!SWIG_IsOK(res1
)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19798 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= ((wxCommandEvent
const *)arg1
)->GetString();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19818 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19819 PyObject
*resultobj
= 0;
19820 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19824 PyObject
*swig_obj
[1] ;
19826 if (!args
) SWIG_fail
;
19827 swig_obj
[0] = args
;
19828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19829 if (!SWIG_IsOK(res1
)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19832 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19848 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19849 PyObject
*resultobj
= 0;
19850 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19854 PyObject
*swig_obj
[1] ;
19856 if (!args
) SWIG_fail
;
19857 swig_obj
[0] = args
;
19858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19859 if (!SWIG_IsOK(res1
)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19862 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19878 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
= 0;
19880 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char * kwnames
[] = {
19889 (char *) "self",(char *) "extraLong", NULL
19892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19894 if (!SWIG_IsOK(res1
)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19897 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19898 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19899 if (!SWIG_IsOK(ecode2
)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
19902 arg2
= static_cast< long >(val2
);
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 (arg1
)->SetExtraLong(arg2
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_Py_Void();
19916 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19917 PyObject
*resultobj
= 0;
19918 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19922 PyObject
*swig_obj
[1] ;
19924 if (!args
) SWIG_fail
;
19925 swig_obj
[0] = args
;
19926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19927 if (!SWIG_IsOK(res1
)) {
19928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19930 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_From_long(static_cast< long >(result
));
19944 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
= 0;
19946 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 char * kwnames
[] = {
19955 (char *) "self",(char *) "i", NULL
19958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19960 if (!SWIG_IsOK(res1
)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19963 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19965 if (!SWIG_IsOK(ecode2
)) {
19966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
19968 arg2
= static_cast< int >(val2
);
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 (arg1
)->SetInt(arg2
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_Py_Void();
19982 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19983 PyObject
*resultobj
= 0;
19984 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19988 PyObject
*swig_obj
[1] ;
19990 if (!args
) SWIG_fail
;
19991 swig_obj
[0] = args
;
19992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19996 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (int)((wxCommandEvent
const *)arg1
)->GetInt();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_From_int(static_cast< int >(result
));
20010 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20011 PyObject
*resultobj
= 0;
20012 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
20013 PyObject
*result
= 0 ;
20016 PyObject
*swig_obj
[1] ;
20018 if (!args
) SWIG_fail
;
20019 swig_obj
[0] = args
;
20020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
20021 if (!SWIG_IsOK(res1
)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
20024 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= result
;
20038 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
= 0;
20040 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
20041 PyObject
*arg2
= (PyObject
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char * kwnames
[] = {
20047 (char *) "self",(char *) "clientData", NULL
20050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
20052 if (!SWIG_IsOK(res1
)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
20055 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 wxCommandEvent_SetClientData(arg1
,arg2
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_Py_Void();
20070 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20071 PyObject
*resultobj
= 0;
20072 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
20073 wxEvent
*result
= 0 ;
20076 PyObject
*swig_obj
[1] ;
20078 if (!args
) SWIG_fail
;
20079 swig_obj
[0] = args
;
20080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
20084 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
20098 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20101 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
20102 return SWIG_Py_Void();
20105 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20106 return SWIG_Python_InitShadowInstance(args
);
20109 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
= 0;
20111 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20112 int arg2
= (int) 0 ;
20113 wxNotifyEvent
*result
= 0 ;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 char * kwnames
[] = {
20121 (char *) "commandType",(char *) "winid", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20127 if (!SWIG_IsOK(ecode1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20130 arg1
= static_cast< wxEventType
>(val1
);
20133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20134 if (!SWIG_IsOK(ecode2
)) {
20135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
20137 arg2
= static_cast< int >(val2
);
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
20152 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20153 PyObject
*resultobj
= 0;
20154 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
20157 PyObject
*swig_obj
[1] ;
20159 if (!args
) SWIG_fail
;
20160 swig_obj
[0] = args
;
20161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
20162 if (!SWIG_IsOK(res1
)) {
20163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
20165 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= SWIG_Py_Void();
20179 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20180 PyObject
*resultobj
= 0;
20181 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
20184 PyObject
*swig_obj
[1] ;
20186 if (!args
) SWIG_fail
;
20187 swig_obj
[0] = args
;
20188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
20189 if (!SWIG_IsOK(res1
)) {
20190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
20192 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_Py_Void();
20206 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20207 PyObject
*resultobj
= 0;
20208 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
20212 PyObject
*swig_obj
[1] ;
20214 if (!args
) SWIG_fail
;
20215 swig_obj
[0] = args
;
20216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
20217 if (!SWIG_IsOK(res1
)) {
20218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
20220 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 result
= (bool)(arg1
)->IsAllowed();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20236 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20239 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
20240 return SWIG_Py_Void();
20243 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20244 return SWIG_Python_InitShadowInstance(args
);
20247 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
= 0;
20249 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20250 int arg2
= (int) 0 ;
20251 int arg3
= (int) 0 ;
20252 int arg4
= (int) 0 ;
20253 wxScrollEvent
*result
= 0 ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 PyObject
* obj2
= 0 ;
20265 PyObject
* obj3
= 0 ;
20266 char * kwnames
[] = {
20267 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
20270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20272 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20273 if (!SWIG_IsOK(ecode1
)) {
20274 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20276 arg1
= static_cast< wxEventType
>(val1
);
20279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20280 if (!SWIG_IsOK(ecode2
)) {
20281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
20283 arg2
= static_cast< int >(val2
);
20286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20287 if (!SWIG_IsOK(ecode3
)) {
20288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
20290 arg3
= static_cast< int >(val3
);
20293 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20294 if (!SWIG_IsOK(ecode4
)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
20297 arg4
= static_cast< int >(val4
);
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
20312 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20313 PyObject
*resultobj
= 0;
20314 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
20318 PyObject
*swig_obj
[1] ;
20320 if (!args
) SWIG_fail
;
20321 swig_obj
[0] = args
;
20322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
20323 if (!SWIG_IsOK(res1
)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
20326 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_From_int(static_cast< int >(result
));
20340 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20341 PyObject
*resultobj
= 0;
20342 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
20346 PyObject
*swig_obj
[1] ;
20348 if (!args
) SWIG_fail
;
20349 swig_obj
[0] = args
;
20350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
20351 if (!SWIG_IsOK(res1
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
20354 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= SWIG_From_int(static_cast< int >(result
));
20368 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20369 PyObject
*resultobj
= 0;
20370 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 char * kwnames
[] = {
20379 (char *) "self",(char *) "orient", NULL
20382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
20384 if (!SWIG_IsOK(res1
)) {
20385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
20387 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
20388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20389 if (!SWIG_IsOK(ecode2
)) {
20390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
20392 arg2
= static_cast< int >(val2
);
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->SetOrientation(arg2
);
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= SWIG_Py_Void();
20406 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
= 0;
20408 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char * kwnames
[] = {
20417 (char *) "self",(char *) "pos", NULL
20420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
20422 if (!SWIG_IsOK(res1
)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
20425 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
20426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20427 if (!SWIG_IsOK(ecode2
)) {
20428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
20430 arg2
= static_cast< int >(val2
);
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 (arg1
)->SetPosition(arg2
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= SWIG_Py_Void();
20444 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20447 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
20448 return SWIG_Py_Void();
20451 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20452 return SWIG_Python_InitShadowInstance(args
);
20455 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
= 0;
20457 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20458 int arg2
= (int) 0 ;
20459 int arg3
= (int) 0 ;
20460 wxScrollWinEvent
*result
= 0 ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 PyObject
* obj2
= 0 ;
20470 char * kwnames
[] = {
20471 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
20474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20477 if (!SWIG_IsOK(ecode1
)) {
20478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20480 arg1
= static_cast< wxEventType
>(val1
);
20483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20484 if (!SWIG_IsOK(ecode2
)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
20487 arg2
= static_cast< int >(val2
);
20490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20491 if (!SWIG_IsOK(ecode3
)) {
20492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
20494 arg3
= static_cast< int >(val3
);
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
20509 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20510 PyObject
*resultobj
= 0;
20511 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
20515 PyObject
*swig_obj
[1] ;
20517 if (!args
) SWIG_fail
;
20518 swig_obj
[0] = args
;
20519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
20520 if (!SWIG_IsOK(res1
)) {
20521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
20523 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= SWIG_From_int(static_cast< int >(result
));
20537 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20538 PyObject
*resultobj
= 0;
20539 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
20543 PyObject
*swig_obj
[1] ;
20545 if (!args
) SWIG_fail
;
20546 swig_obj
[0] = args
;
20547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
20548 if (!SWIG_IsOK(res1
)) {
20549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
20551 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_From_int(static_cast< int >(result
));
20565 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
= 0;
20567 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 char * kwnames
[] = {
20576 (char *) "self",(char *) "orient", NULL
20579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
20581 if (!SWIG_IsOK(res1
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
20584 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
20585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20586 if (!SWIG_IsOK(ecode2
)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
20589 arg2
= static_cast< int >(val2
);
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 (arg1
)->SetOrientation(arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_Py_Void();
20603 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
= 0;
20605 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 char * kwnames
[] = {
20614 (char *) "self",(char *) "pos", NULL
20617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
20619 if (!SWIG_IsOK(res1
)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
20622 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
20623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20624 if (!SWIG_IsOK(ecode2
)) {
20625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
20627 arg2
= static_cast< int >(val2
);
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetPosition(arg2
);
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= SWIG_Py_Void();
20641 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20644 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
20645 return SWIG_Py_Void();
20648 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20649 return SWIG_Python_InitShadowInstance(args
);
20652 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
= 0;
20654 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20655 wxMouseEvent
*result
= 0 ;
20658 PyObject
* obj0
= 0 ;
20659 char * kwnames
[] = {
20660 (char *) "mouseType", NULL
20663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
20665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20666 if (!SWIG_IsOK(ecode1
)) {
20667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20669 arg1
= static_cast< wxEventType
>(val1
);
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_NEW
| 0 );
20684 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20685 PyObject
*resultobj
= 0;
20686 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20690 PyObject
*swig_obj
[1] ;
20692 if (!args
) SWIG_fail
;
20693 swig_obj
[0] = args
;
20694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20695 if (!SWIG_IsOK(res1
)) {
20696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20698 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20714 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
= 0;
20716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20717 int arg2
= (int) wxMOUSE_BTN_ANY
;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 char * kwnames
[] = {
20726 (char *) "self",(char *) "but", NULL
20729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20731 if (!SWIG_IsOK(res1
)) {
20732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20734 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20737 if (!SWIG_IsOK(ecode2
)) {
20738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
20740 arg2
= static_cast< int >(val2
);
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20757 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
= 0;
20759 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20760 int arg2
= (int) wxMOUSE_BTN_ANY
;
20766 PyObject
* obj0
= 0 ;
20767 PyObject
* obj1
= 0 ;
20768 char * kwnames
[] = {
20769 (char *) "self",(char *) "but", NULL
20772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20774 if (!SWIG_IsOK(res1
)) {
20775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20777 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20780 if (!SWIG_IsOK(ecode2
)) {
20781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
20783 arg2
= static_cast< int >(val2
);
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20800 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
= 0;
20802 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20803 int arg2
= (int) wxMOUSE_BTN_ANY
;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 char * kwnames
[] = {
20812 (char *) "self",(char *) "but", NULL
20815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20817 if (!SWIG_IsOK(res1
)) {
20818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20820 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20823 if (!SWIG_IsOK(ecode2
)) {
20824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
20826 arg2
= static_cast< int >(val2
);
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20843 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
= 0;
20845 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "button", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20863 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20865 if (!SWIG_IsOK(ecode2
)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
20868 arg2
= static_cast< int >(val2
);
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20884 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
= 0;
20886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char * kwnames
[] = {
20896 (char *) "self",(char *) "but", NULL
20899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20901 if (!SWIG_IsOK(res1
)) {
20902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20904 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20906 if (!SWIG_IsOK(ecode2
)) {
20907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
20909 arg2
= static_cast< int >(val2
);
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20925 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20926 PyObject
*resultobj
= 0;
20927 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20931 PyObject
*swig_obj
[1] ;
20933 if (!args
) SWIG_fail
;
20934 swig_obj
[0] = args
;
20935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20936 if (!SWIG_IsOK(res1
)) {
20937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20939 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_From_int(static_cast< int >(result
));
20953 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20954 PyObject
*resultobj
= 0;
20955 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20959 PyObject
*swig_obj
[1] ;
20961 if (!args
) SWIG_fail
;
20962 swig_obj
[0] = args
;
20963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20964 if (!SWIG_IsOK(res1
)) {
20965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20967 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20983 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20984 PyObject
*resultobj
= 0;
20985 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20989 PyObject
*swig_obj
[1] ;
20991 if (!args
) SWIG_fail
;
20992 swig_obj
[0] = args
;
20993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20994 if (!SWIG_IsOK(res1
)) {
20995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20997 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21013 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21014 PyObject
*resultobj
= 0;
21015 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21019 PyObject
*swig_obj
[1] ;
21021 if (!args
) SWIG_fail
;
21022 swig_obj
[0] = args
;
21023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21024 if (!SWIG_IsOK(res1
)) {
21025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21027 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21043 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21044 PyObject
*resultobj
= 0;
21045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21049 PyObject
*swig_obj
[1] ;
21051 if (!args
) SWIG_fail
;
21052 swig_obj
[0] = args
;
21053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21057 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21073 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21074 PyObject
*resultobj
= 0;
21075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21079 PyObject
*swig_obj
[1] ;
21081 if (!args
) SWIG_fail
;
21082 swig_obj
[0] = args
;
21083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21084 if (!SWIG_IsOK(res1
)) {
21085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21087 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21103 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21104 PyObject
*resultobj
= 0;
21105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21109 PyObject
*swig_obj
[1] ;
21111 if (!args
) SWIG_fail
;
21112 swig_obj
[0] = args
;
21113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21117 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21133 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21134 PyObject
*resultobj
= 0;
21135 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21139 PyObject
*swig_obj
[1] ;
21141 if (!args
) SWIG_fail
;
21142 swig_obj
[0] = args
;
21143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21144 if (!SWIG_IsOK(res1
)) {
21145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21147 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21163 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21164 PyObject
*resultobj
= 0;
21165 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21169 PyObject
*swig_obj
[1] ;
21171 if (!args
) SWIG_fail
;
21172 swig_obj
[0] = args
;
21173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21174 if (!SWIG_IsOK(res1
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21177 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21193 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21194 PyObject
*resultobj
= 0;
21195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21199 PyObject
*swig_obj
[1] ;
21201 if (!args
) SWIG_fail
;
21202 swig_obj
[0] = args
;
21203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21204 if (!SWIG_IsOK(res1
)) {
21205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21207 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21223 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21224 PyObject
*resultobj
= 0;
21225 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21229 PyObject
*swig_obj
[1] ;
21231 if (!args
) SWIG_fail
;
21232 swig_obj
[0] = args
;
21233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21234 if (!SWIG_IsOK(res1
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21237 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21253 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21254 PyObject
*resultobj
= 0;
21255 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21259 PyObject
*swig_obj
[1] ;
21261 if (!args
) SWIG_fail
;
21262 swig_obj
[0] = args
;
21263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21264 if (!SWIG_IsOK(res1
)) {
21265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21267 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21283 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21284 PyObject
*resultobj
= 0;
21285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21289 PyObject
*swig_obj
[1] ;
21291 if (!args
) SWIG_fail
;
21292 swig_obj
[0] = args
;
21293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21294 if (!SWIG_IsOK(res1
)) {
21295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21297 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21313 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21314 PyObject
*resultobj
= 0;
21315 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21319 PyObject
*swig_obj
[1] ;
21321 if (!args
) SWIG_fail
;
21322 swig_obj
[0] = args
;
21323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21324 if (!SWIG_IsOK(res1
)) {
21325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21327 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21343 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21344 PyObject
*resultobj
= 0;
21345 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21349 PyObject
*swig_obj
[1] ;
21351 if (!args
) SWIG_fail
;
21352 swig_obj
[0] = args
;
21353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21354 if (!SWIG_IsOK(res1
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21357 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21373 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21374 PyObject
*resultobj
= 0;
21375 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21379 PyObject
*swig_obj
[1] ;
21381 if (!args
) SWIG_fail
;
21382 swig_obj
[0] = args
;
21383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21384 if (!SWIG_IsOK(res1
)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21387 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (bool)(arg1
)->LeftIsDown();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21403 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21404 PyObject
*resultobj
= 0;
21405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21409 PyObject
*swig_obj
[1] ;
21411 if (!args
) SWIG_fail
;
21412 swig_obj
[0] = args
;
21413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21417 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)(arg1
)->MiddleIsDown();
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21433 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21434 PyObject
*resultobj
= 0;
21435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21439 PyObject
*swig_obj
[1] ;
21441 if (!args
) SWIG_fail
;
21442 swig_obj
[0] = args
;
21443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21444 if (!SWIG_IsOK(res1
)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21447 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= (bool)(arg1
)->RightIsDown();
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21463 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21464 PyObject
*resultobj
= 0;
21465 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21469 PyObject
*swig_obj
[1] ;
21471 if (!args
) SWIG_fail
;
21472 swig_obj
[0] = args
;
21473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21474 if (!SWIG_IsOK(res1
)) {
21475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21477 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21493 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21494 PyObject
*resultobj
= 0;
21495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21499 PyObject
*swig_obj
[1] ;
21501 if (!args
) SWIG_fail
;
21502 swig_obj
[0] = args
;
21503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21504 if (!SWIG_IsOK(res1
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21507 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21523 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21524 PyObject
*resultobj
= 0;
21525 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21529 PyObject
*swig_obj
[1] ;
21531 if (!args
) SWIG_fail
;
21532 swig_obj
[0] = args
;
21533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21537 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21553 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(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_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21567 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21583 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21584 PyObject
*resultobj
= 0;
21585 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21589 PyObject
*swig_obj
[1] ;
21591 if (!args
) SWIG_fail
;
21592 swig_obj
[0] = args
;
21593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21594 if (!SWIG_IsOK(res1
)) {
21595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21597 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (arg1
)->GetPosition();
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21611 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21612 PyObject
*resultobj
= 0;
21613 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21614 long *arg2
= (long *) 0 ;
21615 long *arg3
= (long *) 0 ;
21619 int res2
= SWIG_TMPOBJ
;
21621 int res3
= SWIG_TMPOBJ
;
21622 PyObject
*swig_obj
[1] ;
21626 if (!args
) SWIG_fail
;
21627 swig_obj
[0] = args
;
21628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21629 if (!SWIG_IsOK(res1
)) {
21630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21632 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 (arg1
)->GetPosition(arg2
,arg3
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_Py_Void();
21640 if (SWIG_IsTmpObj(res2
)) {
21641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
21643 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
21646 if (SWIG_IsTmpObj(res3
)) {
21647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
21649 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
21658 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
= 0;
21660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char * kwnames
[] = {
21670 (char *) "self",(char *) "dc", NULL
21673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21675 if (!SWIG_IsOK(res1
)) {
21676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21678 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
21680 if (!SWIG_IsOK(res2
)) {
21681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
21684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
21686 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21700 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21701 PyObject
*resultobj
= 0;
21702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21706 PyObject
*swig_obj
[1] ;
21708 if (!args
) SWIG_fail
;
21709 swig_obj
[0] = args
;
21710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21711 if (!SWIG_IsOK(res1
)) {
21712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21714 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= SWIG_From_int(static_cast< int >(result
));
21728 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21729 PyObject
*resultobj
= 0;
21730 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21734 PyObject
*swig_obj
[1] ;
21736 if (!args
) SWIG_fail
;
21737 swig_obj
[0] = args
;
21738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21739 if (!SWIG_IsOK(res1
)) {
21740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21742 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= SWIG_From_int(static_cast< int >(result
));
21756 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21757 PyObject
*resultobj
= 0;
21758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21762 PyObject
*swig_obj
[1] ;
21764 if (!args
) SWIG_fail
;
21765 swig_obj
[0] = args
;
21766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21767 if (!SWIG_IsOK(res1
)) {
21768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21770 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
21774 wxPyEndAllowThreads(__tstate
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= SWIG_From_int(static_cast< int >(result
));
21784 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21785 PyObject
*resultobj
= 0;
21786 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21790 PyObject
*swig_obj
[1] ;
21792 if (!args
) SWIG_fail
;
21793 swig_obj
[0] = args
;
21794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21795 if (!SWIG_IsOK(res1
)) {
21796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21798 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= SWIG_From_int(static_cast< int >(result
));
21812 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21813 PyObject
*resultobj
= 0;
21814 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21818 PyObject
*swig_obj
[1] ;
21820 if (!args
) SWIG_fail
;
21821 swig_obj
[0] = args
;
21822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21823 if (!SWIG_IsOK(res1
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21826 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= SWIG_From_int(static_cast< int >(result
));
21840 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21841 PyObject
*resultobj
= 0;
21842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21846 PyObject
*swig_obj
[1] ;
21848 if (!args
) SWIG_fail
;
21849 swig_obj
[0] = args
;
21850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21854 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21870 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21871 PyObject
*resultobj
= 0;
21872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21878 PyObject
*swig_obj
[2] ;
21880 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
21881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21885 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21886 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21887 if (!SWIG_IsOK(ecode2
)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
21890 arg2
= static_cast< int >(val2
);
21891 if (arg1
) (arg1
)->m_x
= arg2
;
21893 resultobj
= SWIG_Py_Void();
21900 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21901 PyObject
*resultobj
= 0;
21902 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21906 PyObject
*swig_obj
[1] ;
21908 if (!args
) SWIG_fail
;
21909 swig_obj
[0] = args
;
21910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21911 if (!SWIG_IsOK(res1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21914 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21915 result
= (int) ((arg1
)->m_x
);
21916 resultobj
= SWIG_From_int(static_cast< int >(result
));
21923 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21924 PyObject
*resultobj
= 0;
21925 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21931 PyObject
*swig_obj
[2] ;
21933 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
21934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21935 if (!SWIG_IsOK(res1
)) {
21936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21938 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21939 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21940 if (!SWIG_IsOK(ecode2
)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
21943 arg2
= static_cast< int >(val2
);
21944 if (arg1
) (arg1
)->m_y
= arg2
;
21946 resultobj
= SWIG_Py_Void();
21953 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21954 PyObject
*resultobj
= 0;
21955 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21959 PyObject
*swig_obj
[1] ;
21961 if (!args
) SWIG_fail
;
21962 swig_obj
[0] = args
;
21963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21967 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21968 result
= (int) ((arg1
)->m_y
);
21969 resultobj
= SWIG_From_int(static_cast< int >(result
));
21976 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21977 PyObject
*resultobj
= 0;
21978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21984 PyObject
*swig_obj
[2] ;
21986 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
21987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21988 if (!SWIG_IsOK(res1
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21991 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21992 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21993 if (!SWIG_IsOK(ecode2
)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
21996 arg2
= static_cast< bool >(val2
);
21997 if (arg1
) (arg1
)->m_leftDown
= arg2
;
21999 resultobj
= SWIG_Py_Void();
22006 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22007 PyObject
*resultobj
= 0;
22008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22012 PyObject
*swig_obj
[1] ;
22014 if (!args
) SWIG_fail
;
22015 swig_obj
[0] = args
;
22016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22017 if (!SWIG_IsOK(res1
)) {
22018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22020 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22021 result
= (bool) ((arg1
)->m_leftDown
);
22023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22031 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22039 PyObject
*swig_obj
[2] ;
22041 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
22042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22043 if (!SWIG_IsOK(res1
)) {
22044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22046 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22047 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22048 if (!SWIG_IsOK(ecode2
)) {
22049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
22051 arg2
= static_cast< bool >(val2
);
22052 if (arg1
) (arg1
)->m_middleDown
= arg2
;
22054 resultobj
= SWIG_Py_Void();
22061 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22062 PyObject
*resultobj
= 0;
22063 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22067 PyObject
*swig_obj
[1] ;
22069 if (!args
) SWIG_fail
;
22070 swig_obj
[0] = args
;
22071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22072 if (!SWIG_IsOK(res1
)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22075 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22076 result
= (bool) ((arg1
)->m_middleDown
);
22078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22086 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22087 PyObject
*resultobj
= 0;
22088 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22094 PyObject
*swig_obj
[2] ;
22096 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
22097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22098 if (!SWIG_IsOK(res1
)) {
22099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22101 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22102 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22103 if (!SWIG_IsOK(ecode2
)) {
22104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
22106 arg2
= static_cast< bool >(val2
);
22107 if (arg1
) (arg1
)->m_rightDown
= arg2
;
22109 resultobj
= SWIG_Py_Void();
22116 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22117 PyObject
*resultobj
= 0;
22118 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22122 PyObject
*swig_obj
[1] ;
22124 if (!args
) SWIG_fail
;
22125 swig_obj
[0] = args
;
22126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22130 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22131 result
= (bool) ((arg1
)->m_rightDown
);
22133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22141 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22142 PyObject
*resultobj
= 0;
22143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22149 PyObject
*swig_obj
[2] ;
22151 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
22152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22153 if (!SWIG_IsOK(res1
)) {
22154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22156 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22157 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22158 if (!SWIG_IsOK(ecode2
)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
22161 arg2
= static_cast< bool >(val2
);
22162 if (arg1
) (arg1
)->m_controlDown
= arg2
;
22164 resultobj
= SWIG_Py_Void();
22171 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22172 PyObject
*resultobj
= 0;
22173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22177 PyObject
*swig_obj
[1] ;
22179 if (!args
) SWIG_fail
;
22180 swig_obj
[0] = args
;
22181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22182 if (!SWIG_IsOK(res1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22185 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22186 result
= (bool) ((arg1
)->m_controlDown
);
22188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22196 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22197 PyObject
*resultobj
= 0;
22198 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22204 PyObject
*swig_obj
[2] ;
22206 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
22207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22208 if (!SWIG_IsOK(res1
)) {
22209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22211 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22212 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22213 if (!SWIG_IsOK(ecode2
)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
22216 arg2
= static_cast< bool >(val2
);
22217 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
22219 resultobj
= SWIG_Py_Void();
22226 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22227 PyObject
*resultobj
= 0;
22228 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22232 PyObject
*swig_obj
[1] ;
22234 if (!args
) SWIG_fail
;
22235 swig_obj
[0] = args
;
22236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22237 if (!SWIG_IsOK(res1
)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22240 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22241 result
= (bool) ((arg1
)->m_shiftDown
);
22243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22251 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22252 PyObject
*resultobj
= 0;
22253 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22259 PyObject
*swig_obj
[2] ;
22261 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
22262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22263 if (!SWIG_IsOK(res1
)) {
22264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22266 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22267 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22268 if (!SWIG_IsOK(ecode2
)) {
22269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
22271 arg2
= static_cast< bool >(val2
);
22272 if (arg1
) (arg1
)->m_altDown
= arg2
;
22274 resultobj
= SWIG_Py_Void();
22281 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22282 PyObject
*resultobj
= 0;
22283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22287 PyObject
*swig_obj
[1] ;
22289 if (!args
) SWIG_fail
;
22290 swig_obj
[0] = args
;
22291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22292 if (!SWIG_IsOK(res1
)) {
22293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22295 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22296 result
= (bool) ((arg1
)->m_altDown
);
22298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22306 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22307 PyObject
*resultobj
= 0;
22308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22314 PyObject
*swig_obj
[2] ;
22316 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
22317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22318 if (!SWIG_IsOK(res1
)) {
22319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22321 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22322 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22323 if (!SWIG_IsOK(ecode2
)) {
22324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
22326 arg2
= static_cast< bool >(val2
);
22327 if (arg1
) (arg1
)->m_metaDown
= arg2
;
22329 resultobj
= SWIG_Py_Void();
22336 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22337 PyObject
*resultobj
= 0;
22338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22342 PyObject
*swig_obj
[1] ;
22344 if (!args
) SWIG_fail
;
22345 swig_obj
[0] = args
;
22346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22347 if (!SWIG_IsOK(res1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22350 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22351 result
= (bool) ((arg1
)->m_metaDown
);
22353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22361 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22362 PyObject
*resultobj
= 0;
22363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22369 PyObject
*swig_obj
[2] ;
22371 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
22372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22373 if (!SWIG_IsOK(res1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22376 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22377 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22378 if (!SWIG_IsOK(ecode2
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
22381 arg2
= static_cast< int >(val2
);
22382 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
22384 resultobj
= SWIG_Py_Void();
22391 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22392 PyObject
*resultobj
= 0;
22393 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22397 PyObject
*swig_obj
[1] ;
22399 if (!args
) SWIG_fail
;
22400 swig_obj
[0] = args
;
22401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22405 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22406 result
= (int) ((arg1
)->m_wheelRotation
);
22407 resultobj
= SWIG_From_int(static_cast< int >(result
));
22414 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 PyObject
*resultobj
= 0;
22416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22422 PyObject
*swig_obj
[2] ;
22424 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
22425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22429 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22430 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22431 if (!SWIG_IsOK(ecode2
)) {
22432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
22434 arg2
= static_cast< int >(val2
);
22435 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
22437 resultobj
= SWIG_Py_Void();
22444 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 PyObject
*resultobj
= 0;
22446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22450 PyObject
*swig_obj
[1] ;
22452 if (!args
) SWIG_fail
;
22453 swig_obj
[0] = args
;
22454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22458 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22459 result
= (int) ((arg1
)->m_wheelDelta
);
22460 resultobj
= SWIG_From_int(static_cast< int >(result
));
22467 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22468 PyObject
*resultobj
= 0;
22469 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22475 PyObject
*swig_obj
[2] ;
22477 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
22478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22479 if (!SWIG_IsOK(res1
)) {
22480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22482 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22483 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22484 if (!SWIG_IsOK(ecode2
)) {
22485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
22487 arg2
= static_cast< int >(val2
);
22488 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
22490 resultobj
= SWIG_Py_Void();
22497 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22498 PyObject
*resultobj
= 0;
22499 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
22503 PyObject
*swig_obj
[1] ;
22505 if (!args
) SWIG_fail
;
22506 swig_obj
[0] = args
;
22507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
22511 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
22512 result
= (int) ((arg1
)->m_linesPerAction
);
22513 resultobj
= SWIG_From_int(static_cast< int >(result
));
22520 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22522 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22523 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
22524 return SWIG_Py_Void();
22527 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 return SWIG_Python_InitShadowInstance(args
);
22531 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
= 0;
22533 int arg1
= (int) 0 ;
22534 int arg2
= (int) 0 ;
22535 wxSetCursorEvent
*result
= 0 ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 char * kwnames
[] = {
22543 (char *) "x",(char *) "y", NULL
22546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22548 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22549 if (!SWIG_IsOK(ecode1
)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
22552 arg1
= static_cast< int >(val1
);
22555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22556 if (!SWIG_IsOK(ecode2
)) {
22557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
22559 arg2
= static_cast< int >(val2
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
22574 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22575 PyObject
*resultobj
= 0;
22576 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22580 PyObject
*swig_obj
[1] ;
22582 if (!args
) SWIG_fail
;
22583 swig_obj
[0] = args
;
22584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22585 if (!SWIG_IsOK(res1
)) {
22586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
22588 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= SWIG_From_int(static_cast< int >(result
));
22602 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22603 PyObject
*resultobj
= 0;
22604 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22608 PyObject
*swig_obj
[1] ;
22610 if (!args
) SWIG_fail
;
22611 swig_obj
[0] = args
;
22612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22613 if (!SWIG_IsOK(res1
)) {
22614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
22616 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_From_int(static_cast< int >(result
));
22630 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
= 0;
22632 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22633 wxCursor
*arg2
= 0 ;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 char * kwnames
[] = {
22641 (char *) "self",(char *) "cursor", NULL
22644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22646 if (!SWIG_IsOK(res1
)) {
22647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
22649 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
22651 if (!SWIG_IsOK(res2
)) {
22652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
22655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
22657 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= SWIG_Py_Void();
22671 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22672 PyObject
*resultobj
= 0;
22673 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22674 wxCursor
*result
= 0 ;
22677 PyObject
*swig_obj
[1] ;
22679 if (!args
) SWIG_fail
;
22680 swig_obj
[0] = args
;
22681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22682 if (!SWIG_IsOK(res1
)) {
22683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
22685 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
22690 result
= (wxCursor
*) &_result_ref
;
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22696 wxCursor
* resultptr
= new wxCursor(*result
);
22697 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
22705 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22706 PyObject
*resultobj
= 0;
22707 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
22711 PyObject
*swig_obj
[1] ;
22713 if (!args
) SWIG_fail
;
22714 swig_obj
[0] = args
;
22715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
22716 if (!SWIG_IsOK(res1
)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
22719 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22735 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22738 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
22739 return SWIG_Py_Void();
22742 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22743 return SWIG_Python_InitShadowInstance(args
);
22746 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
= 0;
22748 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22749 wxKeyEvent
*result
= 0 ;
22752 PyObject
* obj0
= 0 ;
22753 char * kwnames
[] = {
22754 (char *) "eventType", NULL
22757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
22759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22760 if (!SWIG_IsOK(ecode1
)) {
22761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22763 arg1
= static_cast< wxEventType
>(val1
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
22778 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22779 PyObject
*resultobj
= 0;
22780 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22784 PyObject
*swig_obj
[1] ;
22786 if (!args
) SWIG_fail
;
22787 swig_obj
[0] = args
;
22788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22789 if (!SWIG_IsOK(res1
)) {
22790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22792 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= SWIG_From_int(static_cast< int >(result
));
22806 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22807 PyObject
*resultobj
= 0;
22808 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22812 PyObject
*swig_obj
[1] ;
22814 if (!args
) SWIG_fail
;
22815 swig_obj
[0] = args
;
22816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22817 if (!SWIG_IsOK(res1
)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22820 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22836 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 PyObject
*resultobj
= 0;
22838 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22842 PyObject
*swig_obj
[1] ;
22844 if (!args
) SWIG_fail
;
22845 swig_obj
[0] = args
;
22846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22847 if (!SWIG_IsOK(res1
)) {
22848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22850 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22866 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22867 PyObject
*resultobj
= 0;
22868 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22872 PyObject
*swig_obj
[1] ;
22874 if (!args
) SWIG_fail
;
22875 swig_obj
[0] = args
;
22876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22877 if (!SWIG_IsOK(res1
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22880 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22896 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22897 PyObject
*resultobj
= 0;
22898 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22902 PyObject
*swig_obj
[1] ;
22904 if (!args
) SWIG_fail
;
22905 swig_obj
[0] = args
;
22906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22907 if (!SWIG_IsOK(res1
)) {
22908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22910 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22926 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22927 PyObject
*resultobj
= 0;
22928 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22932 PyObject
*swig_obj
[1] ;
22934 if (!args
) SWIG_fail
;
22935 swig_obj
[0] = args
;
22936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22937 if (!SWIG_IsOK(res1
)) {
22938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22940 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22956 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22957 PyObject
*resultobj
= 0;
22958 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22962 PyObject
*swig_obj
[1] ;
22964 if (!args
) SWIG_fail
;
22965 swig_obj
[0] = args
;
22966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22967 if (!SWIG_IsOK(res1
)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22970 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22986 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22987 PyObject
*resultobj
= 0;
22988 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22992 PyObject
*swig_obj
[1] ;
22994 if (!args
) SWIG_fail
;
22995 swig_obj
[0] = args
;
22996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22997 if (!SWIG_IsOK(res1
)) {
22998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23000 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= SWIG_From_int(static_cast< int >(result
));
23014 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23015 PyObject
*resultobj
= 0;
23016 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23020 PyObject
*swig_obj
[1] ;
23022 if (!args
) SWIG_fail
;
23023 swig_obj
[0] = args
;
23024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23025 if (!SWIG_IsOK(res1
)) {
23026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23028 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= SWIG_From_int(static_cast< int >(result
));
23042 SWIGINTERN PyObject
*_wrap_KeyEvent_SetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
= 0;
23044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char * kwnames
[] = {
23053 (char *) "self",(char *) "uniChar", NULL
23056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_SetUnicodeKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23058 if (!SWIG_IsOK(res1
)) {
23059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23061 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23063 if (!SWIG_IsOK(ecode2
)) {
23064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "2"" of type '" "int""'");
23066 arg2
= static_cast< int >(val2
);
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 wxKeyEvent_SetUnicodeKey(arg1
,arg2
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_Py_Void();
23080 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23081 PyObject
*resultobj
= 0;
23082 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23083 unsigned int result
;
23086 PyObject
*swig_obj
[1] ;
23088 if (!args
) SWIG_fail
;
23089 swig_obj
[0] = args
;
23090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23091 if (!SWIG_IsOK(res1
)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23094 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
23108 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23109 PyObject
*resultobj
= 0;
23110 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23111 unsigned int result
;
23114 PyObject
*swig_obj
[1] ;
23116 if (!args
) SWIG_fail
;
23117 swig_obj
[0] = args
;
23118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23122 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
23136 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23137 PyObject
*resultobj
= 0;
23138 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23142 PyObject
*swig_obj
[1] ;
23144 if (!args
) SWIG_fail
;
23145 swig_obj
[0] = args
;
23146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23147 if (!SWIG_IsOK(res1
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23150 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= (arg1
)->GetPosition();
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23164 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23165 PyObject
*resultobj
= 0;
23166 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23167 long *arg2
= (long *) 0 ;
23168 long *arg3
= (long *) 0 ;
23172 int res2
= SWIG_TMPOBJ
;
23174 int res3
= SWIG_TMPOBJ
;
23175 PyObject
*swig_obj
[1] ;
23179 if (!args
) SWIG_fail
;
23180 swig_obj
[0] = args
;
23181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23182 if (!SWIG_IsOK(res1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23185 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 (arg1
)->GetPosition(arg2
,arg3
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_Py_Void();
23193 if (SWIG_IsTmpObj(res2
)) {
23194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
23196 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
23199 if (SWIG_IsTmpObj(res3
)) {
23200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
23202 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
23211 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23212 PyObject
*resultobj
= 0;
23213 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23217 PyObject
*swig_obj
[1] ;
23219 if (!args
) SWIG_fail
;
23220 swig_obj
[0] = args
;
23221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23222 if (!SWIG_IsOK(res1
)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23225 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_From_int(static_cast< int >(result
));
23239 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23240 PyObject
*resultobj
= 0;
23241 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23245 PyObject
*swig_obj
[1] ;
23247 if (!args
) SWIG_fail
;
23248 swig_obj
[0] = args
;
23249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23250 if (!SWIG_IsOK(res1
)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
23253 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= SWIG_From_int(static_cast< int >(result
));
23267 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23268 PyObject
*resultobj
= 0;
23269 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23275 PyObject
*swig_obj
[2] ;
23277 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
23278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23282 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23283 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23284 if (!SWIG_IsOK(ecode2
)) {
23285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
23287 arg2
= static_cast< int >(val2
);
23288 if (arg1
) (arg1
)->m_x
= arg2
;
23290 resultobj
= SWIG_Py_Void();
23297 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23298 PyObject
*resultobj
= 0;
23299 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23303 PyObject
*swig_obj
[1] ;
23305 if (!args
) SWIG_fail
;
23306 swig_obj
[0] = args
;
23307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23308 if (!SWIG_IsOK(res1
)) {
23309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23311 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23312 result
= (int) ((arg1
)->m_x
);
23313 resultobj
= SWIG_From_int(static_cast< int >(result
));
23320 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23321 PyObject
*resultobj
= 0;
23322 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23328 PyObject
*swig_obj
[2] ;
23330 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
23331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23332 if (!SWIG_IsOK(res1
)) {
23333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23335 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23336 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23337 if (!SWIG_IsOK(ecode2
)) {
23338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
23340 arg2
= static_cast< int >(val2
);
23341 if (arg1
) (arg1
)->m_y
= arg2
;
23343 resultobj
= SWIG_Py_Void();
23350 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23351 PyObject
*resultobj
= 0;
23352 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23356 PyObject
*swig_obj
[1] ;
23358 if (!args
) SWIG_fail
;
23359 swig_obj
[0] = args
;
23360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23361 if (!SWIG_IsOK(res1
)) {
23362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23364 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23365 result
= (int) ((arg1
)->m_y
);
23366 resultobj
= SWIG_From_int(static_cast< int >(result
));
23373 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23374 PyObject
*resultobj
= 0;
23375 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23381 PyObject
*swig_obj
[2] ;
23383 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
23384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23385 if (!SWIG_IsOK(res1
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23388 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23389 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
23390 if (!SWIG_IsOK(ecode2
)) {
23391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
23393 arg2
= static_cast< long >(val2
);
23394 if (arg1
) (arg1
)->m_keyCode
= arg2
;
23396 resultobj
= SWIG_Py_Void();
23403 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23404 PyObject
*resultobj
= 0;
23405 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23409 PyObject
*swig_obj
[1] ;
23411 if (!args
) SWIG_fail
;
23412 swig_obj
[0] = args
;
23413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23414 if (!SWIG_IsOK(res1
)) {
23415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23417 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23418 result
= (long) ((arg1
)->m_keyCode
);
23419 resultobj
= SWIG_From_long(static_cast< long >(result
));
23426 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23427 PyObject
*resultobj
= 0;
23428 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23434 PyObject
*swig_obj
[2] ;
23436 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
23437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23441 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23442 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23443 if (!SWIG_IsOK(ecode2
)) {
23444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
23446 arg2
= static_cast< bool >(val2
);
23447 if (arg1
) (arg1
)->m_controlDown
= arg2
;
23449 resultobj
= SWIG_Py_Void();
23456 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23457 PyObject
*resultobj
= 0;
23458 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23462 PyObject
*swig_obj
[1] ;
23464 if (!args
) SWIG_fail
;
23465 swig_obj
[0] = args
;
23466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23467 if (!SWIG_IsOK(res1
)) {
23468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23470 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23471 result
= (bool) ((arg1
)->m_controlDown
);
23473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23481 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23482 PyObject
*resultobj
= 0;
23483 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23489 PyObject
*swig_obj
[2] ;
23491 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
23492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23493 if (!SWIG_IsOK(res1
)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23496 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23497 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23498 if (!SWIG_IsOK(ecode2
)) {
23499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
23501 arg2
= static_cast< bool >(val2
);
23502 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
23504 resultobj
= SWIG_Py_Void();
23511 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23512 PyObject
*resultobj
= 0;
23513 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23517 PyObject
*swig_obj
[1] ;
23519 if (!args
) SWIG_fail
;
23520 swig_obj
[0] = args
;
23521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23522 if (!SWIG_IsOK(res1
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23525 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23526 result
= (bool) ((arg1
)->m_shiftDown
);
23528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23536 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23537 PyObject
*resultobj
= 0;
23538 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23544 PyObject
*swig_obj
[2] ;
23546 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
23547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23551 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23552 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23553 if (!SWIG_IsOK(ecode2
)) {
23554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
23556 arg2
= static_cast< bool >(val2
);
23557 if (arg1
) (arg1
)->m_altDown
= arg2
;
23559 resultobj
= SWIG_Py_Void();
23566 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23567 PyObject
*resultobj
= 0;
23568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23572 PyObject
*swig_obj
[1] ;
23574 if (!args
) SWIG_fail
;
23575 swig_obj
[0] = args
;
23576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23580 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23581 result
= (bool) ((arg1
)->m_altDown
);
23583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23591 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23592 PyObject
*resultobj
= 0;
23593 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23599 PyObject
*swig_obj
[2] ;
23601 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
23602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23603 if (!SWIG_IsOK(res1
)) {
23604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23606 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23607 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23608 if (!SWIG_IsOK(ecode2
)) {
23609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
23611 arg2
= static_cast< bool >(val2
);
23612 if (arg1
) (arg1
)->m_metaDown
= arg2
;
23614 resultobj
= SWIG_Py_Void();
23621 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23622 PyObject
*resultobj
= 0;
23623 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23627 PyObject
*swig_obj
[1] ;
23629 if (!args
) SWIG_fail
;
23630 swig_obj
[0] = args
;
23631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23632 if (!SWIG_IsOK(res1
)) {
23633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23635 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23636 result
= (bool) ((arg1
)->m_metaDown
);
23638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23646 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23647 PyObject
*resultobj
= 0;
23648 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23654 PyObject
*swig_obj
[2] ;
23656 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
23657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23661 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23662 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
23663 if (!SWIG_IsOK(ecode2
)) {
23664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
23666 arg2
= static_cast< bool >(val2
);
23667 if (arg1
) (arg1
)->m_scanCode
= arg2
;
23669 resultobj
= SWIG_Py_Void();
23676 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23677 PyObject
*resultobj
= 0;
23678 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23682 PyObject
*swig_obj
[1] ;
23684 if (!args
) SWIG_fail
;
23685 swig_obj
[0] = args
;
23686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23690 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23691 result
= (bool) ((arg1
)->m_scanCode
);
23693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23701 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23702 PyObject
*resultobj
= 0;
23703 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23704 unsigned int arg2
;
23707 unsigned int val2
;
23709 PyObject
*swig_obj
[2] ;
23711 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
23712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23713 if (!SWIG_IsOK(res1
)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23716 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23717 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
23718 if (!SWIG_IsOK(ecode2
)) {
23719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
23721 arg2
= static_cast< unsigned int >(val2
);
23722 if (arg1
) (arg1
)->m_rawCode
= arg2
;
23724 resultobj
= SWIG_Py_Void();
23731 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23732 PyObject
*resultobj
= 0;
23733 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23734 unsigned int result
;
23737 PyObject
*swig_obj
[1] ;
23739 if (!args
) SWIG_fail
;
23740 swig_obj
[0] = args
;
23741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23742 if (!SWIG_IsOK(res1
)) {
23743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23745 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23746 result
= (unsigned int) ((arg1
)->m_rawCode
);
23747 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
23754 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23755 PyObject
*resultobj
= 0;
23756 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23757 unsigned int arg2
;
23760 unsigned int val2
;
23762 PyObject
*swig_obj
[2] ;
23764 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
23765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23766 if (!SWIG_IsOK(res1
)) {
23767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23769 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23770 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
23771 if (!SWIG_IsOK(ecode2
)) {
23772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
23774 arg2
= static_cast< unsigned int >(val2
);
23775 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
23777 resultobj
= SWIG_Py_Void();
23784 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23785 PyObject
*resultobj
= 0;
23786 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
23787 unsigned int result
;
23790 PyObject
*swig_obj
[1] ;
23792 if (!args
) SWIG_fail
;
23793 swig_obj
[0] = args
;
23794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
23795 if (!SWIG_IsOK(res1
)) {
23796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
23798 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
23799 result
= (unsigned int) ((arg1
)->m_rawFlags
);
23800 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
23807 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23810 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
23811 return SWIG_Py_Void();
23814 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23815 return SWIG_Python_InitShadowInstance(args
);
23818 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
= 0;
23820 wxSize
const &arg1_defvalue
= wxDefaultSize
;
23821 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
23822 int arg2
= (int) 0 ;
23823 wxSizeEvent
*result
= 0 ;
23827 PyObject
* obj0
= 0 ;
23828 PyObject
* obj1
= 0 ;
23829 char * kwnames
[] = {
23830 (char *) "sz",(char *) "winid", NULL
23833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23837 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
23841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23842 if (!SWIG_IsOK(ecode2
)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
23845 arg2
= static_cast< int >(val2
);
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
23860 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23861 PyObject
*resultobj
= 0;
23862 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23866 PyObject
*swig_obj
[1] ;
23868 if (!args
) SWIG_fail
;
23869 swig_obj
[0] = args
;
23870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23871 if (!SWIG_IsOK(res1
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
23874 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23888 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23889 PyObject
*resultobj
= 0;
23890 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23894 PyObject
*swig_obj
[1] ;
23896 if (!args
) SWIG_fail
;
23897 swig_obj
[0] = args
;
23898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
23902 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23916 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
= 0;
23918 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char * kwnames
[] = {
23927 (char *) "self",(char *) "rect", NULL
23930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23935 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
23938 if (!SWIG_IsOK(res2
)) {
23939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
23942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
23944 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
23946 if (SWIG_IsNewObj(res2
)) delete temp
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 (arg1
)->SetRect(arg2
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= SWIG_Py_Void();
23962 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
= 0;
23964 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char * kwnames
[] = {
23973 (char *) "self",(char *) "size", NULL
23976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23978 if (!SWIG_IsOK(res1
)) {
23979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23981 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
23984 if (!SWIG_IsOK(res2
)) {
23985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23990 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
23992 if (SWIG_IsNewObj(res2
)) delete temp
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 wxSizeEvent_SetSize(arg1
,arg2
);
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= SWIG_Py_Void();
24008 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24009 PyObject
*resultobj
= 0;
24010 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
24011 wxSize
*arg2
= (wxSize
*) 0 ;
24016 PyObject
*swig_obj
[2] ;
24018 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
24019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
24023 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
24024 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
24025 if (!SWIG_IsOK(res2
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
24028 arg2
= reinterpret_cast< wxSize
* >(argp2
);
24029 if (arg1
) (arg1
)->m_size
= *arg2
;
24031 resultobj
= SWIG_Py_Void();
24038 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24039 PyObject
*resultobj
= 0;
24040 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
24041 wxSize
*result
= 0 ;
24044 PyObject
*swig_obj
[1] ;
24046 if (!args
) SWIG_fail
;
24047 swig_obj
[0] = args
;
24048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
24049 if (!SWIG_IsOK(res1
)) {
24050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
24052 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
24053 result
= (wxSize
*)& ((arg1
)->m_size
);
24054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24061 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24062 PyObject
*resultobj
= 0;
24063 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
24064 wxRect
*arg2
= (wxRect
*) 0 ;
24069 PyObject
*swig_obj
[2] ;
24071 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
24072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
24073 if (!SWIG_IsOK(res1
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
24076 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
24077 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24078 if (!SWIG_IsOK(res2
)) {
24079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
24081 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24082 if (arg1
) (arg1
)->m_rect
= *arg2
;
24084 resultobj
= SWIG_Py_Void();
24091 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24092 PyObject
*resultobj
= 0;
24093 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
24094 wxRect
*result
= 0 ;
24097 PyObject
*swig_obj
[1] ;
24099 if (!args
) SWIG_fail
;
24100 swig_obj
[0] = args
;
24101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
24102 if (!SWIG_IsOK(res1
)) {
24103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
24105 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
24106 result
= (wxRect
*)& ((arg1
)->m_rect
);
24107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
24114 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24117 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
24118 return SWIG_Py_Void();
24121 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24122 return SWIG_Python_InitShadowInstance(args
);
24125 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
= 0;
24127 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
24128 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
24129 int arg2
= (int) 0 ;
24130 wxMoveEvent
*result
= 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "pos",(char *) "winid", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24144 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
24148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24149 if (!SWIG_IsOK(ecode2
)) {
24150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
24152 arg2
= static_cast< int >(val2
);
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
24167 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24168 PyObject
*resultobj
= 0;
24169 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
24173 PyObject
*swig_obj
[1] ;
24175 if (!args
) SWIG_fail
;
24176 swig_obj
[0] = args
;
24177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
24178 if (!SWIG_IsOK(res1
)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
24181 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24195 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24196 PyObject
*resultobj
= 0;
24197 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
24201 PyObject
*swig_obj
[1] ;
24203 if (!args
) SWIG_fail
;
24204 swig_obj
[0] = args
;
24205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
24206 if (!SWIG_IsOK(res1
)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
24209 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
24223 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
= 0;
24225 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 char * kwnames
[] = {
24233 (char *) "self",(char *) "rect", NULL
24236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
24238 if (!SWIG_IsOK(res1
)) {
24239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
24241 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
24244 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 (arg1
)->SetRect((wxRect
const &)*arg2
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= SWIG_Py_Void();
24259 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
= 0;
24261 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
24262 wxPoint
*arg2
= 0 ;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char * kwnames
[] = {
24269 (char *) "self",(char *) "pos", NULL
24272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
24274 if (!SWIG_IsOK(res1
)) {
24275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
24277 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
24280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= SWIG_Py_Void();
24295 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24298 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
24299 return SWIG_Py_Void();
24302 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24303 return SWIG_Python_InitShadowInstance(args
);
24306 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 int arg1
= (int) 0 ;
24309 wxPaintEvent
*result
= 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char * kwnames
[] = {
24314 (char *) "Id", NULL
24317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
24319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24320 if (!SWIG_IsOK(ecode1
)) {
24321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
24323 arg1
= static_cast< int >(val1
);
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
24338 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
24342 return SWIG_Py_Void();
24345 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24346 return SWIG_Python_InitShadowInstance(args
);
24349 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
= 0;
24351 int arg1
= (int) 0 ;
24352 wxNcPaintEvent
*result
= 0 ;
24355 PyObject
* obj0
= 0 ;
24356 char * kwnames
[] = {
24357 (char *) "winid", NULL
24360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
24362 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24363 if (!SWIG_IsOK(ecode1
)) {
24364 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
24366 arg1
= static_cast< int >(val1
);
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
24381 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24384 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
24385 return SWIG_Py_Void();
24388 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24389 return SWIG_Python_InitShadowInstance(args
);
24392 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= 0;
24394 int arg1
= (int) 0 ;
24395 wxDC
*arg2
= (wxDC
*) NULL
;
24396 wxEraseEvent
*result
= 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char * kwnames
[] = {
24404 (char *) "Id",(char *) "dc", NULL
24407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24409 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24410 if (!SWIG_IsOK(ecode1
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
24413 arg1
= static_cast< int >(val1
);
24416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
24417 if (!SWIG_IsOK(res2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
24420 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
24435 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24436 PyObject
*resultobj
= 0;
24437 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
24441 PyObject
*swig_obj
[1] ;
24443 if (!args
) SWIG_fail
;
24444 swig_obj
[0] = args
;
24445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
24446 if (!SWIG_IsOK(res1
)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
24449 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24465 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24468 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
24469 return SWIG_Py_Void();
24472 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24473 return SWIG_Python_InitShadowInstance(args
);
24476 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
= 0;
24478 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24479 int arg2
= (int) 0 ;
24480 wxFocusEvent
*result
= 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 char * kwnames
[] = {
24488 (char *) "type",(char *) "winid", NULL
24491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24494 if (!SWIG_IsOK(ecode1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24497 arg1
= static_cast< wxEventType
>(val1
);
24500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24501 if (!SWIG_IsOK(ecode2
)) {
24502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
24504 arg2
= static_cast< int >(val2
);
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
24519 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24520 PyObject
*resultobj
= 0;
24521 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
24522 wxWindow
*result
= 0 ;
24525 PyObject
*swig_obj
[1] ;
24527 if (!args
) SWIG_fail
;
24528 swig_obj
[0] = args
;
24529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
24530 if (!SWIG_IsOK(res1
)) {
24531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
24533 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24549 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
= 0;
24551 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
24552 wxWindow
*arg2
= (wxWindow
*) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 char * kwnames
[] = {
24560 (char *) "self",(char *) "win", NULL
24563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
24565 if (!SWIG_IsOK(res1
)) {
24566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
24568 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
24569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24570 if (!SWIG_IsOK(res2
)) {
24571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
24573 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 (arg1
)->SetWindow(arg2
);
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_Py_Void();
24587 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24590 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
24591 return SWIG_Py_Void();
24594 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24595 return SWIG_Python_InitShadowInstance(args
);
24598 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
= 0;
24600 wxWindow
*arg1
= (wxWindow
*) NULL
;
24601 wxChildFocusEvent
*result
= 0 ;
24604 PyObject
* obj0
= 0 ;
24605 char * kwnames
[] = {
24606 (char *) "win", NULL
24609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
24611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24612 if (!SWIG_IsOK(res1
)) {
24613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
24615 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
24630 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24631 PyObject
*resultobj
= 0;
24632 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
24633 wxWindow
*result
= 0 ;
24636 PyObject
*swig_obj
[1] ;
24638 if (!args
) SWIG_fail
;
24639 swig_obj
[0] = args
;
24640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
24641 if (!SWIG_IsOK(res1
)) {
24642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
24644 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24660 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24663 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
24664 return SWIG_Py_Void();
24667 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24668 return SWIG_Python_InitShadowInstance(args
);
24671 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
= 0;
24673 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24674 bool arg2
= (bool) true ;
24675 int arg3
= (int) 0 ;
24676 wxActivateEvent
*result
= 0 ;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 PyObject
* obj2
= 0 ;
24686 char * kwnames
[] = {
24687 (char *) "type",(char *) "active",(char *) "Id", NULL
24690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24692 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24693 if (!SWIG_IsOK(ecode1
)) {
24694 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24696 arg1
= static_cast< wxEventType
>(val1
);
24699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24700 if (!SWIG_IsOK(ecode2
)) {
24701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
24703 arg2
= static_cast< bool >(val2
);
24706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24707 if (!SWIG_IsOK(ecode3
)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
24710 arg3
= static_cast< int >(val3
);
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
24725 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24726 PyObject
*resultobj
= 0;
24727 wxActivateEvent
*arg1
= (wxActivateEvent
*) 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_wxActivateEvent
, 0 | 0 );
24736 if (!SWIG_IsOK(res1
)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
24739 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24755 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24758 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
24759 return SWIG_Py_Void();
24762 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24763 return SWIG_Python_InitShadowInstance(args
);
24766 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
= 0;
24768 int arg1
= (int) 0 ;
24769 wxInitDialogEvent
*result
= 0 ;
24772 PyObject
* obj0
= 0 ;
24773 char * kwnames
[] = {
24774 (char *) "Id", NULL
24777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
24779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24780 if (!SWIG_IsOK(ecode1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
24783 arg1
= static_cast< int >(val1
);
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
24798 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24801 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
24802 return SWIG_Py_Void();
24805 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24806 return SWIG_Python_InitShadowInstance(args
);
24809 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
= 0;
24811 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24812 int arg2
= (int) 0 ;
24813 wxMenu
*arg3
= (wxMenu
*) NULL
;
24814 wxMenuEvent
*result
= 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 PyObject
* obj2
= 0 ;
24824 char * kwnames
[] = {
24825 (char *) "type",(char *) "winid",(char *) "menu", NULL
24828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24830 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24831 if (!SWIG_IsOK(ecode1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24834 arg1
= static_cast< wxEventType
>(val1
);
24837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24838 if (!SWIG_IsOK(ecode2
)) {
24839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
24841 arg2
= static_cast< int >(val2
);
24844 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
24845 if (!SWIG_IsOK(res3
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
24848 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
24863 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24864 PyObject
*resultobj
= 0;
24865 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24869 PyObject
*swig_obj
[1] ;
24871 if (!args
) SWIG_fail
;
24872 swig_obj
[0] = args
;
24873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24874 if (!SWIG_IsOK(res1
)) {
24875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24877 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_From_int(static_cast< int >(result
));
24891 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24892 PyObject
*resultobj
= 0;
24893 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24897 PyObject
*swig_obj
[1] ;
24899 if (!args
) SWIG_fail
;
24900 swig_obj
[0] = args
;
24901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24902 if (!SWIG_IsOK(res1
)) {
24903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24905 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24921 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24922 PyObject
*resultobj
= 0;
24923 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24924 wxMenu
*result
= 0 ;
24927 PyObject
*swig_obj
[1] ;
24929 if (!args
) SWIG_fail
;
24930 swig_obj
[0] = args
;
24931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24935 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24951 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24954 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
24955 return SWIG_Py_Void();
24958 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24959 return SWIG_Python_InitShadowInstance(args
);
24962 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
= 0;
24964 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24965 int arg2
= (int) 0 ;
24966 wxCloseEvent
*result
= 0 ;
24971 PyObject
* obj0
= 0 ;
24972 PyObject
* obj1
= 0 ;
24973 char * kwnames
[] = {
24974 (char *) "type",(char *) "winid", NULL
24977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24980 if (!SWIG_IsOK(ecode1
)) {
24981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24983 arg1
= static_cast< wxEventType
>(val1
);
24986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24987 if (!SWIG_IsOK(ecode2
)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
24990 arg2
= static_cast< int >(val2
);
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
25005 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
= 0;
25007 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 char * kwnames
[] = {
25016 (char *) "self",(char *) "logOff", NULL
25019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25021 if (!SWIG_IsOK(res1
)) {
25022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
25024 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25025 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25026 if (!SWIG_IsOK(ecode2
)) {
25027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
25029 arg2
= static_cast< bool >(val2
);
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->SetLoggingOff(arg2
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= SWIG_Py_Void();
25043 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25044 PyObject
*resultobj
= 0;
25045 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25049 PyObject
*swig_obj
[1] ;
25051 if (!args
) SWIG_fail
;
25052 swig_obj
[0] = args
;
25053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25054 if (!SWIG_IsOK(res1
)) {
25055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
25057 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25073 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
= 0;
25075 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25076 bool arg2
= (bool) true ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 char * kwnames
[] = {
25084 (char *) "self",(char *) "veto", NULL
25087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25089 if (!SWIG_IsOK(res1
)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
25092 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25094 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25095 if (!SWIG_IsOK(ecode2
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
25098 arg2
= static_cast< bool >(val2
);
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->Veto(arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_Py_Void();
25113 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25114 PyObject
*resultobj
= 0;
25115 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25119 PyObject
*swig_obj
[1] ;
25121 if (!args
) SWIG_fail
;
25122 swig_obj
[0] = args
;
25123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25124 if (!SWIG_IsOK(res1
)) {
25125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
25127 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25143 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
= 0;
25145 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25151 PyObject
* obj0
= 0 ;
25152 PyObject
* obj1
= 0 ;
25153 char * kwnames
[] = {
25154 (char *) "self",(char *) "canVeto", NULL
25157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25159 if (!SWIG_IsOK(res1
)) {
25160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
25162 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25163 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25164 if (!SWIG_IsOK(ecode2
)) {
25165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
25167 arg2
= static_cast< bool >(val2
);
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 (arg1
)->SetCanVeto(arg2
);
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= SWIG_Py_Void();
25181 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25182 PyObject
*resultobj
= 0;
25183 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
25187 PyObject
*swig_obj
[1] ;
25189 if (!args
) SWIG_fail
;
25190 swig_obj
[0] = args
;
25191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
25192 if (!SWIG_IsOK(res1
)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
25195 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25211 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25214 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
25215 return SWIG_Py_Void();
25218 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25219 return SWIG_Python_InitShadowInstance(args
);
25222 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25223 PyObject
*resultobj
= 0;
25224 int arg1
= (int) 0 ;
25225 bool arg2
= (bool) false ;
25226 wxShowEvent
*result
= 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char * kwnames
[] = {
25234 (char *) "winid",(char *) "show", NULL
25237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25240 if (!SWIG_IsOK(ecode1
)) {
25241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
25243 arg1
= static_cast< int >(val1
);
25246 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25247 if (!SWIG_IsOK(ecode2
)) {
25248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
25250 arg2
= static_cast< bool >(val2
);
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
25265 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
= 0;
25267 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char * kwnames
[] = {
25276 (char *) "self",(char *) "show", NULL
25279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
25284 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
25285 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25286 if (!SWIG_IsOK(ecode2
)) {
25287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
25289 arg2
= static_cast< bool >(val2
);
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 (arg1
)->SetShow(arg2
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_Py_Void();
25303 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25304 PyObject
*resultobj
= 0;
25305 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
25309 PyObject
*swig_obj
[1] ;
25311 if (!args
) SWIG_fail
;
25312 swig_obj
[0] = args
;
25313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
25314 if (!SWIG_IsOK(res1
)) {
25315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
25317 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25333 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25336 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
25337 return SWIG_Py_Void();
25340 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25341 return SWIG_Python_InitShadowInstance(args
);
25344 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
= 0;
25346 int arg1
= (int) 0 ;
25347 bool arg2
= (bool) true ;
25348 wxIconizeEvent
*result
= 0 ;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 char * kwnames
[] = {
25356 (char *) "id",(char *) "iconized", NULL
25359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25361 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25362 if (!SWIG_IsOK(ecode1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
25365 arg1
= static_cast< int >(val1
);
25368 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25369 if (!SWIG_IsOK(ecode2
)) {
25370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
25372 arg2
= static_cast< bool >(val2
);
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
25387 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25388 PyObject
*resultobj
= 0;
25389 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
25393 PyObject
*swig_obj
[1] ;
25395 if (!args
) SWIG_fail
;
25396 swig_obj
[0] = args
;
25397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
25398 if (!SWIG_IsOK(res1
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
25401 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (bool)(arg1
)->Iconized();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25417 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25420 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
25421 return SWIG_Py_Void();
25424 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25425 return SWIG_Python_InitShadowInstance(args
);
25428 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
= 0;
25430 int arg1
= (int) 0 ;
25431 wxMaximizeEvent
*result
= 0 ;
25434 PyObject
* obj0
= 0 ;
25435 char * kwnames
[] = {
25436 (char *) "id", NULL
25439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
25441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25442 if (!SWIG_IsOK(ecode1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
25445 arg1
= static_cast< int >(val1
);
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
25460 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25463 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
25464 return SWIG_Py_Void();
25467 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25468 return SWIG_Python_InitShadowInstance(args
);
25471 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25472 PyObject
*resultobj
= 0;
25473 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
25477 PyObject
*swig_obj
[1] ;
25479 if (!args
) SWIG_fail
;
25480 swig_obj
[0] = args
;
25481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
25485 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (arg1
)->GetPosition();
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25499 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 PyObject
*resultobj
= 0;
25501 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
25505 PyObject
*swig_obj
[1] ;
25507 if (!args
) SWIG_fail
;
25508 swig_obj
[0] = args
;
25509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
25510 if (!SWIG_IsOK(res1
)) {
25511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
25513 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 result
= (int)(arg1
)->GetNumberOfFiles();
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_From_int(static_cast< int >(result
));
25527 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25528 PyObject
*resultobj
= 0;
25529 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
25530 PyObject
*result
= 0 ;
25533 PyObject
*swig_obj
[1] ;
25535 if (!args
) SWIG_fail
;
25536 swig_obj
[0] = args
;
25537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
25538 if (!SWIG_IsOK(res1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
25541 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= result
;
25555 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25558 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
25559 return SWIG_Py_Void();
25562 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
= 0;
25564 int arg1
= (int) 0 ;
25565 wxUpdateUIEvent
*result
= 0 ;
25568 PyObject
* obj0
= 0 ;
25569 char * kwnames
[] = {
25570 (char *) "commandId", NULL
25573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
25575 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25576 if (!SWIG_IsOK(ecode1
)) {
25577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
25579 arg1
= static_cast< int >(val1
);
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
25594 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25595 PyObject
*resultobj
= 0;
25596 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25600 PyObject
*swig_obj
[1] ;
25602 if (!args
) SWIG_fail
;
25603 swig_obj
[0] = args
;
25604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25608 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25624 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25625 PyObject
*resultobj
= 0;
25626 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25630 PyObject
*swig_obj
[1] ;
25632 if (!args
) SWIG_fail
;
25633 swig_obj
[0] = args
;
25634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25635 if (!SWIG_IsOK(res1
)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25638 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25654 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25655 PyObject
*resultobj
= 0;
25656 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25660 PyObject
*swig_obj
[1] ;
25662 if (!args
) SWIG_fail
;
25663 swig_obj
[0] = args
;
25664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25665 if (!SWIG_IsOK(res1
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25668 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25684 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25685 PyObject
*resultobj
= 0;
25686 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25690 PyObject
*swig_obj
[1] ;
25692 if (!args
) SWIG_fail
;
25693 swig_obj
[0] = args
;
25694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25695 if (!SWIG_IsOK(res1
)) {
25696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25698 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25718 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25719 PyObject
*resultobj
= 0;
25720 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25724 PyObject
*swig_obj
[1] ;
25726 if (!args
) SWIG_fail
;
25727 swig_obj
[0] = args
;
25728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25729 if (!SWIG_IsOK(res1
)) {
25730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25732 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25748 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25749 PyObject
*resultobj
= 0;
25750 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25754 PyObject
*swig_obj
[1] ;
25756 if (!args
) SWIG_fail
;
25757 swig_obj
[0] = args
;
25758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25762 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25778 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25779 PyObject
*resultobj
= 0;
25780 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25784 PyObject
*swig_obj
[1] ;
25786 if (!args
) SWIG_fail
;
25787 swig_obj
[0] = args
;
25788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25789 if (!SWIG_IsOK(res1
)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25792 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25808 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25809 PyObject
*resultobj
= 0;
25810 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25814 PyObject
*swig_obj
[1] ;
25816 if (!args
) SWIG_fail
;
25817 swig_obj
[0] = args
;
25818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25819 if (!SWIG_IsOK(res1
)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
25822 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25838 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
= 0;
25840 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 char * kwnames
[] = {
25849 (char *) "self",(char *) "check", NULL
25852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25854 if (!SWIG_IsOK(res1
)) {
25855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25857 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25858 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25859 if (!SWIG_IsOK(ecode2
)) {
25860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
25862 arg2
= static_cast< bool >(val2
);
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 (arg1
)->Check(arg2
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_Py_Void();
25876 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
= 0;
25878 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 char * kwnames
[] = {
25887 (char *) "self",(char *) "enable", NULL
25890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25892 if (!SWIG_IsOK(res1
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25895 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25896 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25897 if (!SWIG_IsOK(ecode2
)) {
25898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
25900 arg2
= static_cast< bool >(val2
);
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 (arg1
)->Enable(arg2
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_Py_Void();
25914 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
= 0;
25916 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 char * kwnames
[] = {
25925 (char *) "self",(char *) "show", NULL
25928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25930 if (!SWIG_IsOK(res1
)) {
25931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25933 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25935 if (!SWIG_IsOK(ecode2
)) {
25936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
25938 arg2
= static_cast< bool >(val2
);
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->Show(arg2
);
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_Py_Void();
25952 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
= 0;
25954 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25955 wxString
*arg2
= 0 ;
25958 bool temp2
= false ;
25959 PyObject
* obj0
= 0 ;
25960 PyObject
* obj1
= 0 ;
25961 char * kwnames
[] = {
25962 (char *) "self",(char *) "text", NULL
25965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25967 if (!SWIG_IsOK(res1
)) {
25968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25970 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25972 arg2
= wxString_in_helper(obj1
);
25973 if (arg2
== NULL
) SWIG_fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 (arg1
)->SetText((wxString
const &)*arg2
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_Py_Void();
25997 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25998 PyObject
*resultobj
= 0;
26002 PyObject
* obj0
= 0 ;
26003 char * kwnames
[] = {
26004 (char *) "updateInterval", NULL
26007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
26008 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
26009 if (!SWIG_IsOK(ecode1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
26012 arg1
= static_cast< long >(val1
);
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 wxUpdateUIEvent::SetUpdateInterval(arg1
);
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= SWIG_Py_Void();
26026 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26027 PyObject
*resultobj
= 0;
26030 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_From_long(static_cast< long >(result
));
26044 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
= 0;
26046 wxWindow
*arg1
= (wxWindow
*) 0 ;
26050 PyObject
* obj0
= 0 ;
26051 char * kwnames
[] = {
26052 (char *) "win", NULL
26055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
26056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26057 if (!SWIG_IsOK(res1
)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
26060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26076 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26077 PyObject
*resultobj
= 0;
26079 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 wxUpdateUIEvent::ResetUpdateTime();
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 resultobj
= SWIG_Py_Void();
26093 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
= 0;
26095 wxUpdateUIMode arg1
;
26098 PyObject
* obj0
= 0 ;
26099 char * kwnames
[] = {
26100 (char *) "mode", NULL
26103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
26104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26105 if (!SWIG_IsOK(ecode1
)) {
26106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
26108 arg1
= static_cast< wxUpdateUIMode
>(val1
);
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 wxUpdateUIEvent::SetMode(arg1
);
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_Py_Void();
26122 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26123 PyObject
*resultobj
= 0;
26124 wxUpdateUIMode result
;
26126 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 resultobj
= SWIG_From_int(static_cast< int >(result
));
26140 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26143 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
26144 return SWIG_Py_Void();
26147 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26148 return SWIG_Python_InitShadowInstance(args
);
26151 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26152 PyObject
*resultobj
= 0;
26153 wxSysColourChangedEvent
*result
= 0 ;
26155 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
26169 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26172 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
26173 return SWIG_Py_Void();
26176 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26177 return SWIG_Python_InitShadowInstance(args
);
26180 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
= 0;
26182 int arg1
= (int) 0 ;
26183 wxWindow
*arg2
= (wxWindow
*) NULL
;
26184 wxMouseCaptureChangedEvent
*result
= 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char * kwnames
[] = {
26192 (char *) "winid",(char *) "gainedCapture", NULL
26195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26197 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26198 if (!SWIG_IsOK(ecode1
)) {
26199 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
26201 arg1
= static_cast< int >(val1
);
26204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26205 if (!SWIG_IsOK(res2
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
26208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
26223 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26224 PyObject
*resultobj
= 0;
26225 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
26226 wxWindow
*result
= 0 ;
26229 PyObject
*swig_obj
[1] ;
26231 if (!args
) SWIG_fail
;
26232 swig_obj
[0] = args
;
26233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
26237 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26245 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26253 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26256 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
26257 return SWIG_Py_Void();
26260 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26261 return SWIG_Python_InitShadowInstance(args
);
26264 SWIGINTERN PyObject
*_wrap_new_MouseCaptureLostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
= 0;
26266 int arg1
= (int) 0 ;
26267 wxMouseCaptureLostEvent
*result
= 0 ;
26270 PyObject
* obj0
= 0 ;
26271 char * kwnames
[] = {
26272 (char *) "winid", NULL
26275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseCaptureLostEvent",kwnames
,&obj0
)) SWIG_fail
;
26277 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26278 if (!SWIG_IsOK(ecode1
)) {
26279 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureLostEvent" "', expected argument " "1"" of type '" "int""'");
26281 arg1
= static_cast< int >(val1
);
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= (wxMouseCaptureLostEvent
*)new wxMouseCaptureLostEvent(arg1
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_POINTER_NEW
| 0 );
26296 SWIGINTERN PyObject
*MouseCaptureLostEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26299 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureLostEvent
, SWIG_NewClientData(obj
));
26300 return SWIG_Py_Void();
26303 SWIGINTERN PyObject
*MouseCaptureLostEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26304 return SWIG_Python_InitShadowInstance(args
);
26307 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26308 PyObject
*resultobj
= 0;
26309 wxDisplayChangedEvent
*result
= 0 ;
26311 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
26325 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26328 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
26329 return SWIG_Py_Void();
26332 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26333 return SWIG_Python_InitShadowInstance(args
);
26336 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 int arg1
= (int) 0 ;
26339 wxPaletteChangedEvent
*result
= 0 ;
26342 PyObject
* obj0
= 0 ;
26343 char * kwnames
[] = {
26344 (char *) "id", NULL
26347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
26349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26350 if (!SWIG_IsOK(ecode1
)) {
26351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
26353 arg1
= static_cast< int >(val1
);
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
26368 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
= 0;
26370 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
26371 wxWindow
*arg2
= (wxWindow
*) 0 ;
26376 PyObject
* obj0
= 0 ;
26377 PyObject
* obj1
= 0 ;
26378 char * kwnames
[] = {
26379 (char *) "self",(char *) "win", NULL
26382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
26384 if (!SWIG_IsOK(res1
)) {
26385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
26387 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
26388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26389 if (!SWIG_IsOK(res2
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26392 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->SetChangedWindow(arg2
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= SWIG_Py_Void();
26406 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26407 PyObject
*resultobj
= 0;
26408 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
26409 wxWindow
*result
= 0 ;
26412 PyObject
*swig_obj
[1] ;
26414 if (!args
) SWIG_fail
;
26415 swig_obj
[0] = args
;
26416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
26417 if (!SWIG_IsOK(res1
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
26420 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26436 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26439 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
26440 return SWIG_Py_Void();
26443 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26444 return SWIG_Python_InitShadowInstance(args
);
26447 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26448 PyObject
*resultobj
= 0;
26449 int arg1
= (int) 0 ;
26450 wxQueryNewPaletteEvent
*result
= 0 ;
26453 PyObject
* obj0
= 0 ;
26454 char * kwnames
[] = {
26455 (char *) "winid", NULL
26458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
26460 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26461 if (!SWIG_IsOK(ecode1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
26464 arg1
= static_cast< int >(val1
);
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
26479 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
= 0;
26481 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
26487 PyObject
* obj0
= 0 ;
26488 PyObject
* obj1
= 0 ;
26489 char * kwnames
[] = {
26490 (char *) "self",(char *) "realized", NULL
26493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
26495 if (!SWIG_IsOK(res1
)) {
26496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
26498 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
26499 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26500 if (!SWIG_IsOK(ecode2
)) {
26501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
26503 arg2
= static_cast< bool >(val2
);
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 (arg1
)->SetPaletteRealized(arg2
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_Py_Void();
26517 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26518 PyObject
*resultobj
= 0;
26519 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
26523 PyObject
*swig_obj
[1] ;
26525 if (!args
) SWIG_fail
;
26526 swig_obj
[0] = args
;
26527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
26528 if (!SWIG_IsOK(res1
)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
26531 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26547 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26550 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
26551 return SWIG_Py_Void();
26554 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26555 return SWIG_Python_InitShadowInstance(args
);
26558 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26559 PyObject
*resultobj
= 0;
26560 wxNavigationKeyEvent
*result
= 0 ;
26562 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
26576 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26577 PyObject
*resultobj
= 0;
26578 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26582 PyObject
*swig_obj
[1] ;
26584 if (!args
) SWIG_fail
;
26585 swig_obj
[0] = args
;
26586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26587 if (!SWIG_IsOK(res1
)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
26590 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26606 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
= 0;
26608 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char * kwnames
[] = {
26617 (char *) "self",(char *) "forward", NULL
26620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26622 if (!SWIG_IsOK(res1
)) {
26623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26625 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26627 if (!SWIG_IsOK(ecode2
)) {
26628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
26630 arg2
= static_cast< bool >(val2
);
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 (arg1
)->SetDirection(arg2
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_Py_Void();
26644 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26645 PyObject
*resultobj
= 0;
26646 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26650 PyObject
*swig_obj
[1] ;
26652 if (!args
) SWIG_fail
;
26653 swig_obj
[0] = args
;
26654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
26658 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26674 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
= 0;
26676 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "ischange", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26693 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26694 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26695 if (!SWIG_IsOK(ecode2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
26698 arg2
= static_cast< bool >(val2
);
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 (arg1
)->SetWindowChange(arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26713 PyObject
*resultobj
= 0;
26714 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26718 PyObject
*swig_obj
[1] ;
26720 if (!args
) SWIG_fail
;
26721 swig_obj
[0] = args
;
26722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26723 if (!SWIG_IsOK(res1
)) {
26724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
26726 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
26730 wxPyEndAllowThreads(__tstate
);
26731 if (PyErr_Occurred()) SWIG_fail
;
26734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26742 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
= 0;
26744 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 char * kwnames
[] = {
26753 (char *) "self",(char *) "bIs", NULL
26756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26758 if (!SWIG_IsOK(res1
)) {
26759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26761 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26762 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26763 if (!SWIG_IsOK(ecode2
)) {
26764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
26766 arg2
= static_cast< bool >(val2
);
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 (arg1
)->SetFromTab(arg2
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= SWIG_Py_Void();
26780 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
= 0;
26782 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 char * kwnames
[] = {
26791 (char *) "self",(char *) "flags", NULL
26794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26799 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26800 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26801 if (!SWIG_IsOK(ecode2
)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
26804 arg2
= static_cast< long >(val2
);
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 (arg1
)->SetFlags(arg2
);
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= SWIG_Py_Void();
26818 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26819 PyObject
*resultobj
= 0;
26820 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26821 wxWindow
*result
= 0 ;
26824 PyObject
*swig_obj
[1] ;
26826 if (!args
) SWIG_fail
;
26827 swig_obj
[0] = args
;
26828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
26832 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26848 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
= 0;
26850 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
26851 wxWindow
*arg2
= (wxWindow
*) 0 ;
26856 PyObject
* obj0
= 0 ;
26857 PyObject
* obj1
= 0 ;
26858 char * kwnames
[] = {
26859 (char *) "self",(char *) "win", NULL
26862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
26864 if (!SWIG_IsOK(res1
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
26867 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
26868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26869 if (!SWIG_IsOK(res2
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
26872 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 (arg1
)->SetCurrentFocus(arg2
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= SWIG_Py_Void();
26886 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26889 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
26890 return SWIG_Py_Void();
26893 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26894 return SWIG_Python_InitShadowInstance(args
);
26897 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
= 0;
26899 wxWindow
*arg1
= (wxWindow
*) NULL
;
26900 wxWindowCreateEvent
*result
= 0 ;
26903 PyObject
* obj0
= 0 ;
26904 char * kwnames
[] = {
26905 (char *) "win", NULL
26908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
26910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26911 if (!SWIG_IsOK(res1
)) {
26912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26914 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
26929 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26930 PyObject
*resultobj
= 0;
26931 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
26932 wxWindow
*result
= 0 ;
26935 PyObject
*swig_obj
[1] ;
26937 if (!args
) SWIG_fail
;
26938 swig_obj
[0] = args
;
26939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
26940 if (!SWIG_IsOK(res1
)) {
26941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
26943 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26959 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26962 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
26963 return SWIG_Py_Void();
26966 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 return SWIG_Python_InitShadowInstance(args
);
26970 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
= 0;
26972 wxWindow
*arg1
= (wxWindow
*) NULL
;
26973 wxWindowDestroyEvent
*result
= 0 ;
26976 PyObject
* obj0
= 0 ;
26977 char * kwnames
[] = {
26978 (char *) "win", NULL
26981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
26983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26984 if (!SWIG_IsOK(res1
)) {
26985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26987 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
27002 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27003 PyObject
*resultobj
= 0;
27004 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
27005 wxWindow
*result
= 0 ;
27008 PyObject
*swig_obj
[1] ;
27010 if (!args
) SWIG_fail
;
27011 swig_obj
[0] = args
;
27012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
27013 if (!SWIG_IsOK(res1
)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
27016 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
27020 wxPyEndAllowThreads(__tstate
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27032 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27035 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
27036 return SWIG_Py_Void();
27039 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27040 return SWIG_Python_InitShadowInstance(args
);
27043 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
= 0;
27045 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27046 int arg2
= (int) 0 ;
27047 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27048 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27049 wxContextMenuEvent
*result
= 0 ;
27055 PyObject
* obj0
= 0 ;
27056 PyObject
* obj1
= 0 ;
27057 PyObject
* obj2
= 0 ;
27058 char * kwnames
[] = {
27059 (char *) "type",(char *) "winid",(char *) "pt", NULL
27062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27065 if (!SWIG_IsOK(ecode1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27068 arg1
= static_cast< wxEventType
>(val1
);
27071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27072 if (!SWIG_IsOK(ecode2
)) {
27073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
27075 arg2
= static_cast< int >(val2
);
27080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
27096 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27097 PyObject
*resultobj
= 0;
27098 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
27099 wxPoint
*result
= 0 ;
27102 PyObject
*swig_obj
[1] ;
27104 if (!args
) SWIG_fail
;
27105 swig_obj
[0] = args
;
27106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
27110 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
27112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
27115 result
= (wxPoint
*) &_result_ref
;
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27127 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
= 0;
27129 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
27130 wxPoint
*arg2
= 0 ;
27134 PyObject
* obj0
= 0 ;
27135 PyObject
* obj1
= 0 ;
27136 char * kwnames
[] = {
27137 (char *) "self",(char *) "pos", NULL
27140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
27142 if (!SWIG_IsOK(res1
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
27145 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
27148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 resultobj
= SWIG_Py_Void();
27163 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27166 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
27167 return SWIG_Py_Void();
27170 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27171 return SWIG_Python_InitShadowInstance(args
);
27174 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27175 PyObject
*resultobj
= 0;
27176 wxIdleEvent
*result
= 0 ;
27178 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (wxIdleEvent
*)new wxIdleEvent();
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
27192 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
= 0;
27194 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
27195 bool arg2
= (bool) true ;
27200 PyObject
* obj0
= 0 ;
27201 PyObject
* obj1
= 0 ;
27202 char * kwnames
[] = {
27203 (char *) "self",(char *) "needMore", NULL
27206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
27208 if (!SWIG_IsOK(res1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
27211 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
27213 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27214 if (!SWIG_IsOK(ecode2
)) {
27215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
27217 arg2
= static_cast< bool >(val2
);
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 (arg1
)->RequestMore(arg2
);
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 resultobj
= SWIG_Py_Void();
27232 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 PyObject
*resultobj
= 0;
27234 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
27238 PyObject
*swig_obj
[1] ;
27240 if (!args
) SWIG_fail
;
27241 swig_obj
[0] = args
;
27242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
27243 if (!SWIG_IsOK(res1
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
27246 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27262 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
= 0;
27267 PyObject
* obj0
= 0 ;
27268 char * kwnames
[] = {
27269 (char *) "mode", NULL
27272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
27273 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27274 if (!SWIG_IsOK(ecode1
)) {
27275 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
27277 arg1
= static_cast< wxIdleMode
>(val1
);
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 wxIdleEvent::SetMode(arg1
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= SWIG_Py_Void();
27291 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27292 PyObject
*resultobj
= 0;
27295 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= (wxIdleMode
)wxIdleEvent::GetMode();
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= SWIG_From_int(static_cast< int >(result
));
27309 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
= 0;
27311 wxWindow
*arg1
= (wxWindow
*) 0 ;
27315 PyObject
* obj0
= 0 ;
27316 char * kwnames
[] = {
27317 (char *) "win", NULL
27320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
27321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27322 if (!SWIG_IsOK(res1
)) {
27323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
27325 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 result
= (bool)wxIdleEvent::CanSend(arg1
);
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27341 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27344 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
27345 return SWIG_Py_Void();
27348 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27349 return SWIG_Python_InitShadowInstance(args
);
27352 SWIGINTERN PyObject
*_wrap_new_ClipboardTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
= 0;
27354 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27355 int arg2
= (int) 0 ;
27356 wxClipboardTextEvent
*result
= 0 ;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 char * kwnames
[] = {
27364 (char *) "type",(char *) "winid", NULL
27367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ClipboardTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27370 if (!SWIG_IsOK(ecode1
)) {
27371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ClipboardTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27373 arg1
= static_cast< wxEventType
>(val1
);
27376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27377 if (!SWIG_IsOK(ecode2
)) {
27378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ClipboardTextEvent" "', expected argument " "2"" of type '" "int""'");
27380 arg2
= static_cast< int >(val2
);
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= (wxClipboardTextEvent
*)new wxClipboardTextEvent(arg1
,arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardTextEvent
, SWIG_POINTER_NEW
| 0 );
27395 SWIGINTERN PyObject
*ClipboardTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27398 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardTextEvent
, SWIG_NewClientData(obj
));
27399 return SWIG_Py_Void();
27402 SWIGINTERN PyObject
*ClipboardTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27403 return SWIG_Python_InitShadowInstance(args
);
27406 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27407 PyObject
*resultobj
= 0;
27408 int arg1
= (int) 0 ;
27409 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
27410 wxPyEvent
*result
= 0 ;
27415 PyObject
* obj0
= 0 ;
27416 PyObject
* obj1
= 0 ;
27417 char * kwnames
[] = {
27418 (char *) "winid",(char *) "eventType", NULL
27421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27424 if (!SWIG_IsOK(ecode1
)) {
27425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
27427 arg1
= static_cast< int >(val1
);
27430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27431 if (!SWIG_IsOK(ecode2
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
27434 arg2
= static_cast< wxEventType
>(val2
);
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
27449 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27450 PyObject
*resultobj
= 0;
27451 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
27454 PyObject
*swig_obj
[1] ;
27456 if (!args
) SWIG_fail
;
27457 swig_obj
[0] = args
;
27458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
27462 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= SWIG_Py_Void();
27477 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
= 0;
27479 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
27480 PyObject
*arg2
= (PyObject
*) 0 ;
27483 PyObject
* obj0
= 0 ;
27484 PyObject
* obj1
= 0 ;
27485 char * kwnames
[] = {
27486 (char *) "self",(char *) "self", NULL
27489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
27491 if (!SWIG_IsOK(res1
)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
27494 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 (arg1
)->SetSelf(arg2
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= SWIG_Py_Void();
27509 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27510 PyObject
*resultobj
= 0;
27511 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
27512 PyObject
*result
= 0 ;
27515 PyObject
*swig_obj
[1] ;
27517 if (!args
) SWIG_fail
;
27518 swig_obj
[0] = args
;
27519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
27520 if (!SWIG_IsOK(res1
)) {
27521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
27523 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= (PyObject
*)(arg1
)->GetSelf();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= result
;
27537 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27540 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
27541 return SWIG_Py_Void();
27544 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27545 return SWIG_Python_InitShadowInstance(args
);
27548 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
= 0;
27550 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27551 int arg2
= (int) 0 ;
27552 wxPyCommandEvent
*result
= 0 ;
27557 PyObject
* obj0
= 0 ;
27558 PyObject
* obj1
= 0 ;
27559 char * kwnames
[] = {
27560 (char *) "eventType",(char *) "id", NULL
27563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27565 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27566 if (!SWIG_IsOK(ecode1
)) {
27567 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27569 arg1
= static_cast< wxEventType
>(val1
);
27572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27573 if (!SWIG_IsOK(ecode2
)) {
27574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
27576 arg2
= static_cast< int >(val2
);
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
27591 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27592 PyObject
*resultobj
= 0;
27593 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
27596 PyObject
*swig_obj
[1] ;
27598 if (!args
) SWIG_fail
;
27599 swig_obj
[0] = args
;
27600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
27601 if (!SWIG_IsOK(res1
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
27604 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= SWIG_Py_Void();
27619 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
= 0;
27621 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
27622 PyObject
*arg2
= (PyObject
*) 0 ;
27625 PyObject
* obj0
= 0 ;
27626 PyObject
* obj1
= 0 ;
27627 char * kwnames
[] = {
27628 (char *) "self",(char *) "self", NULL
27631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
27633 if (!SWIG_IsOK(res1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
27636 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 (arg1
)->SetSelf(arg2
);
27641 wxPyEndAllowThreads(__tstate
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= SWIG_Py_Void();
27651 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27652 PyObject
*resultobj
= 0;
27653 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
27654 PyObject
*result
= 0 ;
27657 PyObject
*swig_obj
[1] ;
27659 if (!args
) SWIG_fail
;
27660 swig_obj
[0] = args
;
27661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
27662 if (!SWIG_IsOK(res1
)) {
27663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
27665 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 result
= (PyObject
*)(arg1
)->GetSelf();
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= result
;
27679 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
27683 return SWIG_Py_Void();
27686 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27687 return SWIG_Python_InitShadowInstance(args
);
27690 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
= 0;
27692 wxWindow
*arg1
= (wxWindow
*) 0 ;
27693 wxDateTime
*arg2
= 0 ;
27695 wxDateEvent
*result
= 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 PyObject
* obj2
= 0 ;
27705 char * kwnames
[] = {
27706 (char *) "win",(char *) "dt",(char *) "type", NULL
27709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27711 if (!SWIG_IsOK(res1
)) {
27712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
27714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27715 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27716 if (!SWIG_IsOK(res2
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27722 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27724 if (!SWIG_IsOK(ecode3
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
27727 arg3
= static_cast< wxEventType
>(val3
);
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
27741 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27742 PyObject
*resultobj
= 0;
27743 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
27744 wxDateTime
*result
= 0 ;
27747 PyObject
*swig_obj
[1] ;
27749 if (!args
) SWIG_fail
;
27750 swig_obj
[0] = args
;
27751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
27752 if (!SWIG_IsOK(res1
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
27755 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
27760 result
= (wxDateTime
*) &_result_ref
;
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27772 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
= 0;
27774 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
27775 wxDateTime
*arg2
= 0 ;
27780 PyObject
* obj0
= 0 ;
27781 PyObject
* obj1
= 0 ;
27782 char * kwnames
[] = {
27783 (char *) "self",(char *) "date", NULL
27786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
27788 if (!SWIG_IsOK(res1
)) {
27789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
27791 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
27792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27793 if (!SWIG_IsOK(res2
)) {
27794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27799 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_Py_Void();
27813 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27816 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
27817 return SWIG_Py_Void();
27820 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27821 return SWIG_Python_InitShadowInstance(args
);
27824 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27825 PyObject
*resultobj
= 0;
27826 wxPyApp
*result
= 0 ;
27828 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (wxPyApp
*)new_wxPyApp();
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
27842 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27843 PyObject
*resultobj
= 0;
27844 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27847 PyObject
*swig_obj
[1] ;
27849 if (!args
) SWIG_fail
;
27850 swig_obj
[0] = args
;
27851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
27852 if (!SWIG_IsOK(res1
)) {
27853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
27855 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= SWIG_Py_Void();
27870 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
= 0;
27872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27873 PyObject
*arg2
= (PyObject
*) 0 ;
27874 PyObject
*arg3
= (PyObject
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 PyObject
* obj1
= 0 ;
27882 PyObject
* obj2
= 0 ;
27883 PyObject
* obj3
= 0 ;
27884 char * kwnames
[] = {
27885 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27890 if (!SWIG_IsOK(res1
)) {
27891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
27893 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27896 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27897 if (!SWIG_IsOK(ecode4
)) {
27898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
27900 arg4
= static_cast< bool >(val4
);
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27907 resultobj
= SWIG_Py_Void();
27914 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27915 PyObject
*resultobj
= 0;
27916 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27920 PyObject
*swig_obj
[1] ;
27922 if (!args
) SWIG_fail
;
27923 swig_obj
[0] = args
;
27924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27925 if (!SWIG_IsOK(res1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27928 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27931 result
= ((wxPyApp
const *)arg1
)->GetAppName();
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27948 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27949 PyObject
*resultobj
= 0;
27950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27951 wxString
*arg2
= 0 ;
27954 bool temp2
= false ;
27955 PyObject
* obj0
= 0 ;
27956 PyObject
* obj1
= 0 ;
27957 char * kwnames
[] = {
27958 (char *) "self",(char *) "name", NULL
27961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27963 if (!SWIG_IsOK(res1
)) {
27964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27966 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27968 arg2
= wxString_in_helper(obj1
);
27969 if (arg2
== NULL
) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 (arg1
)->SetAppName((wxString
const &)*arg2
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= SWIG_Py_Void();
27993 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27994 PyObject
*resultobj
= 0;
27995 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27999 PyObject
*swig_obj
[1] ;
28001 if (!args
) SWIG_fail
;
28002 swig_obj
[0] = args
;
28003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28004 if (!SWIG_IsOK(res1
)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28007 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= ((wxPyApp
const *)arg1
)->GetClassName();
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28027 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
= 0;
28029 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28030 wxString
*arg2
= 0 ;
28033 bool temp2
= false ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 char * kwnames
[] = {
28037 (char *) "self",(char *) "name", NULL
28040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28042 if (!SWIG_IsOK(res1
)) {
28043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
28045 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28047 arg2
= wxString_in_helper(obj1
);
28048 if (arg2
== NULL
) SWIG_fail
;
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 (arg1
)->SetClassName((wxString
const &)*arg2
);
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_Py_Void();
28072 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28073 PyObject
*resultobj
= 0;
28074 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28075 wxString
*result
= 0 ;
28078 PyObject
*swig_obj
[1] ;
28080 if (!args
) SWIG_fail
;
28081 swig_obj
[0] = args
;
28082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28083 if (!SWIG_IsOK(res1
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28086 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
28091 result
= (wxString
*) &_result_ref
;
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28100 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28109 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
= 0;
28111 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28112 wxString
*arg2
= 0 ;
28115 bool temp2
= false ;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 char * kwnames
[] = {
28119 (char *) "self",(char *) "name", NULL
28122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
28127 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28129 arg2
= wxString_in_helper(obj1
);
28130 if (arg2
== NULL
) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 (arg1
)->SetVendorName((wxString
const &)*arg2
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_Py_Void();
28154 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28155 PyObject
*resultobj
= 0;
28156 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28157 wxAppTraits
*result
= 0 ;
28160 PyObject
*swig_obj
[1] ;
28162 if (!args
) SWIG_fail
;
28163 swig_obj
[0] = args
;
28164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28165 if (!SWIG_IsOK(res1
)) {
28166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
28168 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 result
= (wxAppTraits
*)(arg1
)->GetTraits();
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
28182 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28183 PyObject
*resultobj
= 0;
28184 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28187 PyObject
*swig_obj
[1] ;
28189 if (!args
) SWIG_fail
;
28190 swig_obj
[0] = args
;
28191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28192 if (!SWIG_IsOK(res1
)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
28195 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 (arg1
)->ProcessPendingEvents();
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= SWIG_Py_Void();
28209 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
= 0;
28211 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28212 bool arg2
= (bool) false ;
28218 PyObject
* obj0
= 0 ;
28219 PyObject
* obj1
= 0 ;
28220 char * kwnames
[] = {
28221 (char *) "self",(char *) "onlyIfNeeded", NULL
28224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28226 if (!SWIG_IsOK(res1
)) {
28227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
28229 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28231 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28232 if (!SWIG_IsOK(ecode2
)) {
28233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
28235 arg2
= static_cast< bool >(val2
);
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= (bool)(arg1
)->Yield(arg2
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28252 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28253 PyObject
*resultobj
= 0;
28254 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28257 PyObject
*swig_obj
[1] ;
28259 if (!args
) SWIG_fail
;
28260 swig_obj
[0] = args
;
28261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28262 if (!SWIG_IsOK(res1
)) {
28263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
28265 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 (arg1
)->WakeUpIdle();
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= SWIG_Py_Void();
28279 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28280 PyObject
*resultobj
= 0;
28283 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 result
= (bool)wxPyApp::IsMainLoopRunning();
28287 wxPyEndAllowThreads(__tstate
);
28288 if (PyErr_Occurred()) SWIG_fail
;
28291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28299 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28300 PyObject
*resultobj
= 0;
28301 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28305 PyObject
*swig_obj
[1] ;
28307 if (!args
) SWIG_fail
;
28308 swig_obj
[0] = args
;
28309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28310 if (!SWIG_IsOK(res1
)) {
28311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
28313 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28316 result
= (int)(arg1
)->MainLoop();
28317 wxPyEndAllowThreads(__tstate
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28320 resultobj
= SWIG_From_int(static_cast< int >(result
));
28327 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28328 PyObject
*resultobj
= 0;
28329 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28332 PyObject
*swig_obj
[1] ;
28334 if (!args
) SWIG_fail
;
28335 swig_obj
[0] = args
;
28336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28337 if (!SWIG_IsOK(res1
)) {
28338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
28340 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= SWIG_Py_Void();
28354 SWIGINTERN PyObject
*_wrap_PyApp_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28355 PyObject
*resultobj
= 0;
28356 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28357 wxLayoutDirection result
;
28360 PyObject
*swig_obj
[1] ;
28362 if (!args
) SWIG_fail
;
28363 swig_obj
[0] = args
;
28364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetLayoutDirection" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28368 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 result
= (wxLayoutDirection
)((wxPyApp
const *)arg1
)->GetLayoutDirection();
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 resultobj
= SWIG_From_int(static_cast< int >(result
));
28382 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28383 PyObject
*resultobj
= 0;
28384 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28387 PyObject
*swig_obj
[1] ;
28389 if (!args
) SWIG_fail
;
28390 swig_obj
[0] = args
;
28391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
28395 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 (arg1
)->ExitMainLoop();
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_Py_Void();
28409 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
28423 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (bool)(arg1
)->Pending();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28439 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28440 PyObject
*resultobj
= 0;
28441 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28445 PyObject
*swig_obj
[1] ;
28447 if (!args
) SWIG_fail
;
28448 swig_obj
[0] = args
;
28449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28450 if (!SWIG_IsOK(res1
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
28453 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (bool)(arg1
)->Dispatch();
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28469 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28475 PyObject
*swig_obj
[1] ;
28477 if (!args
) SWIG_fail
;
28478 swig_obj
[0] = args
;
28479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
28483 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (bool)(arg1
)->ProcessIdle();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28499 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
= 0;
28501 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28502 wxWindow
*arg2
= (wxWindow
*) 0 ;
28503 wxIdleEvent
*arg3
= 0 ;
28511 PyObject
* obj0
= 0 ;
28512 PyObject
* obj1
= 0 ;
28513 PyObject
* obj2
= 0 ;
28514 char * kwnames
[] = {
28515 (char *) "self",(char *) "win",(char *) "event", NULL
28518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
28523 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28525 if (!SWIG_IsOK(res2
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
28528 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28529 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
28530 if (!SWIG_IsOK(res3
)) {
28531 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
28534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
28536 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28552 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28553 PyObject
*resultobj
= 0;
28554 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28558 PyObject
*swig_obj
[1] ;
28560 if (!args
) SWIG_fail
;
28561 swig_obj
[0] = args
;
28562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28563 if (!SWIG_IsOK(res1
)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28566 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28569 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28582 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
= 0;
28584 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28585 wxWindow
*arg2
= (wxWindow
*) 0 ;
28590 PyObject
* obj0
= 0 ;
28591 PyObject
* obj1
= 0 ;
28592 char * kwnames
[] = {
28593 (char *) "self",(char *) "win", NULL
28596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
28601 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28602 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28603 if (!SWIG_IsOK(res2
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
28606 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 (arg1
)->SetTopWindow(arg2
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= SWIG_Py_Void();
28620 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28621 PyObject
*resultobj
= 0;
28622 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28623 wxWindow
*result
= 0 ;
28626 PyObject
*swig_obj
[1] ;
28628 if (!args
) SWIG_fail
;
28629 swig_obj
[0] = args
;
28630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28631 if (!SWIG_IsOK(res1
)) {
28632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28634 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28650 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
= 0;
28652 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 PyObject
* obj1
= 0 ;
28660 char * kwnames
[] = {
28661 (char *) "self",(char *) "flag", NULL
28664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28666 if (!SWIG_IsOK(res1
)) {
28667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
28669 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28670 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28671 if (!SWIG_IsOK(ecode2
)) {
28672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
28674 arg2
= static_cast< bool >(val2
);
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 (arg1
)->SetExitOnFrameDelete(arg2
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_Py_Void();
28688 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28689 PyObject
*resultobj
= 0;
28690 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28694 PyObject
*swig_obj
[1] ;
28696 if (!args
) SWIG_fail
;
28697 swig_obj
[0] = args
;
28698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28699 if (!SWIG_IsOK(res1
)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28702 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28718 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28720 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28726 PyObject
* obj0
= 0 ;
28727 PyObject
* obj1
= 0 ;
28728 char * kwnames
[] = {
28729 (char *) "self",(char *) "flag", NULL
28732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28734 if (!SWIG_IsOK(res1
)) {
28735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
28737 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28738 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28739 if (!SWIG_IsOK(ecode2
)) {
28740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
28742 arg2
= static_cast< bool >(val2
);
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 (arg1
)->SetUseBestVisual(arg2
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28749 resultobj
= SWIG_Py_Void();
28756 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28757 PyObject
*resultobj
= 0;
28758 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28762 PyObject
*swig_obj
[1] ;
28764 if (!args
) SWIG_fail
;
28765 swig_obj
[0] = args
;
28766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28767 if (!SWIG_IsOK(res1
)) {
28768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28770 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
28774 wxPyEndAllowThreads(__tstate
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28786 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
= 0;
28788 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28794 PyObject
* obj0
= 0 ;
28795 PyObject
* obj1
= 0 ;
28796 char * kwnames
[] = {
28797 (char *) "self",(char *) "mode", NULL
28800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28802 if (!SWIG_IsOK(res1
)) {
28803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
28805 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28807 if (!SWIG_IsOK(ecode2
)) {
28808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
28810 arg2
= static_cast< int >(val2
);
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->SetPrintMode(arg2
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_Py_Void();
28824 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28825 PyObject
*resultobj
= 0;
28826 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28830 PyObject
*swig_obj
[1] ;
28832 if (!args
) SWIG_fail
;
28833 swig_obj
[0] = args
;
28834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28835 if (!SWIG_IsOK(res1
)) {
28836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
28838 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= SWIG_From_int(static_cast< int >(result
));
28852 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
= 0;
28854 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 char * kwnames
[] = {
28863 (char *) "self",(char *) "mode", NULL
28866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28868 if (!SWIG_IsOK(res1
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
28871 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28873 if (!SWIG_IsOK(ecode2
)) {
28874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
28876 arg2
= static_cast< int >(val2
);
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 (arg1
)->SetAssertMode(arg2
);
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_Py_Void();
28890 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28891 PyObject
*resultobj
= 0;
28892 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28896 PyObject
*swig_obj
[1] ;
28898 if (!args
) SWIG_fail
;
28899 swig_obj
[0] = args
;
28900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28901 if (!SWIG_IsOK(res1
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
28904 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= (int)(arg1
)->GetAssertMode();
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_From_int(static_cast< int >(result
));
28918 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28919 PyObject
*resultobj
= 0;
28922 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28938 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28939 PyObject
*resultobj
= 0;
28942 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 result
= (long)wxPyApp::GetMacAboutMenuItemId();
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 resultobj
= SWIG_From_long(static_cast< long >(result
));
28956 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28957 PyObject
*resultobj
= 0;
28960 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_From_long(static_cast< long >(result
));
28974 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28975 PyObject
*resultobj
= 0;
28978 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= (long)wxPyApp::GetMacExitMenuItemId();
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_From_long(static_cast< long >(result
));
28992 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28993 PyObject
*resultobj
= 0;
28996 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= wxPyApp::GetMacHelpMenuTitleName();
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29016 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29017 PyObject
*resultobj
= 0;
29021 PyObject
* obj0
= 0 ;
29022 char * kwnames
[] = {
29023 (char *) "val", NULL
29026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
29027 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
29028 if (!SWIG_IsOK(ecode1
)) {
29029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
29031 arg1
= static_cast< bool >(val1
);
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= SWIG_Py_Void();
29045 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
= 0;
29050 PyObject
* obj0
= 0 ;
29051 char * kwnames
[] = {
29052 (char *) "val", NULL
29055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
29056 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29057 if (!SWIG_IsOK(ecode1
)) {
29058 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
29060 arg1
= static_cast< long >(val1
);
29062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29063 wxPyApp::SetMacAboutMenuItemId(arg1
);
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29067 resultobj
= SWIG_Py_Void();
29074 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29075 PyObject
*resultobj
= 0;
29079 PyObject
* obj0
= 0 ;
29080 char * kwnames
[] = {
29081 (char *) "val", NULL
29084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
29085 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29086 if (!SWIG_IsOK(ecode1
)) {
29087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
29089 arg1
= static_cast< long >(val1
);
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 resultobj
= SWIG_Py_Void();
29103 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
= 0;
29108 PyObject
* obj0
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "val", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
29114 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29115 if (!SWIG_IsOK(ecode1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
29118 arg1
= static_cast< long >(val1
);
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 wxPyApp::SetMacExitMenuItemId(arg1
);
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= SWIG_Py_Void();
29132 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
= 0;
29134 wxString
*arg1
= 0 ;
29135 bool temp1
= false ;
29136 PyObject
* obj0
= 0 ;
29137 char * kwnames
[] = {
29138 (char *) "val", NULL
29141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
29143 arg1
= wxString_in_helper(obj0
);
29144 if (arg1
== NULL
) SWIG_fail
;
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= SWIG_Py_Void();
29168 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29169 PyObject
*resultobj
= 0;
29170 wxPyApp
*arg1
= (wxPyApp
*) 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_wxPyApp
, 0 | 0 );
29178 if (!SWIG_IsOK(res1
)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
29181 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
29183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29184 (arg1
)->_BootstrapApp();
29185 wxPyEndAllowThreads(__tstate
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= SWIG_Py_Void();
29195 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29196 PyObject
*resultobj
= 0;
29199 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (int)wxPyApp_GetComCtl32Version();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= SWIG_From_int(static_cast< int >(result
));
29213 SWIGINTERN PyObject
*_wrap_PyApp_IsDisplayAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29214 PyObject
*resultobj
= 0;
29217 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsDisplayAvailable",0,0,0)) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= (bool)wxPyApp_IsDisplayAvailable();
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29233 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29236 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
29237 return SWIG_Py_Void();
29240 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29241 return SWIG_Python_InitShadowInstance(args
);
29244 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29245 PyObject
*resultobj
= 0;
29247 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= SWIG_Py_Void();
29261 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29262 PyObject
*resultobj
= 0;
29265 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 result
= (bool)wxYield();
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29281 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29282 PyObject
*resultobj
= 0;
29285 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 result
= (bool)wxYieldIfNeeded();
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29301 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
= 0;
29303 wxWindow
*arg1
= (wxWindow
*) NULL
;
29304 bool arg2
= (bool) false ;
29310 PyObject
* obj0
= 0 ;
29311 PyObject
* obj1
= 0 ;
29312 char * kwnames
[] = {
29313 (char *) "win",(char *) "onlyIfNeeded", NULL
29316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29319 if (!SWIG_IsOK(res1
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
29322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29325 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29326 if (!SWIG_IsOK(ecode2
)) {
29327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
29329 arg2
= static_cast< bool >(val2
);
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= (bool)wxSafeYield(arg1
,arg2
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29346 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29347 PyObject
*resultobj
= 0;
29349 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_Py_Void();
29363 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
= 0;
29365 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
29366 wxEvent
*arg2
= 0 ;
29371 PyObject
* obj0
= 0 ;
29372 PyObject
* obj1
= 0 ;
29373 char * kwnames
[] = {
29374 (char *) "dest",(char *) "event", NULL
29377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
29379 if (!SWIG_IsOK(res1
)) {
29380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
29382 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
29383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
29384 if (!SWIG_IsOK(res2
)) {
29385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
29388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
29390 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 wxPostEvent(arg1
,*arg2
);
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29397 resultobj
= SWIG_Py_Void();
29404 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29405 PyObject
*resultobj
= 0;
29407 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29414 resultobj
= SWIG_Py_Void();
29421 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29422 PyObject
*resultobj
= 0;
29423 wxPyApp
*result
= 0 ;
29425 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 result
= (wxPyApp
*)wxPyGetApp();
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= wxPyMake_wxObject(result
, 0);
29441 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
= 0;
29443 char *arg1
= (char *) 0 ;
29447 PyObject
* obj0
= 0 ;
29448 char * kwnames
[] = {
29449 (char *) "encoding", NULL
29452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
29453 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 wxSetDefaultPyEncoding((char const *)arg1
);
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_Py_Void();
29465 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
29468 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
29473 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29474 PyObject
*resultobj
= 0;
29477 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= (char *)wxGetDefaultPyEncoding();
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29484 resultobj
= SWIG_FromCharPtr(result
);
29491 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29492 PyObject
*resultobj
= 0;
29493 wxEventLoop
*result
= 0 ;
29495 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (wxEventLoop
*)new wxEventLoop();
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
29509 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29510 PyObject
*resultobj
= 0;
29511 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29514 PyObject
*swig_obj
[1] ;
29516 if (!args
) SWIG_fail
;
29517 swig_obj
[0] = args
;
29518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
29519 if (!SWIG_IsOK(res1
)) {
29520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29522 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= SWIG_Py_Void();
29537 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29538 PyObject
*resultobj
= 0;
29539 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29543 PyObject
*swig_obj
[1] ;
29545 if (!args
) SWIG_fail
;
29546 swig_obj
[0] = args
;
29547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29548 if (!SWIG_IsOK(res1
)) {
29549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29551 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 result
= (int)(arg1
)->Run();
29555 wxPyEndAllowThreads(__tstate
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29558 resultobj
= SWIG_From_int(static_cast< int >(result
));
29565 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29566 PyObject
*resultobj
= 0;
29567 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29568 int arg2
= (int) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char * kwnames
[] = {
29576 (char *) "self",(char *) "rc", NULL
29579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29581 if (!SWIG_IsOK(res1
)) {
29582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29584 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29587 if (!SWIG_IsOK(ecode2
)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
29590 arg2
= static_cast< int >(val2
);
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 (arg1
)->Exit(arg2
);
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= SWIG_Py_Void();
29605 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29606 PyObject
*resultobj
= 0;
29607 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29611 PyObject
*swig_obj
[1] ;
29613 if (!args
) SWIG_fail
;
29614 swig_obj
[0] = args
;
29615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29616 if (!SWIG_IsOK(res1
)) {
29617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
29619 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29635 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 PyObject
*resultobj
= 0;
29637 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29649 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (bool)(arg1
)->Dispatch();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29665 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29666 PyObject
*resultobj
= 0;
29667 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29671 PyObject
*swig_obj
[1] ;
29673 if (!args
) SWIG_fail
;
29674 swig_obj
[0] = args
;
29675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
29679 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29695 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29696 PyObject
*resultobj
= 0;
29697 wxEventLoop
*result
= 0 ;
29699 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
29701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29702 result
= (wxEventLoop
*)wxEventLoop::GetActive();
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29713 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= 0;
29715 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29718 PyObject
* obj0
= 0 ;
29719 char * kwnames
[] = {
29720 (char *) "loop", NULL
29723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
29724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29725 if (!SWIG_IsOK(res1
)) {
29726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29728 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 wxEventLoop::SetActive(arg1
);
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= SWIG_Py_Void();
29742 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29745 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
29746 return SWIG_Py_Void();
29749 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29750 return SWIG_Python_InitShadowInstance(args
);
29753 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
= 0;
29755 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
29756 wxEventLoopActivator
*result
= 0 ;
29759 PyObject
* obj0
= 0 ;
29760 char * kwnames
[] = {
29761 (char *) "evtLoop", NULL
29764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
29765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
29769 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
29783 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29784 PyObject
*resultobj
= 0;
29785 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
29788 PyObject
*swig_obj
[1] ;
29790 if (!args
) SWIG_fail
;
29791 swig_obj
[0] = args
;
29792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
29793 if (!SWIG_IsOK(res1
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
29796 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 resultobj
= SWIG_Py_Void();
29811 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29814 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
29815 return SWIG_Py_Void();
29818 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29819 return SWIG_Python_InitShadowInstance(args
);
29822 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
= 0;
29824 int arg1
= (int) 0 ;
29825 int arg2
= (int) 0 ;
29826 int arg3
= (int) 0 ;
29827 wxAcceleratorEntry
*result
= 0 ;
29834 PyObject
* obj0
= 0 ;
29835 PyObject
* obj1
= 0 ;
29836 PyObject
* obj2
= 0 ;
29837 char * kwnames
[] = {
29838 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
29841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29843 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29844 if (!SWIG_IsOK(ecode1
)) {
29845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
29847 arg1
= static_cast< int >(val1
);
29850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29851 if (!SWIG_IsOK(ecode2
)) {
29852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
29854 arg2
= static_cast< int >(val2
);
29857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29858 if (!SWIG_IsOK(ecode3
)) {
29859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
29861 arg3
= static_cast< int >(val3
);
29864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29865 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
29866 wxPyEndAllowThreads(__tstate
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
29876 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29877 PyObject
*resultobj
= 0;
29878 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
29881 PyObject
*swig_obj
[1] ;
29883 if (!args
) SWIG_fail
;
29884 swig_obj
[0] = args
;
29885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
29889 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= SWIG_Py_Void();
29904 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
= 0;
29906 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
29918 PyObject
* obj0
= 0 ;
29919 PyObject
* obj1
= 0 ;
29920 PyObject
* obj2
= 0 ;
29921 PyObject
* obj3
= 0 ;
29922 char * kwnames
[] = {
29923 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
29926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
29931 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
29932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29933 if (!SWIG_IsOK(ecode2
)) {
29934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
29936 arg2
= static_cast< int >(val2
);
29937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29938 if (!SWIG_IsOK(ecode3
)) {
29939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
29941 arg3
= static_cast< int >(val3
);
29942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29943 if (!SWIG_IsOK(ecode4
)) {
29944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
29946 arg4
= static_cast< int >(val4
);
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 (arg1
)->Set(arg2
,arg3
,arg4
);
29950 wxPyEndAllowThreads(__tstate
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= SWIG_Py_Void();
29960 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= 0;
29962 wxString
*arg1
= 0 ;
29963 wxAcceleratorEntry
*result
= 0 ;
29964 bool temp1
= false ;
29965 PyObject
* obj0
= 0 ;
29966 char * kwnames
[] = {
29967 (char *) "str", NULL
29970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_Create",kwnames
,&obj0
)) SWIG_fail
;
29972 arg1
= wxString_in_helper(obj0
);
29973 if (arg1
== NULL
) SWIG_fail
;
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= (wxAcceleratorEntry
*)wxAcceleratorEntry::Create((wxString
const &)*arg1
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_OWN
| 0 );
29997 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29998 PyObject
*resultobj
= 0;
29999 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30003 PyObject
*swig_obj
[1] ;
30005 if (!args
) SWIG_fail
;
30006 swig_obj
[0] = args
;
30007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30008 if (!SWIG_IsOK(res1
)) {
30009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
30011 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (int)(arg1
)->GetFlags();
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_From_int(static_cast< int >(result
));
30025 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30026 PyObject
*resultobj
= 0;
30027 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30031 PyObject
*swig_obj
[1] ;
30033 if (!args
) SWIG_fail
;
30034 swig_obj
[0] = args
;
30035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30036 if (!SWIG_IsOK(res1
)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
30039 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (int)(arg1
)->GetKeyCode();
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_From_int(static_cast< int >(result
));
30053 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30054 PyObject
*resultobj
= 0;
30055 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30059 PyObject
*swig_obj
[1] ;
30061 if (!args
) SWIG_fail
;
30062 swig_obj
[0] = args
;
30063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
30067 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (int)(arg1
)->GetCommand();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_From_int(static_cast< int >(result
));
30081 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30082 PyObject
*resultobj
= 0;
30083 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30087 PyObject
*swig_obj
[1] ;
30089 if (!args
) SWIG_fail
;
30090 swig_obj
[0] = args
;
30091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
30095 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 result
= (bool)((wxAcceleratorEntry
const *)arg1
)->IsOk();
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30111 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30112 PyObject
*resultobj
= 0;
30113 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30117 PyObject
*swig_obj
[1] ;
30119 if (!args
) SWIG_fail
;
30120 swig_obj
[0] = args
;
30121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30122 if (!SWIG_IsOK(res1
)) {
30123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_ToString" "', expected argument " "1"" of type '" "wxAcceleratorEntry const *""'");
30125 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= ((wxAcceleratorEntry
const *)arg1
)->ToString();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30145 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
= 0;
30147 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
30148 wxString
*arg2
= 0 ;
30152 bool temp2
= false ;
30153 PyObject
* obj0
= 0 ;
30154 PyObject
* obj1
= 0 ;
30155 char * kwnames
[] = {
30156 (char *) "self",(char *) "str", NULL
30159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30161 if (!SWIG_IsOK(res1
)) {
30162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_FromString" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
30164 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
30166 arg2
= wxString_in_helper(obj1
);
30167 if (arg2
== NULL
) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30193 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30196 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
30197 return SWIG_Py_Void();
30200 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30201 return SWIG_Python_InitShadowInstance(args
);
30204 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
= 0;
30207 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
30208 wxAcceleratorTable
*result
= 0 ;
30209 PyObject
* obj0
= 0 ;
30210 char * kwnames
[] = {
30214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
30216 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
30217 if (arg2
) arg1
= PyList_Size(obj0
);
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
30233 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30234 PyObject
*resultobj
= 0;
30235 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
30238 PyObject
*swig_obj
[1] ;
30240 if (!args
) SWIG_fail
;
30241 swig_obj
[0] = args
;
30242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
30243 if (!SWIG_IsOK(res1
)) {
30244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
30246 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30254 resultobj
= SWIG_Py_Void();
30261 SWIGINTERN PyObject
*_wrap_AcceleratorTable_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30262 PyObject
*resultobj
= 0;
30263 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
30267 PyObject
*swig_obj
[1] ;
30269 if (!args
) SWIG_fail
;
30270 swig_obj
[0] = args
;
30271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_IsOk" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
30275 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 result
= (bool)((wxAcceleratorTable
const *)arg1
)->IsOk();
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30291 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30294 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
30295 return SWIG_Py_Void();
30298 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30299 return SWIG_Python_InitShadowInstance(args
);
30302 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
30303 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
30308 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
30309 PyObject
*pyobj
= 0;
30311 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
30316 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
= 0;
30318 wxString
*arg1
= 0 ;
30319 wxAcceleratorEntry
*result
= 0 ;
30320 bool temp1
= false ;
30321 PyObject
* obj0
= 0 ;
30322 char * kwnames
[] = {
30323 (char *) "label", NULL
30326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
30328 arg1
= wxString_in_helper(obj0
);
30329 if (arg1
== NULL
) SWIG_fail
;
30333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30334 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
30335 wxPyEndAllowThreads(__tstate
);
30336 if (PyErr_Occurred()) SWIG_fail
;
30338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
30353 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
30354 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
30359 SWIGINTERN PyObject
*PanelNameStr_get(void) {
30360 PyObject
*pyobj
= 0;
30364 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
30366 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
30373 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30374 PyObject
*resultobj
= 0;
30375 wxVisualAttributes
*result
= 0 ;
30377 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
30391 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30392 PyObject
*resultobj
= 0;
30393 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30396 PyObject
*swig_obj
[1] ;
30398 if (!args
) SWIG_fail
;
30399 swig_obj
[0] = args
;
30400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
30401 if (!SWIG_IsOK(res1
)) {
30402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30404 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 delete_wxVisualAttributes(arg1
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 resultobj
= SWIG_Py_Void();
30419 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30420 PyObject
*resultobj
= 0;
30421 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30422 wxFont
*arg2
= (wxFont
*) 0 ;
30427 PyObject
*swig_obj
[2] ;
30429 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
30430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30431 if (!SWIG_IsOK(res1
)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30434 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30435 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30436 if (!SWIG_IsOK(res2
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
30439 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30440 if (arg1
) (arg1
)->font
= *arg2
;
30442 resultobj
= SWIG_Py_Void();
30449 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30450 PyObject
*resultobj
= 0;
30451 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30452 wxFont
*result
= 0 ;
30455 PyObject
*swig_obj
[1] ;
30457 if (!args
) SWIG_fail
;
30458 swig_obj
[0] = args
;
30459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30460 if (!SWIG_IsOK(res1
)) {
30461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30463 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30464 result
= (wxFont
*)& ((arg1
)->font
);
30465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30472 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30473 PyObject
*resultobj
= 0;
30474 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30475 wxColour
*arg2
= (wxColour
*) 0 ;
30480 PyObject
*swig_obj
[2] ;
30482 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
30483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30484 if (!SWIG_IsOK(res1
)) {
30485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30487 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30488 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
30489 if (!SWIG_IsOK(res2
)) {
30490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
30492 arg2
= reinterpret_cast< wxColour
* >(argp2
);
30493 if (arg1
) (arg1
)->colFg
= *arg2
;
30495 resultobj
= SWIG_Py_Void();
30502 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30503 PyObject
*resultobj
= 0;
30504 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30505 wxColour
*result
= 0 ;
30508 PyObject
*swig_obj
[1] ;
30510 if (!args
) SWIG_fail
;
30511 swig_obj
[0] = args
;
30512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30513 if (!SWIG_IsOK(res1
)) {
30514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30516 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30517 result
= (wxColour
*)& ((arg1
)->colFg
);
30518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30525 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30526 PyObject
*resultobj
= 0;
30527 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30528 wxColour
*arg2
= (wxColour
*) 0 ;
30533 PyObject
*swig_obj
[2] ;
30535 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
30536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30537 if (!SWIG_IsOK(res1
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30540 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30541 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
30542 if (!SWIG_IsOK(res2
)) {
30543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
30545 arg2
= reinterpret_cast< wxColour
* >(argp2
);
30546 if (arg1
) (arg1
)->colBg
= *arg2
;
30548 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
30558 wxColour
*result
= 0 ;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
30569 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
30570 result
= (wxColour
*)& ((arg1
)->colBg
);
30571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30578 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30581 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
30582 return SWIG_Py_Void();
30585 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30586 return SWIG_Python_InitShadowInstance(args
);
30589 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
= 0;
30591 wxWindow
*arg1
= (wxWindow
*) 0 ;
30592 int arg2
= (int) (int)-1 ;
30593 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30594 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30595 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30596 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30597 long arg5
= (long) 0 ;
30598 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
30599 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30600 wxWindow
*result
= 0 ;
30609 bool temp6
= false ;
30610 PyObject
* obj0
= 0 ;
30611 PyObject
* obj1
= 0 ;
30612 PyObject
* obj2
= 0 ;
30613 PyObject
* obj3
= 0 ;
30614 PyObject
* obj4
= 0 ;
30615 PyObject
* obj5
= 0 ;
30616 char * kwnames
[] = {
30617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30622 if (!SWIG_IsOK(res1
)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
30625 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30628 if (!SWIG_IsOK(ecode2
)) {
30629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
30631 arg2
= static_cast< int >(val2
);
30636 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30642 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30646 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
30647 if (!SWIG_IsOK(ecode5
)) {
30648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
30650 arg5
= static_cast< long >(val5
);
30654 arg6
= wxString_in_helper(obj5
);
30655 if (arg6
== NULL
) SWIG_fail
;
30660 if (!wxPyCheckForApp()) SWIG_fail
;
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
30681 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30682 PyObject
*resultobj
= 0;
30683 wxWindow
*result
= 0 ;
30685 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
30687 if (!wxPyCheckForApp()) SWIG_fail
;
30688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 result
= (wxWindow
*)new wxWindow();
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
30700 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
= 0;
30702 wxWindow
*arg1
= (wxWindow
*) 0 ;
30703 wxWindow
*arg2
= (wxWindow
*) 0 ;
30704 int arg3
= (int) (int)-1 ;
30705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30709 long arg6
= (long) 0 ;
30710 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30723 bool temp7
= false ;
30724 PyObject
* obj0
= 0 ;
30725 PyObject
* obj1
= 0 ;
30726 PyObject
* obj2
= 0 ;
30727 PyObject
* obj3
= 0 ;
30728 PyObject
* obj4
= 0 ;
30729 PyObject
* obj5
= 0 ;
30730 PyObject
* obj6
= 0 ;
30731 char * kwnames
[] = {
30732 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
30740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30742 if (!SWIG_IsOK(res2
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
30745 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30748 if (!SWIG_IsOK(ecode3
)) {
30749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
30751 arg3
= static_cast< int >(val3
);
30756 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30762 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30766 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30767 if (!SWIG_IsOK(ecode6
)) {
30768 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
30770 arg6
= static_cast< long >(val6
);
30774 arg7
= wxString_in_helper(obj6
);
30775 if (arg7
== NULL
) SWIG_fail
;
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30802 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
= 0;
30804 wxWindow
*arg1
= (wxWindow
*) 0 ;
30805 bool arg2
= (bool) false ;
30811 PyObject
* obj0
= 0 ;
30812 PyObject
* obj1
= 0 ;
30813 char * kwnames
[] = {
30814 (char *) "self",(char *) "force", NULL
30817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30819 if (!SWIG_IsOK(res1
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
30822 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30824 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30825 if (!SWIG_IsOK(ecode2
)) {
30826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
30828 arg2
= static_cast< bool >(val2
);
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 result
= (bool)(arg1
)->Close(arg2
);
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30845 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30846 PyObject
*resultobj
= 0;
30847 wxWindow
*arg1
= (wxWindow
*) 0 ;
30851 PyObject
*swig_obj
[1] ;
30853 if (!args
) SWIG_fail
;
30854 swig_obj
[0] = args
;
30855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
30859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (bool)(arg1
)->Destroy();
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30875 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30876 PyObject
*resultobj
= 0;
30877 wxWindow
*arg1
= (wxWindow
*) 0 ;
30881 PyObject
*swig_obj
[1] ;
30883 if (!args
) SWIG_fail
;
30884 swig_obj
[0] = args
;
30885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30886 if (!SWIG_IsOK(res1
)) {
30887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
30889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 result
= (bool)(arg1
)->DestroyChildren();
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30905 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30906 PyObject
*resultobj
= 0;
30907 wxWindow
*arg1
= (wxWindow
*) 0 ;
30911 PyObject
*swig_obj
[1] ;
30913 if (!args
) SWIG_fail
;
30914 swig_obj
[0] = args
;
30915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30916 if (!SWIG_IsOK(res1
)) {
30917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
30919 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30935 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
= 0;
30937 wxWindow
*arg1
= (wxWindow
*) 0 ;
30938 wxString
*arg2
= 0 ;
30941 bool temp2
= false ;
30942 PyObject
* obj0
= 0 ;
30943 PyObject
* obj1
= 0 ;
30944 char * kwnames
[] = {
30945 (char *) "self",(char *) "label", NULL
30948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30950 if (!SWIG_IsOK(res1
)) {
30951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
30953 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30955 arg2
= wxString_in_helper(obj1
);
30956 if (arg2
== NULL
) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 (arg1
)->SetLabel((wxString
const &)*arg2
);
30962 wxPyEndAllowThreads(__tstate
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= SWIG_Py_Void();
30980 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30981 PyObject
*resultobj
= 0;
30982 wxWindow
*arg1
= (wxWindow
*) 0 ;
30986 PyObject
*swig_obj
[1] ;
30988 if (!args
) SWIG_fail
;
30989 swig_obj
[0] = args
;
30990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30991 if (!SWIG_IsOK(res1
)) {
30992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
30994 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30997 result
= ((wxWindow
const *)arg1
)->GetLabel();
30998 wxPyEndAllowThreads(__tstate
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31014 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxWindow
*arg1
= (wxWindow
*) 0 ;
31017 wxString
*arg2
= 0 ;
31020 bool temp2
= false ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 char * kwnames
[] = {
31024 (char *) "self",(char *) "name", NULL
31027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31029 if (!SWIG_IsOK(res1
)) {
31030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
31032 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31034 arg2
= wxString_in_helper(obj1
);
31035 if (arg2
== NULL
) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 (arg1
)->SetName((wxString
const &)*arg2
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 resultobj
= SWIG_Py_Void();
31059 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31060 PyObject
*resultobj
= 0;
31061 wxWindow
*arg1
= (wxWindow
*) 0 ;
31065 PyObject
*swig_obj
[1] ;
31067 if (!args
) SWIG_fail
;
31068 swig_obj
[0] = args
;
31069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31070 if (!SWIG_IsOK(res1
)) {
31071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
31073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 result
= ((wxWindow
const *)arg1
)->GetName();
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31093 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
= 0;
31095 wxWindow
*arg1
= (wxWindow
*) 0 ;
31096 wxWindowVariant arg2
;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 char * kwnames
[] = {
31104 (char *) "self",(char *) "variant", NULL
31107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31109 if (!SWIG_IsOK(res1
)) {
31110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
31112 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31114 if (!SWIG_IsOK(ecode2
)) {
31115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
31117 arg2
= static_cast< wxWindowVariant
>(val2
);
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31120 (arg1
)->SetWindowVariant(arg2
);
31121 wxPyEndAllowThreads(__tstate
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= SWIG_Py_Void();
31131 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31132 PyObject
*resultobj
= 0;
31133 wxWindow
*arg1
= (wxWindow
*) 0 ;
31134 wxWindowVariant result
;
31137 PyObject
*swig_obj
[1] ;
31139 if (!args
) SWIG_fail
;
31140 swig_obj
[0] = args
;
31141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31142 if (!SWIG_IsOK(res1
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
31145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= SWIG_From_int(static_cast< int >(result
));
31159 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
= 0;
31161 wxWindow
*arg1
= (wxWindow
*) 0 ;
31167 PyObject
* obj0
= 0 ;
31168 PyObject
* obj1
= 0 ;
31169 char * kwnames
[] = {
31170 (char *) "self",(char *) "winid", NULL
31173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31175 if (!SWIG_IsOK(res1
)) {
31176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
31178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31180 if (!SWIG_IsOK(ecode2
)) {
31181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
31183 arg2
= static_cast< int >(val2
);
31185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31186 (arg1
)->SetId(arg2
);
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31190 resultobj
= SWIG_Py_Void();
31197 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31198 PyObject
*resultobj
= 0;
31199 wxWindow
*arg1
= (wxWindow
*) 0 ;
31203 PyObject
*swig_obj
[1] ;
31205 if (!args
) SWIG_fail
;
31206 swig_obj
[0] = args
;
31207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31208 if (!SWIG_IsOK(res1
)) {
31209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
31211 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (int)((wxWindow
const *)arg1
)->GetId();
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_From_int(static_cast< int >(result
));
31225 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31226 PyObject
*resultobj
= 0;
31229 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
31231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31232 result
= (int)wxWindow::NewControlId();
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 resultobj
= SWIG_From_int(static_cast< int >(result
));
31243 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
= 0;
31249 PyObject
* obj0
= 0 ;
31250 char * kwnames
[] = {
31251 (char *) "winid", NULL
31254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
31255 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31256 if (!SWIG_IsOK(ecode1
)) {
31257 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
31259 arg1
= static_cast< int >(val1
);
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 result
= (int)wxWindow::NextControlId(arg1
);
31263 wxPyEndAllowThreads(__tstate
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31266 resultobj
= SWIG_From_int(static_cast< int >(result
));
31273 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31274 PyObject
*resultobj
= 0;
31279 PyObject
* obj0
= 0 ;
31280 char * kwnames
[] = {
31281 (char *) "winid", NULL
31284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
31285 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31286 if (!SWIG_IsOK(ecode1
)) {
31287 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
31289 arg1
= static_cast< int >(val1
);
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 result
= (int)wxWindow::PrevControlId(arg1
);
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31296 resultobj
= SWIG_From_int(static_cast< int >(result
));
31303 SWIGINTERN PyObject
*_wrap_Window_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31304 PyObject
*resultobj
= 0;
31305 wxWindow
*arg1
= (wxWindow
*) 0 ;
31306 wxLayoutDirection result
;
31309 PyObject
*swig_obj
[1] ;
31311 if (!args
) SWIG_fail
;
31312 swig_obj
[0] = args
;
31313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31314 if (!SWIG_IsOK(res1
)) {
31315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
31317 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 result
= (wxLayoutDirection
)((wxWindow
const *)arg1
)->GetLayoutDirection();
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_From_int(static_cast< int >(result
));
31331 SWIGINTERN PyObject
*_wrap_Window_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
= 0;
31333 wxWindow
*arg1
= (wxWindow
*) 0 ;
31334 wxLayoutDirection arg2
;
31339 PyObject
* obj0
= 0 ;
31340 PyObject
* obj1
= 0 ;
31341 char * kwnames
[] = {
31342 (char *) "self",(char *) "dir", NULL
31345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31347 if (!SWIG_IsOK(res1
)) {
31348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'");
31350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31352 if (!SWIG_IsOK(ecode2
)) {
31353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
31355 arg2
= static_cast< wxLayoutDirection
>(val2
);
31357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31358 (arg1
)->SetLayoutDirection(arg2
);
31359 wxPyEndAllowThreads(__tstate
);
31360 if (PyErr_Occurred()) SWIG_fail
;
31362 resultobj
= SWIG_Py_Void();
31369 SWIGINTERN PyObject
*_wrap_Window_AdjustForLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31370 PyObject
*resultobj
= 0;
31371 wxWindow
*arg1
= (wxWindow
*) 0 ;
31384 PyObject
* obj0
= 0 ;
31385 PyObject
* obj1
= 0 ;
31386 PyObject
* obj2
= 0 ;
31387 PyObject
* obj3
= 0 ;
31388 char * kwnames
[] = {
31389 (char *) "self",(char *) "x",(char *) "width",(char *) "widthTotal", NULL
31392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_AdjustForLayoutDirection",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31394 if (!SWIG_IsOK(res1
)) {
31395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "1"" of type '" "wxWindow const *""'");
31397 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31399 if (!SWIG_IsOK(ecode2
)) {
31400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "2"" of type '" "int""'");
31402 arg2
= static_cast< int >(val2
);
31403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31404 if (!SWIG_IsOK(ecode3
)) {
31405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "3"" of type '" "int""'");
31407 arg3
= static_cast< int >(val3
);
31408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31409 if (!SWIG_IsOK(ecode4
)) {
31410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_AdjustForLayoutDirection" "', expected argument " "4"" of type '" "int""'");
31412 arg4
= static_cast< int >(val4
);
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= (int)((wxWindow
const *)arg1
)->AdjustForLayoutDirection(arg2
,arg3
,arg4
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31419 resultobj
= SWIG_From_int(static_cast< int >(result
));
31426 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
= 0;
31428 wxWindow
*arg1
= (wxWindow
*) 0 ;
31433 PyObject
* obj0
= 0 ;
31434 PyObject
* obj1
= 0 ;
31435 char * kwnames
[] = {
31436 (char *) "self",(char *) "size", NULL
31439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31441 if (!SWIG_IsOK(res1
)) {
31442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31444 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31447 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31451 (arg1
)->SetSize((wxSize
const &)*arg2
);
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 resultobj
= SWIG_Py_Void();
31462 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
= 0;
31464 wxWindow
*arg1
= (wxWindow
*) 0 ;
31469 int arg6
= (int) wxSIZE_AUTO
;
31482 PyObject
* obj0
= 0 ;
31483 PyObject
* obj1
= 0 ;
31484 PyObject
* obj2
= 0 ;
31485 PyObject
* obj3
= 0 ;
31486 PyObject
* obj4
= 0 ;
31487 PyObject
* obj5
= 0 ;
31488 char * kwnames
[] = {
31489 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
31492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31494 if (!SWIG_IsOK(res1
)) {
31495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
31497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31499 if (!SWIG_IsOK(ecode2
)) {
31500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
31502 arg2
= static_cast< int >(val2
);
31503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31504 if (!SWIG_IsOK(ecode3
)) {
31505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
31507 arg3
= static_cast< int >(val3
);
31508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31509 if (!SWIG_IsOK(ecode4
)) {
31510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
31512 arg4
= static_cast< int >(val4
);
31513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31514 if (!SWIG_IsOK(ecode5
)) {
31515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
31517 arg5
= static_cast< int >(val5
);
31519 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31520 if (!SWIG_IsOK(ecode6
)) {
31521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
31523 arg6
= static_cast< int >(val6
);
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
31528 wxPyEndAllowThreads(__tstate
);
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= SWIG_Py_Void();
31538 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
= 0;
31540 wxWindow
*arg1
= (wxWindow
*) 0 ;
31542 int arg3
= (int) wxSIZE_AUTO
;
31548 PyObject
* obj0
= 0 ;
31549 PyObject
* obj1
= 0 ;
31550 PyObject
* obj2
= 0 ;
31551 char * kwnames
[] = {
31552 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
31555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31557 if (!SWIG_IsOK(res1
)) {
31558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
31560 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31567 if (!SWIG_IsOK(ecode3
)) {
31568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
31570 arg3
= static_cast< int >(val3
);
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
31575 wxPyEndAllowThreads(__tstate
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31578 resultobj
= SWIG_Py_Void();
31585 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
= 0;
31587 wxWindow
*arg1
= (wxWindow
*) 0 ;
31596 PyObject
* obj0
= 0 ;
31597 PyObject
* obj1
= 0 ;
31598 PyObject
* obj2
= 0 ;
31599 char * kwnames
[] = {
31600 (char *) "self",(char *) "width",(char *) "height", NULL
31603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31605 if (!SWIG_IsOK(res1
)) {
31606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31608 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31610 if (!SWIG_IsOK(ecode2
)) {
31611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
31613 arg2
= static_cast< int >(val2
);
31614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31615 if (!SWIG_IsOK(ecode3
)) {
31616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
31618 arg3
= static_cast< int >(val3
);
31620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31621 (arg1
)->SetSize(arg2
,arg3
);
31622 wxPyEndAllowThreads(__tstate
);
31623 if (PyErr_Occurred()) SWIG_fail
;
31625 resultobj
= SWIG_Py_Void();
31632 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31633 PyObject
*resultobj
= 0;
31634 wxWindow
*arg1
= (wxWindow
*) 0 ;
31635 wxPoint
*arg2
= 0 ;
31636 int arg3
= (int) wxSIZE_USE_EXISTING
;
31642 PyObject
* obj0
= 0 ;
31643 PyObject
* obj1
= 0 ;
31644 PyObject
* obj2
= 0 ;
31645 char * kwnames
[] = {
31646 (char *) "self",(char *) "pt",(char *) "flags", NULL
31649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31651 if (!SWIG_IsOK(res1
)) {
31652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
31654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31661 if (!SWIG_IsOK(ecode3
)) {
31662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
31664 arg3
= static_cast< int >(val3
);
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= SWIG_Py_Void();
31679 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
= 0;
31681 wxWindow
*arg1
= (wxWindow
*) 0 ;
31684 int arg4
= (int) wxSIZE_USE_EXISTING
;
31693 PyObject
* obj0
= 0 ;
31694 PyObject
* obj1
= 0 ;
31695 PyObject
* obj2
= 0 ;
31696 PyObject
* obj3
= 0 ;
31697 char * kwnames
[] = {
31698 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
31701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31703 if (!SWIG_IsOK(res1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
31706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31708 if (!SWIG_IsOK(ecode2
)) {
31709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
31711 arg2
= static_cast< int >(val2
);
31712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31713 if (!SWIG_IsOK(ecode3
)) {
31714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
31716 arg3
= static_cast< int >(val3
);
31718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31719 if (!SWIG_IsOK(ecode4
)) {
31720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
31722 arg4
= static_cast< int >(val4
);
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 (arg1
)->Move(arg2
,arg3
,arg4
);
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= SWIG_Py_Void();
31737 SWIGINTERN PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31738 PyObject
*resultobj
= 0;
31739 wxWindow
*arg1
= (wxWindow
*) 0 ;
31740 wxSize
const &arg2_defvalue
= wxDefaultSize
;
31741 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
31745 PyObject
* obj0
= 0 ;
31746 PyObject
* obj1
= 0 ;
31747 char * kwnames
[] = {
31748 (char *) "self",(char *) "size", NULL
31751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31753 if (!SWIG_IsOK(res1
)) {
31754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31760 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= SWIG_Py_Void();
31776 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31777 PyObject
*resultobj
= 0;
31778 wxWindow
*arg1
= (wxWindow
*) 0 ;
31781 PyObject
*swig_obj
[1] ;
31783 if (!args
) SWIG_fail
;
31784 swig_obj
[0] = args
;
31785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31786 if (!SWIG_IsOK(res1
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
31789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31793 wxPyEndAllowThreads(__tstate
);
31794 if (PyErr_Occurred()) SWIG_fail
;
31796 resultobj
= SWIG_Py_Void();
31803 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31804 PyObject
*resultobj
= 0;
31805 wxWindow
*arg1
= (wxWindow
*) 0 ;
31808 PyObject
*swig_obj
[1] ;
31810 if (!args
) SWIG_fail
;
31811 swig_obj
[0] = args
;
31812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31813 if (!SWIG_IsOK(res1
)) {
31814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
31816 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= SWIG_Py_Void();
31830 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
= 0;
31832 wxWindow
*arg1
= (wxWindow
*) 0 ;
31837 PyObject
* obj0
= 0 ;
31838 PyObject
* obj1
= 0 ;
31839 char * kwnames
[] = {
31840 (char *) "self",(char *) "size", NULL
31843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31845 if (!SWIG_IsOK(res1
)) {
31846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31859 resultobj
= SWIG_Py_Void();
31866 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31867 PyObject
*resultobj
= 0;
31868 wxWindow
*arg1
= (wxWindow
*) 0 ;
31877 PyObject
* obj0
= 0 ;
31878 PyObject
* obj1
= 0 ;
31879 PyObject
* obj2
= 0 ;
31880 char * kwnames
[] = {
31881 (char *) "self",(char *) "width",(char *) "height", NULL
31884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31886 if (!SWIG_IsOK(res1
)) {
31887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31891 if (!SWIG_IsOK(ecode2
)) {
31892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
31894 arg2
= static_cast< int >(val2
);
31895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31896 if (!SWIG_IsOK(ecode3
)) {
31897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
31899 arg3
= static_cast< int >(val3
);
31901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31902 (arg1
)->SetClientSize(arg2
,arg3
);
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 resultobj
= SWIG_Py_Void();
31913 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
= 0;
31915 wxWindow
*arg1
= (wxWindow
*) 0 ;
31920 PyObject
* obj0
= 0 ;
31921 PyObject
* obj1
= 0 ;
31922 char * kwnames
[] = {
31923 (char *) "self",(char *) "rect", NULL
31926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31928 if (!SWIG_IsOK(res1
)) {
31929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
31931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31934 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
31939 wxPyEndAllowThreads(__tstate
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= SWIG_Py_Void();
31949 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31950 PyObject
*resultobj
= 0;
31951 wxWindow
*arg1
= (wxWindow
*) 0 ;
31955 PyObject
*swig_obj
[1] ;
31957 if (!args
) SWIG_fail
;
31958 swig_obj
[0] = args
;
31959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31960 if (!SWIG_IsOK(res1
)) {
31961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
31963 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31966 result
= ((wxWindow
const *)arg1
)->GetPosition();
31967 wxPyEndAllowThreads(__tstate
);
31968 if (PyErr_Occurred()) SWIG_fail
;
31970 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
31977 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31978 PyObject
*resultobj
= 0;
31979 wxWindow
*arg1
= (wxWindow
*) 0 ;
31980 int *arg2
= (int *) 0 ;
31981 int *arg3
= (int *) 0 ;
31985 int res2
= SWIG_TMPOBJ
;
31987 int res3
= SWIG_TMPOBJ
;
31988 PyObject
*swig_obj
[1] ;
31992 if (!args
) SWIG_fail
;
31993 swig_obj
[0] = args
;
31994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31995 if (!SWIG_IsOK(res1
)) {
31996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
32002 wxPyEndAllowThreads(__tstate
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32005 resultobj
= SWIG_Py_Void();
32006 if (SWIG_IsTmpObj(res2
)) {
32007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32009 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32012 if (SWIG_IsTmpObj(res3
)) {
32013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32015 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32024 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32025 PyObject
*resultobj
= 0;
32026 wxWindow
*arg1
= (wxWindow
*) 0 ;
32030 PyObject
*swig_obj
[1] ;
32032 if (!args
) SWIG_fail
;
32033 swig_obj
[0] = args
;
32034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32035 if (!SWIG_IsOK(res1
)) {
32036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
32038 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32052 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32053 PyObject
*resultobj
= 0;
32054 wxWindow
*arg1
= (wxWindow
*) 0 ;
32055 int *arg2
= (int *) 0 ;
32056 int *arg3
= (int *) 0 ;
32060 int res2
= SWIG_TMPOBJ
;
32062 int res3
= SWIG_TMPOBJ
;
32063 PyObject
*swig_obj
[1] ;
32067 if (!args
) SWIG_fail
;
32068 swig_obj
[0] = args
;
32069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32070 if (!SWIG_IsOK(res1
)) {
32071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= SWIG_Py_Void();
32081 if (SWIG_IsTmpObj(res2
)) {
32082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32084 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32087 if (SWIG_IsTmpObj(res3
)) {
32088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32090 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32099 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32100 PyObject
*resultobj
= 0;
32101 wxWindow
*arg1
= (wxWindow
*) 0 ;
32105 PyObject
*swig_obj
[1] ;
32107 if (!args
) SWIG_fail
;
32108 swig_obj
[0] = args
;
32109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32110 if (!SWIG_IsOK(res1
)) {
32111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
32113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32127 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32128 PyObject
*resultobj
= 0;
32129 wxWindow
*arg1
= (wxWindow
*) 0 ;
32133 PyObject
*swig_obj
[1] ;
32135 if (!args
) SWIG_fail
;
32136 swig_obj
[0] = args
;
32137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32138 if (!SWIG_IsOK(res1
)) {
32139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32141 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 result
= ((wxWindow
const *)arg1
)->GetSize();
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32148 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32155 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32156 PyObject
*resultobj
= 0;
32157 wxWindow
*arg1
= (wxWindow
*) 0 ;
32158 int *arg2
= (int *) 0 ;
32159 int *arg3
= (int *) 0 ;
32163 int res2
= SWIG_TMPOBJ
;
32165 int res3
= SWIG_TMPOBJ
;
32166 PyObject
*swig_obj
[1] ;
32170 if (!args
) SWIG_fail
;
32171 swig_obj
[0] = args
;
32172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32173 if (!SWIG_IsOK(res1
)) {
32174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32176 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_Py_Void();
32184 if (SWIG_IsTmpObj(res2
)) {
32185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32187 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32190 if (SWIG_IsTmpObj(res3
)) {
32191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32193 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32202 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32203 PyObject
*resultobj
= 0;
32204 wxWindow
*arg1
= (wxWindow
*) 0 ;
32208 PyObject
*swig_obj
[1] ;
32210 if (!args
) SWIG_fail
;
32211 swig_obj
[0] = args
;
32212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32213 if (!SWIG_IsOK(res1
)) {
32214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
32216 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 result
= ((wxWindow
const *)arg1
)->GetRect();
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32230 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32231 PyObject
*resultobj
= 0;
32232 wxWindow
*arg1
= (wxWindow
*) 0 ;
32236 PyObject
*swig_obj
[1] ;
32238 if (!args
) SWIG_fail
;
32239 swig_obj
[0] = args
;
32240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32241 if (!SWIG_IsOK(res1
)) {
32242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32244 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= ((wxWindow
const *)arg1
)->GetClientSize();
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32251 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32258 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32259 PyObject
*resultobj
= 0;
32260 wxWindow
*arg1
= (wxWindow
*) 0 ;
32261 int *arg2
= (int *) 0 ;
32262 int *arg3
= (int *) 0 ;
32266 int res2
= SWIG_TMPOBJ
;
32268 int res3
= SWIG_TMPOBJ
;
32269 PyObject
*swig_obj
[1] ;
32273 if (!args
) SWIG_fail
;
32274 swig_obj
[0] = args
;
32275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32276 if (!SWIG_IsOK(res1
)) {
32277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= SWIG_Py_Void();
32287 if (SWIG_IsTmpObj(res2
)) {
32288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32290 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32293 if (SWIG_IsTmpObj(res3
)) {
32294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32296 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32305 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32306 PyObject
*resultobj
= 0;
32307 wxWindow
*arg1
= (wxWindow
*) 0 ;
32311 PyObject
*swig_obj
[1] ;
32313 if (!args
) SWIG_fail
;
32314 swig_obj
[0] = args
;
32315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32316 if (!SWIG_IsOK(res1
)) {
32317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
32319 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
32323 wxPyEndAllowThreads(__tstate
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32326 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32333 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32334 PyObject
*resultobj
= 0;
32335 wxWindow
*arg1
= (wxWindow
*) 0 ;
32339 PyObject
*swig_obj
[1] ;
32341 if (!args
) SWIG_fail
;
32342 swig_obj
[0] = args
;
32343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32344 if (!SWIG_IsOK(res1
)) {
32345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
32347 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 result
= ((wxWindow
const *)arg1
)->GetClientRect();
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32354 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32361 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32362 PyObject
*resultobj
= 0;
32363 wxWindow
*arg1
= (wxWindow
*) 0 ;
32367 PyObject
*swig_obj
[1] ;
32369 if (!args
) SWIG_fail
;
32370 swig_obj
[0] = args
;
32371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32372 if (!SWIG_IsOK(res1
)) {
32373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32375 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 result
= ((wxWindow
const *)arg1
)->GetBestSize();
32379 wxPyEndAllowThreads(__tstate
);
32380 if (PyErr_Occurred()) SWIG_fail
;
32382 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32389 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32390 PyObject
*resultobj
= 0;
32391 wxWindow
*arg1
= (wxWindow
*) 0 ;
32392 int *arg2
= (int *) 0 ;
32393 int *arg3
= (int *) 0 ;
32397 int res2
= SWIG_TMPOBJ
;
32399 int res3
= SWIG_TMPOBJ
;
32400 PyObject
*swig_obj
[1] ;
32404 if (!args
) SWIG_fail
;
32405 swig_obj
[0] = args
;
32406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32407 if (!SWIG_IsOK(res1
)) {
32408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32413 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32417 resultobj
= SWIG_Py_Void();
32418 if (SWIG_IsTmpObj(res2
)) {
32419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32421 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32424 if (SWIG_IsTmpObj(res3
)) {
32425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32427 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32436 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32437 PyObject
*resultobj
= 0;
32438 wxWindow
*arg1
= (wxWindow
*) 0 ;
32441 PyObject
*swig_obj
[1] ;
32443 if (!args
) SWIG_fail
;
32444 swig_obj
[0] = args
;
32445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
32449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 (arg1
)->InvalidateBestSize();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= SWIG_Py_Void();
32463 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32464 PyObject
*resultobj
= 0;
32465 wxWindow
*arg1
= (wxWindow
*) 0 ;
32470 PyObject
* obj0
= 0 ;
32471 PyObject
* obj1
= 0 ;
32472 char * kwnames
[] = {
32473 (char *) "self",(char *) "size", NULL
32476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32478 if (!SWIG_IsOK(res1
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32481 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32484 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32488 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32492 resultobj
= SWIG_Py_Void();
32499 SWIGINTERN PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32500 PyObject
*resultobj
= 0;
32501 wxWindow
*arg1
= (wxWindow
*) 0 ;
32505 PyObject
*swig_obj
[1] ;
32507 if (!args
) SWIG_fail
;
32508 swig_obj
[0] = args
;
32509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32510 if (!SWIG_IsOK(res1
)) {
32511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32516 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32520 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32527 SWIGINTERN PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32528 PyObject
*resultobj
= 0;
32529 wxWindow
*arg1
= (wxWindow
*) 0 ;
32533 PyObject
*swig_obj
[1] ;
32535 if (!args
) SWIG_fail
;
32536 swig_obj
[0] = args
;
32537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32538 if (!SWIG_IsOK(res1
)) {
32539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAdjustedBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32541 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
32545 wxPyEndAllowThreads(__tstate
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32548 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32555 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32556 PyObject
*resultobj
= 0;
32557 wxWindow
*arg1
= (wxWindow
*) 0 ;
32558 int arg2
= (int) wxBOTH
;
32563 PyObject
* obj0
= 0 ;
32564 PyObject
* obj1
= 0 ;
32565 char * kwnames
[] = {
32566 (char *) "self",(char *) "direction", NULL
32569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32571 if (!SWIG_IsOK(res1
)) {
32572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
32574 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32577 if (!SWIG_IsOK(ecode2
)) {
32578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
32580 arg2
= static_cast< int >(val2
);
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 (arg1
)->Center(arg2
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= SWIG_Py_Void();
32595 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
= 0;
32597 wxWindow
*arg1
= (wxWindow
*) 0 ;
32598 int arg2
= (int) wxBOTH
;
32603 PyObject
* obj0
= 0 ;
32604 PyObject
* obj1
= 0 ;
32605 char * kwnames
[] = {
32606 (char *) "self",(char *) "dir", NULL
32609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32611 if (!SWIG_IsOK(res1
)) {
32612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
32614 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32617 if (!SWIG_IsOK(ecode2
)) {
32618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
32620 arg2
= static_cast< int >(val2
);
32623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32624 (arg1
)->CenterOnParent(arg2
);
32625 wxPyEndAllowThreads(__tstate
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32628 resultobj
= SWIG_Py_Void();
32635 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32636 PyObject
*resultobj
= 0;
32637 wxWindow
*arg1
= (wxWindow
*) 0 ;
32640 PyObject
*swig_obj
[1] ;
32642 if (!args
) SWIG_fail
;
32643 swig_obj
[0] = args
;
32644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32645 if (!SWIG_IsOK(res1
)) {
32646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
32648 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_Py_Void();
32662 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32663 PyObject
*resultobj
= 0;
32664 wxWindow
*arg1
= (wxWindow
*) 0 ;
32667 PyObject
*swig_obj
[1] ;
32669 if (!args
) SWIG_fail
;
32670 swig_obj
[0] = args
;
32671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32672 if (!SWIG_IsOK(res1
)) {
32673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
32675 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32678 (arg1
)->FitInside();
32679 wxPyEndAllowThreads(__tstate
);
32680 if (PyErr_Occurred()) SWIG_fail
;
32682 resultobj
= SWIG_Py_Void();
32689 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32690 PyObject
*resultobj
= 0;
32691 wxWindow
*arg1
= (wxWindow
*) 0 ;
32694 int arg4
= (int) -1 ;
32695 int arg5
= (int) -1 ;
32696 int arg6
= (int) -1 ;
32697 int arg7
= (int) -1 ;
32712 PyObject
* obj0
= 0 ;
32713 PyObject
* obj1
= 0 ;
32714 PyObject
* obj2
= 0 ;
32715 PyObject
* obj3
= 0 ;
32716 PyObject
* obj4
= 0 ;
32717 PyObject
* obj5
= 0 ;
32718 PyObject
* obj6
= 0 ;
32719 char * kwnames
[] = {
32720 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
32723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
32728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32730 if (!SWIG_IsOK(ecode2
)) {
32731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
32733 arg2
= static_cast< int >(val2
);
32734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32735 if (!SWIG_IsOK(ecode3
)) {
32736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
32738 arg3
= static_cast< int >(val3
);
32740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32741 if (!SWIG_IsOK(ecode4
)) {
32742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
32744 arg4
= static_cast< int >(val4
);
32747 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32748 if (!SWIG_IsOK(ecode5
)) {
32749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
32751 arg5
= static_cast< int >(val5
);
32754 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32755 if (!SWIG_IsOK(ecode6
)) {
32756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
32758 arg6
= static_cast< int >(val6
);
32761 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32762 if (!SWIG_IsOK(ecode7
)) {
32763 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
32765 arg7
= static_cast< int >(val7
);
32768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= SWIG_Py_Void();
32780 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32781 PyObject
*resultobj
= 0;
32782 wxWindow
*arg1
= (wxWindow
*) 0 ;
32784 wxSize
const &arg3_defvalue
= wxDefaultSize
;
32785 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
32786 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32787 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32793 PyObject
* obj0
= 0 ;
32794 PyObject
* obj1
= 0 ;
32795 PyObject
* obj2
= 0 ;
32796 PyObject
* obj3
= 0 ;
32797 char * kwnames
[] = {
32798 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
32801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32803 if (!SWIG_IsOK(res1
)) {
32804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
32806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32809 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32814 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32820 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32825 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
32826 wxPyEndAllowThreads(__tstate
);
32827 if (PyErr_Occurred()) SWIG_fail
;
32829 resultobj
= SWIG_Py_Void();
32836 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32837 PyObject
*resultobj
= 0;
32838 wxWindow
*arg1
= (wxWindow
*) 0 ;
32841 int arg4
= (int) -1 ;
32842 int arg5
= (int) -1 ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 PyObject
* obj2
= 0 ;
32856 PyObject
* obj3
= 0 ;
32857 PyObject
* obj4
= 0 ;
32858 char * kwnames
[] = {
32859 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
32862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32864 if (!SWIG_IsOK(res1
)) {
32865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
32867 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32869 if (!SWIG_IsOK(ecode2
)) {
32870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
32872 arg2
= static_cast< int >(val2
);
32873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32874 if (!SWIG_IsOK(ecode3
)) {
32875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
32877 arg3
= static_cast< int >(val3
);
32879 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32880 if (!SWIG_IsOK(ecode4
)) {
32881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
32883 arg4
= static_cast< int >(val4
);
32886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32887 if (!SWIG_IsOK(ecode5
)) {
32888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
32890 arg5
= static_cast< int >(val5
);
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32898 resultobj
= SWIG_Py_Void();
32905 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32906 PyObject
*resultobj
= 0;
32907 wxWindow
*arg1
= (wxWindow
*) 0 ;
32909 wxSize
const &arg3_defvalue
= wxDefaultSize
;
32910 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
32915 PyObject
* obj0
= 0 ;
32916 PyObject
* obj1
= 0 ;
32917 PyObject
* obj2
= 0 ;
32918 char * kwnames
[] = {
32919 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
32922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32924 if (!SWIG_IsOK(res1
)) {
32925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
32927 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32930 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32935 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= SWIG_Py_Void();
32951 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32952 PyObject
*resultobj
= 0;
32953 wxWindow
*arg1
= (wxWindow
*) 0 ;
32957 PyObject
*swig_obj
[1] ;
32959 if (!args
) SWIG_fail
;
32960 swig_obj
[0] = args
;
32961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32962 if (!SWIG_IsOK(res1
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32968 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
32969 wxPyEndAllowThreads(__tstate
);
32970 if (PyErr_Occurred()) SWIG_fail
;
32972 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32979 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32980 PyObject
*resultobj
= 0;
32981 wxWindow
*arg1
= (wxWindow
*) 0 ;
32985 PyObject
*swig_obj
[1] ;
32987 if (!args
) SWIG_fail
;
32988 swig_obj
[0] = args
;
32989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32990 if (!SWIG_IsOK(res1
)) {
32991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32993 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 result
= ((wxWindow
const *)arg1
)->GetMinSize();
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33007 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33008 PyObject
*resultobj
= 0;
33009 wxWindow
*arg1
= (wxWindow
*) 0 ;
33014 PyObject
* obj0
= 0 ;
33015 PyObject
* obj1
= 0 ;
33016 char * kwnames
[] = {
33017 (char *) "self",(char *) "minSize", NULL
33020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33022 if (!SWIG_IsOK(res1
)) {
33023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33028 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33032 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33033 wxPyEndAllowThreads(__tstate
);
33034 if (PyErr_Occurred()) SWIG_fail
;
33036 resultobj
= SWIG_Py_Void();
33043 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33044 PyObject
*resultobj
= 0;
33045 wxWindow
*arg1
= (wxWindow
*) 0 ;
33050 PyObject
* obj0
= 0 ;
33051 PyObject
* obj1
= 0 ;
33052 char * kwnames
[] = {
33053 (char *) "self",(char *) "maxSize", NULL
33056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33058 if (!SWIG_IsOK(res1
)) {
33059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33068 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33072 resultobj
= SWIG_Py_Void();
33079 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33080 PyObject
*resultobj
= 0;
33081 wxWindow
*arg1
= (wxWindow
*) 0 ;
33085 PyObject
*swig_obj
[1] ;
33087 if (!args
) SWIG_fail
;
33088 swig_obj
[0] = args
;
33089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33090 if (!SWIG_IsOK(res1
)) {
33091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
33093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33096 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
33097 wxPyEndAllowThreads(__tstate
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33100 resultobj
= SWIG_From_int(static_cast< int >(result
));
33107 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33108 PyObject
*resultobj
= 0;
33109 wxWindow
*arg1
= (wxWindow
*) 0 ;
33113 PyObject
*swig_obj
[1] ;
33115 if (!args
) SWIG_fail
;
33116 swig_obj
[0] = args
;
33117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33118 if (!SWIG_IsOK(res1
)) {
33119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
33121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= SWIG_From_int(static_cast< int >(result
));
33135 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33136 PyObject
*resultobj
= 0;
33137 wxWindow
*arg1
= (wxWindow
*) 0 ;
33141 PyObject
*swig_obj
[1] ;
33143 if (!args
) SWIG_fail
;
33144 swig_obj
[0] = args
;
33145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33146 if (!SWIG_IsOK(res1
)) {
33147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
33149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33152 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
33153 wxPyEndAllowThreads(__tstate
);
33154 if (PyErr_Occurred()) SWIG_fail
;
33156 resultobj
= SWIG_From_int(static_cast< int >(result
));
33163 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33164 PyObject
*resultobj
= 0;
33165 wxWindow
*arg1
= (wxWindow
*) 0 ;
33169 PyObject
*swig_obj
[1] ;
33171 if (!args
) SWIG_fail
;
33172 swig_obj
[0] = args
;
33173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33174 if (!SWIG_IsOK(res1
)) {
33175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
33177 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33180 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
33181 wxPyEndAllowThreads(__tstate
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 resultobj
= SWIG_From_int(static_cast< int >(result
));
33191 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33192 PyObject
*resultobj
= 0;
33193 wxWindow
*arg1
= (wxWindow
*) 0 ;
33198 PyObject
* obj0
= 0 ;
33199 PyObject
* obj1
= 0 ;
33200 char * kwnames
[] = {
33201 (char *) "self",(char *) "size", NULL
33204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33206 if (!SWIG_IsOK(res1
)) {
33207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
33209 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33212 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33216 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= SWIG_Py_Void();
33227 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
= 0;
33229 wxWindow
*arg1
= (wxWindow
*) 0 ;
33238 PyObject
* obj0
= 0 ;
33239 PyObject
* obj1
= 0 ;
33240 PyObject
* obj2
= 0 ;
33241 char * kwnames
[] = {
33242 (char *) "self",(char *) "w",(char *) "h", NULL
33245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33247 if (!SWIG_IsOK(res1
)) {
33248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
33250 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33252 if (!SWIG_IsOK(ecode2
)) {
33253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
33255 arg2
= static_cast< int >(val2
);
33256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33257 if (!SWIG_IsOK(ecode3
)) {
33258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
33260 arg3
= static_cast< int >(val3
);
33262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33263 (arg1
)->SetVirtualSize(arg2
,arg3
);
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= SWIG_Py_Void();
33274 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33275 PyObject
*resultobj
= 0;
33276 wxWindow
*arg1
= (wxWindow
*) 0 ;
33280 PyObject
*swig_obj
[1] ;
33282 if (!args
) SWIG_fail
;
33283 swig_obj
[0] = args
;
33284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33285 if (!SWIG_IsOK(res1
)) {
33286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
33288 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33291 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
33292 wxPyEndAllowThreads(__tstate
);
33293 if (PyErr_Occurred()) SWIG_fail
;
33295 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33302 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33303 PyObject
*resultobj
= 0;
33304 wxWindow
*arg1
= (wxWindow
*) 0 ;
33305 int *arg2
= (int *) 0 ;
33306 int *arg3
= (int *) 0 ;
33310 int res2
= SWIG_TMPOBJ
;
33312 int res3
= SWIG_TMPOBJ
;
33313 PyObject
*swig_obj
[1] ;
33317 if (!args
) SWIG_fail
;
33318 swig_obj
[0] = args
;
33319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33320 if (!SWIG_IsOK(res1
)) {
33321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
33323 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
33327 wxPyEndAllowThreads(__tstate
);
33328 if (PyErr_Occurred()) SWIG_fail
;
33330 resultobj
= SWIG_Py_Void();
33331 if (SWIG_IsTmpObj(res2
)) {
33332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
33334 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
33335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
33337 if (SWIG_IsTmpObj(res3
)) {
33338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
33340 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
33341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
33349 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33350 PyObject
*resultobj
= 0;
33351 wxWindow
*arg1
= (wxWindow
*) 0 ;
33355 PyObject
*swig_obj
[1] ;
33357 if (!args
) SWIG_fail
;
33358 swig_obj
[0] = args
;
33359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33360 if (!SWIG_IsOK(res1
)) {
33361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
33363 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
33367 wxPyEndAllowThreads(__tstate
);
33368 if (PyErr_Occurred()) SWIG_fail
;
33370 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33377 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33378 PyObject
*resultobj
= 0;
33379 wxWindow
*arg1
= (wxWindow
*) 0 ;
33380 bool arg2
= (bool) true ;
33386 PyObject
* obj0
= 0 ;
33387 PyObject
* obj1
= 0 ;
33388 char * kwnames
[] = {
33389 (char *) "self",(char *) "show", NULL
33392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33394 if (!SWIG_IsOK(res1
)) {
33395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
33397 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33399 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33400 if (!SWIG_IsOK(ecode2
)) {
33401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
33403 arg2
= static_cast< bool >(val2
);
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 result
= (bool)(arg1
)->Show(arg2
);
33408 wxPyEndAllowThreads(__tstate
);
33409 if (PyErr_Occurred()) SWIG_fail
;
33412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33420 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33421 PyObject
*resultobj
= 0;
33422 wxWindow
*arg1
= (wxWindow
*) 0 ;
33426 PyObject
*swig_obj
[1] ;
33428 if (!args
) SWIG_fail
;
33429 swig_obj
[0] = args
;
33430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33431 if (!SWIG_IsOK(res1
)) {
33432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
33434 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 result
= (bool)(arg1
)->Hide();
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33450 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
= 0;
33452 wxWindow
*arg1
= (wxWindow
*) 0 ;
33453 bool arg2
= (bool) true ;
33459 PyObject
* obj0
= 0 ;
33460 PyObject
* obj1
= 0 ;
33461 char * kwnames
[] = {
33462 (char *) "self",(char *) "enable", NULL
33465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33467 if (!SWIG_IsOK(res1
)) {
33468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
33470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33472 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33473 if (!SWIG_IsOK(ecode2
)) {
33474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
33476 arg2
= static_cast< bool >(val2
);
33479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33480 result
= (bool)(arg1
)->Enable(arg2
);
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33493 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33494 PyObject
*resultobj
= 0;
33495 wxWindow
*arg1
= (wxWindow
*) 0 ;
33499 PyObject
*swig_obj
[1] ;
33501 if (!args
) SWIG_fail
;
33502 swig_obj
[0] = args
;
33503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33504 if (!SWIG_IsOK(res1
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
33507 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 result
= (bool)(arg1
)->Disable();
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33523 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33524 PyObject
*resultobj
= 0;
33525 wxWindow
*arg1
= (wxWindow
*) 0 ;
33529 PyObject
*swig_obj
[1] ;
33531 if (!args
) SWIG_fail
;
33532 swig_obj
[0] = args
;
33533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33534 if (!SWIG_IsOK(res1
)) {
33535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
33537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33540 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
33541 wxPyEndAllowThreads(__tstate
);
33542 if (PyErr_Occurred()) SWIG_fail
;
33545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33553 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33554 PyObject
*resultobj
= 0;
33555 wxWindow
*arg1
= (wxWindow
*) 0 ;
33559 PyObject
*swig_obj
[1] ;
33561 if (!args
) SWIG_fail
;
33562 swig_obj
[0] = args
;
33563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33564 if (!SWIG_IsOK(res1
)) {
33565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
33567 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33570 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33583 SWIGINTERN PyObject
*_wrap_Window_IsShownOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33584 PyObject
*resultobj
= 0;
33585 wxWindow
*arg1
= (wxWindow
*) 0 ;
33589 PyObject
*swig_obj
[1] ;
33591 if (!args
) SWIG_fail
;
33592 swig_obj
[0] = args
;
33593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33594 if (!SWIG_IsOK(res1
)) {
33595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShownOnScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
33597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 result
= (bool)((wxWindow
const *)arg1
)->IsShownOnScreen();
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33613 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
= 0;
33615 wxWindow
*arg1
= (wxWindow
*) 0 ;
33621 PyObject
* obj0
= 0 ;
33622 PyObject
* obj1
= 0 ;
33623 char * kwnames
[] = {
33624 (char *) "self",(char *) "style", NULL
33627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",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_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
33632 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33633 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33634 if (!SWIG_IsOK(ecode2
)) {
33635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
33637 arg2
= static_cast< long >(val2
);
33639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33640 (arg1
)->SetWindowStyleFlag(arg2
);
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= SWIG_Py_Void();
33651 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33652 PyObject
*resultobj
= 0;
33653 wxWindow
*arg1
= (wxWindow
*) 0 ;
33657 PyObject
*swig_obj
[1] ;
33659 if (!args
) SWIG_fail
;
33660 swig_obj
[0] = args
;
33661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33662 if (!SWIG_IsOK(res1
)) {
33663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
33665 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33668 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
33669 wxPyEndAllowThreads(__tstate
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33672 resultobj
= SWIG_From_long(static_cast< long >(result
));
33679 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33680 PyObject
*resultobj
= 0;
33681 wxWindow
*arg1
= (wxWindow
*) 0 ;
33688 PyObject
* obj0
= 0 ;
33689 PyObject
* obj1
= 0 ;
33690 char * kwnames
[] = {
33691 (char *) "self",(char *) "flag", NULL
33694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33696 if (!SWIG_IsOK(res1
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
33699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33701 if (!SWIG_IsOK(ecode2
)) {
33702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
33704 arg2
= static_cast< int >(val2
);
33706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33707 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33720 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33721 PyObject
*resultobj
= 0;
33722 wxWindow
*arg1
= (wxWindow
*) 0 ;
33726 PyObject
*swig_obj
[1] ;
33728 if (!args
) SWIG_fail
;
33729 swig_obj
[0] = args
;
33730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33731 if (!SWIG_IsOK(res1
)) {
33732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
33734 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33737 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
33738 wxPyEndAllowThreads(__tstate
);
33739 if (PyErr_Occurred()) SWIG_fail
;
33742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33750 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33751 PyObject
*resultobj
= 0;
33752 wxWindow
*arg1
= (wxWindow
*) 0 ;
33758 PyObject
* obj0
= 0 ;
33759 PyObject
* obj1
= 0 ;
33760 char * kwnames
[] = {
33761 (char *) "self",(char *) "exStyle", NULL
33764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33766 if (!SWIG_IsOK(res1
)) {
33767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
33769 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33771 if (!SWIG_IsOK(ecode2
)) {
33772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
33774 arg2
= static_cast< long >(val2
);
33776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33777 (arg1
)->SetExtraStyle(arg2
);
33778 wxPyEndAllowThreads(__tstate
);
33779 if (PyErr_Occurred()) SWIG_fail
;
33781 resultobj
= SWIG_Py_Void();
33788 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33789 PyObject
*resultobj
= 0;
33790 wxWindow
*arg1
= (wxWindow
*) 0 ;
33794 PyObject
*swig_obj
[1] ;
33796 if (!args
) SWIG_fail
;
33797 swig_obj
[0] = args
;
33798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33799 if (!SWIG_IsOK(res1
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
33802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
33806 wxPyEndAllowThreads(__tstate
);
33807 if (PyErr_Occurred()) SWIG_fail
;
33809 resultobj
= SWIG_From_long(static_cast< long >(result
));
33816 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33817 PyObject
*resultobj
= 0;
33818 wxWindow
*arg1
= (wxWindow
*) 0 ;
33819 bool arg2
= (bool) true ;
33824 PyObject
* obj0
= 0 ;
33825 PyObject
* obj1
= 0 ;
33826 char * kwnames
[] = {
33827 (char *) "self",(char *) "modal", NULL
33830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33832 if (!SWIG_IsOK(res1
)) {
33833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
33835 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33837 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33838 if (!SWIG_IsOK(ecode2
)) {
33839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
33841 arg2
= static_cast< bool >(val2
);
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 (arg1
)->MakeModal(arg2
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_Py_Void();
33856 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33857 PyObject
*resultobj
= 0;
33858 wxWindow
*arg1
= (wxWindow
*) 0 ;
33864 PyObject
* obj0
= 0 ;
33865 PyObject
* obj1
= 0 ;
33866 char * kwnames
[] = {
33867 (char *) "self",(char *) "enableTheme", NULL
33870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",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_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
33875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33876 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33877 if (!SWIG_IsOK(ecode2
)) {
33878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
33880 arg2
= static_cast< bool >(val2
);
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 (arg1
)->SetThemeEnabled(arg2
);
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33887 resultobj
= SWIG_Py_Void();
33894 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33895 PyObject
*resultobj
= 0;
33896 wxWindow
*arg1
= (wxWindow
*) 0 ;
33900 PyObject
*swig_obj
[1] ;
33902 if (!args
) SWIG_fail
;
33903 swig_obj
[0] = args
;
33904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33905 if (!SWIG_IsOK(res1
)) {
33906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
33908 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
33912 wxPyEndAllowThreads(__tstate
);
33913 if (PyErr_Occurred()) SWIG_fail
;
33916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33924 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33925 PyObject
*resultobj
= 0;
33926 wxWindow
*arg1
= (wxWindow
*) 0 ;
33929 PyObject
*swig_obj
[1] ;
33931 if (!args
) SWIG_fail
;
33932 swig_obj
[0] = args
;
33933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33934 if (!SWIG_IsOK(res1
)) {
33935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
33937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33940 (arg1
)->SetFocus();
33941 wxPyEndAllowThreads(__tstate
);
33942 if (PyErr_Occurred()) SWIG_fail
;
33944 resultobj
= SWIG_Py_Void();
33951 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33952 PyObject
*resultobj
= 0;
33953 wxWindow
*arg1
= (wxWindow
*) 0 ;
33956 PyObject
*swig_obj
[1] ;
33958 if (!args
) SWIG_fail
;
33959 swig_obj
[0] = args
;
33960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33961 if (!SWIG_IsOK(res1
)) {
33962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
33964 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 (arg1
)->SetFocusFromKbd();
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 resultobj
= SWIG_Py_Void();
33978 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33979 PyObject
*resultobj
= 0;
33980 wxWindow
*result
= 0 ;
33982 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
33984 if (!wxPyCheckForApp()) SWIG_fail
;
33985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33986 result
= (wxWindow
*)wxWindow::FindFocus();
33987 wxPyEndAllowThreads(__tstate
);
33988 if (PyErr_Occurred()) SWIG_fail
;
33991 resultobj
= wxPyMake_wxObject(result
, 0);
33999 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34000 PyObject
*resultobj
= 0;
34001 wxWindow
*arg1
= (wxWindow
*) 0 ;
34005 PyObject
*swig_obj
[1] ;
34007 if (!args
) SWIG_fail
;
34008 swig_obj
[0] = args
;
34009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34010 if (!SWIG_IsOK(res1
)) {
34011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
34013 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34016 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
34017 wxPyEndAllowThreads(__tstate
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34029 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34030 PyObject
*resultobj
= 0;
34031 wxWindow
*arg1
= (wxWindow
*) 0 ;
34035 PyObject
*swig_obj
[1] ;
34037 if (!args
) SWIG_fail
;
34038 swig_obj
[0] = args
;
34039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34040 if (!SWIG_IsOK(res1
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
34043 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34059 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34060 PyObject
*resultobj
= 0;
34061 wxWindow
*arg1
= (wxWindow
*) 0 ;
34062 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
34068 PyObject
* obj0
= 0 ;
34069 PyObject
* obj1
= 0 ;
34070 char * kwnames
[] = {
34071 (char *) "self",(char *) "flags", NULL
34074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34076 if (!SWIG_IsOK(res1
)) {
34077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
34079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34082 if (!SWIG_IsOK(ecode2
)) {
34083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
34085 arg2
= static_cast< int >(val2
);
34088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34089 result
= (bool)(arg1
)->Navigate(arg2
);
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34102 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
= 0;
34104 wxWindow
*arg1
= (wxWindow
*) 0 ;
34105 wxWindow
*arg2
= (wxWindow
*) 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 char * kwnames
[] = {
34113 (char *) "self",(char *) "win", NULL
34116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34118 if (!SWIG_IsOK(res1
)) {
34119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
34121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34123 if (!SWIG_IsOK(res2
)) {
34124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
34126 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34129 (arg1
)->MoveAfterInTabOrder(arg2
);
34130 wxPyEndAllowThreads(__tstate
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34133 resultobj
= SWIG_Py_Void();
34140 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
= 0;
34142 wxWindow
*arg1
= (wxWindow
*) 0 ;
34143 wxWindow
*arg2
= (wxWindow
*) 0 ;
34148 PyObject
* obj0
= 0 ;
34149 PyObject
* obj1
= 0 ;
34150 char * kwnames
[] = {
34151 (char *) "self",(char *) "win", NULL
34154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34156 if (!SWIG_IsOK(res1
)) {
34157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
34159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34161 if (!SWIG_IsOK(res2
)) {
34162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
34164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34167 (arg1
)->MoveBeforeInTabOrder(arg2
);
34168 wxPyEndAllowThreads(__tstate
);
34169 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= SWIG_Py_Void();
34178 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34179 PyObject
*resultobj
= 0;
34180 wxWindow
*arg1
= (wxWindow
*) 0 ;
34181 PyObject
*result
= 0 ;
34184 PyObject
*swig_obj
[1] ;
34186 if (!args
) SWIG_fail
;
34187 swig_obj
[0] = args
;
34188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34189 if (!SWIG_IsOK(res1
)) {
34190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
34192 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= result
;
34206 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34207 PyObject
*resultobj
= 0;
34208 wxWindow
*arg1
= (wxWindow
*) 0 ;
34209 wxWindow
*result
= 0 ;
34212 PyObject
*swig_obj
[1] ;
34214 if (!args
) SWIG_fail
;
34215 swig_obj
[0] = args
;
34216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34217 if (!SWIG_IsOK(res1
)) {
34218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
34220 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= wxPyMake_wxObject(result
, 0);
34236 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34237 PyObject
*resultobj
= 0;
34238 wxWindow
*arg1
= (wxWindow
*) 0 ;
34239 wxWindow
*result
= 0 ;
34242 PyObject
*swig_obj
[1] ;
34244 if (!args
) SWIG_fail
;
34245 swig_obj
[0] = args
;
34246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34247 if (!SWIG_IsOK(res1
)) {
34248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
34250 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
34254 wxPyEndAllowThreads(__tstate
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34258 resultobj
= wxPyMake_wxObject(result
, 0);
34266 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34267 PyObject
*resultobj
= 0;
34268 wxWindow
*arg1
= (wxWindow
*) 0 ;
34272 PyObject
*swig_obj
[1] ;
34274 if (!args
) SWIG_fail
;
34275 swig_obj
[0] = args
;
34276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34277 if (!SWIG_IsOK(res1
)) {
34278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
34280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34296 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34297 PyObject
*resultobj
= 0;
34298 wxWindow
*arg1
= (wxWindow
*) 0 ;
34299 wxWindow
*arg2
= (wxWindow
*) 0 ;
34305 PyObject
* obj0
= 0 ;
34306 PyObject
* obj1
= 0 ;
34307 char * kwnames
[] = {
34308 (char *) "self",(char *) "newParent", NULL
34311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34313 if (!SWIG_IsOK(res1
)) {
34314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
34316 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34318 if (!SWIG_IsOK(res2
)) {
34319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
34321 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34324 result
= (bool)(arg1
)->Reparent(arg2
);
34325 wxPyEndAllowThreads(__tstate
);
34326 if (PyErr_Occurred()) SWIG_fail
;
34329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34337 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34338 PyObject
*resultobj
= 0;
34339 wxWindow
*arg1
= (wxWindow
*) 0 ;
34340 wxWindow
*arg2
= (wxWindow
*) 0 ;
34345 PyObject
* obj0
= 0 ;
34346 PyObject
* obj1
= 0 ;
34347 char * kwnames
[] = {
34348 (char *) "self",(char *) "child", NULL
34351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34353 if (!SWIG_IsOK(res1
)) {
34354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
34356 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34358 if (!SWIG_IsOK(res2
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
34361 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 (arg1
)->AddChild(arg2
);
34365 wxPyEndAllowThreads(__tstate
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34368 resultobj
= SWIG_Py_Void();
34375 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34376 PyObject
*resultobj
= 0;
34377 wxWindow
*arg1
= (wxWindow
*) 0 ;
34378 wxWindow
*arg2
= (wxWindow
*) 0 ;
34383 PyObject
* obj0
= 0 ;
34384 PyObject
* obj1
= 0 ;
34385 char * kwnames
[] = {
34386 (char *) "self",(char *) "child", NULL
34389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34391 if (!SWIG_IsOK(res1
)) {
34392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
34394 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34395 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34396 if (!SWIG_IsOK(res2
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
34399 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34402 (arg1
)->RemoveChild(arg2
);
34403 wxPyEndAllowThreads(__tstate
);
34404 if (PyErr_Occurred()) SWIG_fail
;
34406 resultobj
= SWIG_Py_Void();
34413 SWIGINTERN PyObject
*_wrap_Window_SetDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34414 PyObject
*resultobj
= 0;
34415 wxWindow
*arg1
= (wxWindow
*) 0 ;
34421 PyObject
* obj0
= 0 ;
34422 PyObject
* obj1
= 0 ;
34423 char * kwnames
[] = {
34424 (char *) "self",(char *) "on", NULL
34427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDoubleBuffered",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34429 if (!SWIG_IsOK(res1
)) {
34430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow *""'");
34432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34434 if (!SWIG_IsOK(ecode2
)) {
34435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "2"" of type '" "bool""'");
34437 arg2
= static_cast< bool >(val2
);
34439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34440 wxWindow_SetDoubleBuffered(arg1
,arg2
);
34441 wxPyEndAllowThreads(__tstate
);
34442 if (PyErr_Occurred()) SWIG_fail
;
34444 resultobj
= SWIG_Py_Void();
34451 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34452 PyObject
*resultobj
= 0;
34453 wxWindow
*arg1
= (wxWindow
*) 0 ;
34455 wxWindow
*result
= 0 ;
34460 PyObject
* obj0
= 0 ;
34461 PyObject
* obj1
= 0 ;
34462 char * kwnames
[] = {
34463 (char *) "self",(char *) "winid", NULL
34466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34468 if (!SWIG_IsOK(res1
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
34471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
34473 if (!SWIG_IsOK(ecode2
)) {
34474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
34476 arg2
= static_cast< long >(val2
);
34478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34479 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= wxPyMake_wxObject(result
, 0);
34492 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34493 PyObject
*resultobj
= 0;
34494 wxWindow
*arg1
= (wxWindow
*) 0 ;
34495 wxString
*arg2
= 0 ;
34496 wxWindow
*result
= 0 ;
34499 bool temp2
= false ;
34500 PyObject
* obj0
= 0 ;
34501 PyObject
* obj1
= 0 ;
34502 char * kwnames
[] = {
34503 (char *) "self",(char *) "name", NULL
34506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34508 if (!SWIG_IsOK(res1
)) {
34509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
34511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34513 arg2
= wxString_in_helper(obj1
);
34514 if (arg2
== NULL
) SWIG_fail
;
34518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34519 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= wxPyMake_wxObject(result
, 0);
34540 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34541 PyObject
*resultobj
= 0;
34542 wxWindow
*arg1
= (wxWindow
*) 0 ;
34543 wxEvtHandler
*result
= 0 ;
34546 PyObject
*swig_obj
[1] ;
34548 if (!args
) SWIG_fail
;
34549 swig_obj
[0] = args
;
34550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34551 if (!SWIG_IsOK(res1
)) {
34552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
34554 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34557 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34562 resultobj
= wxPyMake_wxObject(result
, 0);
34570 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34571 PyObject
*resultobj
= 0;
34572 wxWindow
*arg1
= (wxWindow
*) 0 ;
34573 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34578 PyObject
* obj0
= 0 ;
34579 PyObject
* obj1
= 0 ;
34580 char * kwnames
[] = {
34581 (char *) "self",(char *) "handler", NULL
34584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34586 if (!SWIG_IsOK(res1
)) {
34587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
34589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
34591 if (!SWIG_IsOK(res2
)) {
34592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
34594 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
34596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34597 (arg1
)->SetEventHandler(arg2
);
34598 wxPyEndAllowThreads(__tstate
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34601 resultobj
= SWIG_Py_Void();
34608 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
= 0;
34610 wxWindow
*arg1
= (wxWindow
*) 0 ;
34611 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34616 PyObject
* obj0
= 0 ;
34617 PyObject
* obj1
= 0 ;
34618 char * kwnames
[] = {
34619 (char *) "self",(char *) "handler", NULL
34622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34624 if (!SWIG_IsOK(res1
)) {
34625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
34627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
34629 if (!SWIG_IsOK(res2
)) {
34630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
34632 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 (arg1
)->PushEventHandler(arg2
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= SWIG_Py_Void();
34646 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34647 PyObject
*resultobj
= 0;
34648 wxWindow
*arg1
= (wxWindow
*) 0 ;
34649 bool arg2
= (bool) false ;
34650 wxEvtHandler
*result
= 0 ;
34655 PyObject
* obj0
= 0 ;
34656 PyObject
* obj1
= 0 ;
34657 char * kwnames
[] = {
34658 (char *) "self",(char *) "deleteHandler", NULL
34661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34663 if (!SWIG_IsOK(res1
)) {
34664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
34666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34668 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34669 if (!SWIG_IsOK(ecode2
)) {
34670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
34672 arg2
= static_cast< bool >(val2
);
34675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34676 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= wxPyMake_wxObject(result
, 0);
34689 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34690 PyObject
*resultobj
= 0;
34691 wxWindow
*arg1
= (wxWindow
*) 0 ;
34692 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34698 PyObject
* obj0
= 0 ;
34699 PyObject
* obj1
= 0 ;
34700 char * kwnames
[] = {
34701 (char *) "self",(char *) "handler", NULL
34704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34706 if (!SWIG_IsOK(res1
)) {
34707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
34709 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
34711 if (!SWIG_IsOK(res2
)) {
34712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
34714 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34730 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
= 0;
34732 wxWindow
*arg1
= (wxWindow
*) 0 ;
34733 wxValidator
*arg2
= 0 ;
34738 PyObject
* obj0
= 0 ;
34739 PyObject
* obj1
= 0 ;
34740 char * kwnames
[] = {
34741 (char *) "self",(char *) "validator", NULL
34744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34746 if (!SWIG_IsOK(res1
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
34749 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
34751 if (!SWIG_IsOK(res2
)) {
34752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
34755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
34757 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
34759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34760 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
34761 wxPyEndAllowThreads(__tstate
);
34762 if (PyErr_Occurred()) SWIG_fail
;
34764 resultobj
= SWIG_Py_Void();
34771 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34772 PyObject
*resultobj
= 0;
34773 wxWindow
*arg1
= (wxWindow
*) 0 ;
34774 wxValidator
*result
= 0 ;
34777 PyObject
*swig_obj
[1] ;
34779 if (!args
) SWIG_fail
;
34780 swig_obj
[0] = args
;
34781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34782 if (!SWIG_IsOK(res1
)) {
34783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
34785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 result
= (wxValidator
*)(arg1
)->GetValidator();
34789 wxPyEndAllowThreads(__tstate
);
34790 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34801 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34802 PyObject
*resultobj
= 0;
34803 wxWindow
*arg1
= (wxWindow
*) 0 ;
34807 PyObject
*swig_obj
[1] ;
34809 if (!args
) SWIG_fail
;
34810 swig_obj
[0] = args
;
34811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34812 if (!SWIG_IsOK(res1
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
34815 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34818 result
= (bool)(arg1
)->Validate();
34819 wxPyEndAllowThreads(__tstate
);
34820 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34831 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34832 PyObject
*resultobj
= 0;
34833 wxWindow
*arg1
= (wxWindow
*) 0 ;
34837 PyObject
*swig_obj
[1] ;
34839 if (!args
) SWIG_fail
;
34840 swig_obj
[0] = args
;
34841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34842 if (!SWIG_IsOK(res1
)) {
34843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
34845 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 result
= (bool)(arg1
)->TransferDataToWindow();
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34861 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34862 PyObject
*resultobj
= 0;
34863 wxWindow
*arg1
= (wxWindow
*) 0 ;
34867 PyObject
*swig_obj
[1] ;
34869 if (!args
) SWIG_fail
;
34870 swig_obj
[0] = args
;
34871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34872 if (!SWIG_IsOK(res1
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
34875 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= (bool)(arg1
)->TransferDataFromWindow();
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34891 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34892 PyObject
*resultobj
= 0;
34893 wxWindow
*arg1
= (wxWindow
*) 0 ;
34896 PyObject
*swig_obj
[1] ;
34898 if (!args
) SWIG_fail
;
34899 swig_obj
[0] = args
;
34900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34901 if (!SWIG_IsOK(res1
)) {
34902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
34904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 (arg1
)->InitDialog();
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= SWIG_Py_Void();
34918 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
= 0;
34920 wxWindow
*arg1
= (wxWindow
*) 0 ;
34921 wxAcceleratorTable
*arg2
= 0 ;
34926 PyObject
* obj0
= 0 ;
34927 PyObject
* obj1
= 0 ;
34928 char * kwnames
[] = {
34929 (char *) "self",(char *) "accel", NULL
34932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34934 if (!SWIG_IsOK(res1
)) {
34935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
34937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
34939 if (!SWIG_IsOK(res2
)) {
34940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
34943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
34945 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
34947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34948 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
34949 wxPyEndAllowThreads(__tstate
);
34950 if (PyErr_Occurred()) SWIG_fail
;
34952 resultobj
= SWIG_Py_Void();
34959 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34960 PyObject
*resultobj
= 0;
34961 wxWindow
*arg1
= (wxWindow
*) 0 ;
34962 wxAcceleratorTable
*result
= 0 ;
34965 PyObject
*swig_obj
[1] ;
34967 if (!args
) SWIG_fail
;
34968 swig_obj
[0] = args
;
34969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34970 if (!SWIG_IsOK(res1
)) {
34971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
34973 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
34977 wxPyEndAllowThreads(__tstate
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
34987 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34988 PyObject
*resultobj
= 0;
34989 wxWindow
*arg1
= (wxWindow
*) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 PyObject
* obj1
= 0 ;
35004 PyObject
* obj2
= 0 ;
35005 PyObject
* obj3
= 0 ;
35006 char * kwnames
[] = {
35007 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
35010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35012 if (!SWIG_IsOK(res1
)) {
35013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
35015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35017 if (!SWIG_IsOK(ecode2
)) {
35018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
35020 arg2
= static_cast< int >(val2
);
35021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35022 if (!SWIG_IsOK(ecode3
)) {
35023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
35025 arg3
= static_cast< int >(val3
);
35026 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35027 if (!SWIG_IsOK(ecode4
)) {
35028 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
35030 arg4
= static_cast< int >(val4
);
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
35034 wxPyEndAllowThreads(__tstate
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35046 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35047 PyObject
*resultobj
= 0;
35048 wxWindow
*arg1
= (wxWindow
*) 0 ;
35055 PyObject
* obj0
= 0 ;
35056 PyObject
* obj1
= 0 ;
35057 char * kwnames
[] = {
35058 (char *) "self",(char *) "hotkeyId", NULL
35061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35063 if (!SWIG_IsOK(res1
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
35066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35068 if (!SWIG_IsOK(ecode2
)) {
35069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
35071 arg2
= static_cast< int >(val2
);
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35087 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
= 0;
35089 wxWindow
*arg1
= (wxWindow
*) 0 ;
35090 wxPoint
*arg2
= 0 ;
35095 PyObject
* obj0
= 0 ;
35096 PyObject
* obj1
= 0 ;
35097 char * kwnames
[] = {
35098 (char *) "self",(char *) "pt", NULL
35101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35103 if (!SWIG_IsOK(res1
)) {
35104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
35106 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35113 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
35114 wxPyEndAllowThreads(__tstate
);
35115 if (PyErr_Occurred()) SWIG_fail
;
35117 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35124 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35125 PyObject
*resultobj
= 0;
35126 wxWindow
*arg1
= (wxWindow
*) 0 ;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 char * kwnames
[] = {
35135 (char *) "self",(char *) "sz", NULL
35138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35140 if (!SWIG_IsOK(res1
)) {
35141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
35143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35146 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35150 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35161 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
= 0;
35163 wxWindow
*arg1
= (wxWindow
*) 0 ;
35164 wxPoint
*arg2
= 0 ;
35169 PyObject
* obj0
= 0 ;
35170 PyObject
* obj1
= 0 ;
35171 char * kwnames
[] = {
35172 (char *) "self",(char *) "pt", NULL
35175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35177 if (!SWIG_IsOK(res1
)) {
35178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
35180 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35187 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
35188 wxPyEndAllowThreads(__tstate
);
35189 if (PyErr_Occurred()) SWIG_fail
;
35191 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35198 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35199 PyObject
*resultobj
= 0;
35200 wxWindow
*arg1
= (wxWindow
*) 0 ;
35206 PyObject
* obj0
= 0 ;
35207 PyObject
* obj1
= 0 ;
35208 char * kwnames
[] = {
35209 (char *) "self",(char *) "sz", NULL
35212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35214 if (!SWIG_IsOK(res1
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
35217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35220 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35224 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
35225 wxPyEndAllowThreads(__tstate
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35228 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35235 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
= 0;
35237 wxWindow
*arg1
= (wxWindow
*) 0 ;
35238 wxPoint
*arg2
= 0 ;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 char * kwnames
[] = {
35246 (char *) "self",(char *) "pt", NULL
35249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35251 if (!SWIG_IsOK(res1
)) {
35252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
35254 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35261 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
35262 wxPyEndAllowThreads(__tstate
);
35263 if (PyErr_Occurred()) SWIG_fail
;
35265 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35272 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35273 PyObject
*resultobj
= 0;
35274 wxWindow
*arg1
= (wxWindow
*) 0 ;
35280 PyObject
* obj0
= 0 ;
35281 PyObject
* obj1
= 0 ;
35282 char * kwnames
[] = {
35283 (char *) "self",(char *) "sz", NULL
35286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35288 if (!SWIG_IsOK(res1
)) {
35289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
35291 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35294 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35298 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
35299 wxPyEndAllowThreads(__tstate
);
35300 if (PyErr_Occurred()) SWIG_fail
;
35302 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
35309 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35310 PyObject
*resultobj
= 0;
35311 wxWindow
*arg1
= (wxWindow
*) 0 ;
35320 PyObject
* obj0
= 0 ;
35321 PyObject
* obj1
= 0 ;
35322 PyObject
* obj2
= 0 ;
35323 char * kwnames
[] = {
35324 (char *) "self",(char *) "x",(char *) "y", NULL
35327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35329 if (!SWIG_IsOK(res1
)) {
35330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
35332 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35334 if (!SWIG_IsOK(ecode2
)) {
35335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
35337 arg2
= static_cast< int >(val2
);
35338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35339 if (!SWIG_IsOK(ecode3
)) {
35340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
35342 arg3
= static_cast< int >(val3
);
35344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35345 (arg1
)->WarpPointer(arg2
,arg3
);
35346 wxPyEndAllowThreads(__tstate
);
35347 if (PyErr_Occurred()) SWIG_fail
;
35349 resultobj
= SWIG_Py_Void();
35356 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35357 PyObject
*resultobj
= 0;
35358 wxWindow
*arg1
= (wxWindow
*) 0 ;
35361 PyObject
*swig_obj
[1] ;
35363 if (!args
) SWIG_fail
;
35364 swig_obj
[0] = args
;
35365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35366 if (!SWIG_IsOK(res1
)) {
35367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
35369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35372 (arg1
)->CaptureMouse();
35373 wxPyEndAllowThreads(__tstate
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35376 resultobj
= SWIG_Py_Void();
35383 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35384 PyObject
*resultobj
= 0;
35385 wxWindow
*arg1
= (wxWindow
*) 0 ;
35388 PyObject
*swig_obj
[1] ;
35390 if (!args
) SWIG_fail
;
35391 swig_obj
[0] = args
;
35392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35393 if (!SWIG_IsOK(res1
)) {
35394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
35396 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35399 (arg1
)->ReleaseMouse();
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35403 resultobj
= SWIG_Py_Void();
35410 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35411 PyObject
*resultobj
= 0;
35412 wxWindow
*result
= 0 ;
35414 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
35416 if (!wxPyCheckForApp()) SWIG_fail
;
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 result
= (wxWindow
*)wxWindow::GetCapture();
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35423 resultobj
= wxPyMake_wxObject(result
, 0);
35431 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35432 PyObject
*resultobj
= 0;
35433 wxWindow
*arg1
= (wxWindow
*) 0 ;
35437 PyObject
*swig_obj
[1] ;
35439 if (!args
) SWIG_fail
;
35440 swig_obj
[0] = args
;
35441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35442 if (!SWIG_IsOK(res1
)) {
35443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
35445 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35448 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
35449 wxPyEndAllowThreads(__tstate
);
35450 if (PyErr_Occurred()) SWIG_fail
;
35453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35461 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
= 0;
35463 wxWindow
*arg1
= (wxWindow
*) 0 ;
35464 bool arg2
= (bool) true ;
35465 wxRect
*arg3
= (wxRect
*) NULL
;
35472 PyObject
* obj0
= 0 ;
35473 PyObject
* obj1
= 0 ;
35474 PyObject
* obj2
= 0 ;
35475 char * kwnames
[] = {
35476 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
35479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35481 if (!SWIG_IsOK(res1
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
35484 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35486 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35487 if (!SWIG_IsOK(ecode2
)) {
35488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
35490 arg2
= static_cast< bool >(val2
);
35493 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
35494 if (!SWIG_IsOK(res3
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
35497 arg3
= reinterpret_cast< wxRect
* >(argp3
);
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
35502 wxPyEndAllowThreads(__tstate
);
35503 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= SWIG_Py_Void();
35512 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35513 PyObject
*resultobj
= 0;
35514 wxWindow
*arg1
= (wxWindow
*) 0 ;
35516 bool arg3
= (bool) true ;
35522 PyObject
* obj0
= 0 ;
35523 PyObject
* obj1
= 0 ;
35524 PyObject
* obj2
= 0 ;
35525 char * kwnames
[] = {
35526 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
35529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35531 if (!SWIG_IsOK(res1
)) {
35532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
35534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35537 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
35540 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35541 if (!SWIG_IsOK(ecode3
)) {
35542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
35544 arg3
= static_cast< bool >(val3
);
35547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35548 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
35549 wxPyEndAllowThreads(__tstate
);
35550 if (PyErr_Occurred()) SWIG_fail
;
35552 resultobj
= SWIG_Py_Void();
35559 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35560 PyObject
*resultobj
= 0;
35561 wxWindow
*arg1
= (wxWindow
*) 0 ;
35564 PyObject
*swig_obj
[1] ;
35566 if (!args
) SWIG_fail
;
35567 swig_obj
[0] = args
;
35568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35569 if (!SWIG_IsOK(res1
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
35572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= SWIG_Py_Void();
35586 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35587 PyObject
*resultobj
= 0;
35588 wxWindow
*arg1
= (wxWindow
*) 0 ;
35591 PyObject
*swig_obj
[1] ;
35593 if (!args
) SWIG_fail
;
35594 swig_obj
[0] = args
;
35595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35596 if (!SWIG_IsOK(res1
)) {
35597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
35599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35602 (arg1
)->ClearBackground();
35603 wxPyEndAllowThreads(__tstate
);
35604 if (PyErr_Occurred()) SWIG_fail
;
35606 resultobj
= SWIG_Py_Void();
35613 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35614 PyObject
*resultobj
= 0;
35615 wxWindow
*arg1
= (wxWindow
*) 0 ;
35618 PyObject
*swig_obj
[1] ;
35620 if (!args
) SWIG_fail
;
35621 swig_obj
[0] = args
;
35622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35623 if (!SWIG_IsOK(res1
)) {
35624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
35626 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35630 wxPyEndAllowThreads(__tstate
);
35631 if (PyErr_Occurred()) SWIG_fail
;
35633 resultobj
= SWIG_Py_Void();
35640 SWIGINTERN PyObject
*_wrap_Window_IsFrozen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35641 PyObject
*resultobj
= 0;
35642 wxWindow
*arg1
= (wxWindow
*) 0 ;
35646 PyObject
*swig_obj
[1] ;
35648 if (!args
) SWIG_fail
;
35649 swig_obj
[0] = args
;
35650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35651 if (!SWIG_IsOK(res1
)) {
35652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsFrozen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35657 result
= (bool)((wxWindow
const *)arg1
)->IsFrozen();
35658 wxPyEndAllowThreads(__tstate
);
35659 if (PyErr_Occurred()) SWIG_fail
;
35662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35670 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35671 PyObject
*resultobj
= 0;
35672 wxWindow
*arg1
= (wxWindow
*) 0 ;
35675 PyObject
*swig_obj
[1] ;
35677 if (!args
) SWIG_fail
;
35678 swig_obj
[0] = args
;
35679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35680 if (!SWIG_IsOK(res1
)) {
35681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
35683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35687 wxPyEndAllowThreads(__tstate
);
35688 if (PyErr_Occurred()) SWIG_fail
;
35690 resultobj
= SWIG_Py_Void();
35697 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35698 PyObject
*resultobj
= 0;
35699 wxWindow
*arg1
= (wxWindow
*) 0 ;
35705 PyObject
* obj0
= 0 ;
35706 PyObject
* obj1
= 0 ;
35707 char * kwnames
[] = {
35708 (char *) "self",(char *) "dc", NULL
35711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35713 if (!SWIG_IsOK(res1
)) {
35714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
35716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
35718 if (!SWIG_IsOK(res2
)) {
35719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
35722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
35724 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35727 (arg1
)->PrepareDC(*arg2
);
35728 wxPyEndAllowThreads(__tstate
);
35729 if (PyErr_Occurred()) SWIG_fail
;
35731 resultobj
= SWIG_Py_Void();
35738 SWIGINTERN PyObject
*_wrap_Window_IsDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35739 PyObject
*resultobj
= 0;
35740 wxWindow
*arg1
= (wxWindow
*) 0 ;
35744 PyObject
*swig_obj
[1] ;
35746 if (!args
) SWIG_fail
;
35747 swig_obj
[0] = args
;
35748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35749 if (!SWIG_IsOK(res1
)) {
35750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow const *""'");
35752 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35755 result
= (bool)((wxWindow
const *)arg1
)->IsDoubleBuffered();
35756 wxPyEndAllowThreads(__tstate
);
35757 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35768 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35769 PyObject
*resultobj
= 0;
35770 wxWindow
*arg1
= (wxWindow
*) 0 ;
35771 wxRegion
*result
= 0 ;
35774 PyObject
*swig_obj
[1] ;
35776 if (!args
) SWIG_fail
;
35777 swig_obj
[0] = args
;
35778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35779 if (!SWIG_IsOK(res1
)) {
35780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
35782 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35786 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
35787 result
= (wxRegion
*) &_result_ref
;
35789 wxPyEndAllowThreads(__tstate
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
35799 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35800 PyObject
*resultobj
= 0;
35801 wxWindow
*arg1
= (wxWindow
*) 0 ;
35805 PyObject
*swig_obj
[1] ;
35807 if (!args
) SWIG_fail
;
35808 swig_obj
[0] = args
;
35809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35810 if (!SWIG_IsOK(res1
)) {
35811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
35813 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35816 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
35817 wxPyEndAllowThreads(__tstate
);
35818 if (PyErr_Occurred()) SWIG_fail
;
35820 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35827 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35828 PyObject
*resultobj
= 0;
35829 wxWindow
*arg1
= (wxWindow
*) 0 ;
35832 int arg4
= (int) 1 ;
35833 int arg5
= (int) 1 ;
35845 PyObject
* obj0
= 0 ;
35846 PyObject
* obj1
= 0 ;
35847 PyObject
* obj2
= 0 ;
35848 PyObject
* obj3
= 0 ;
35849 PyObject
* obj4
= 0 ;
35850 char * kwnames
[] = {
35851 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
35854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35856 if (!SWIG_IsOK(res1
)) {
35857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
35859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35861 if (!SWIG_IsOK(ecode2
)) {
35862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
35864 arg2
= static_cast< int >(val2
);
35865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35866 if (!SWIG_IsOK(ecode3
)) {
35867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
35869 arg3
= static_cast< int >(val3
);
35871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35872 if (!SWIG_IsOK(ecode4
)) {
35873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
35875 arg4
= static_cast< int >(val4
);
35878 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35879 if (!SWIG_IsOK(ecode5
)) {
35880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
35882 arg5
= static_cast< int >(val5
);
35885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35886 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35899 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35900 PyObject
*resultobj
= 0;
35901 wxWindow
*arg1
= (wxWindow
*) 0 ;
35902 wxPoint
*arg2
= 0 ;
35907 PyObject
* obj0
= 0 ;
35908 PyObject
* obj1
= 0 ;
35909 char * kwnames
[] = {
35910 (char *) "self",(char *) "pt", NULL
35913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35915 if (!SWIG_IsOK(res1
)) {
35916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
35918 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35925 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35938 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35939 PyObject
*resultobj
= 0;
35940 wxWindow
*arg1
= (wxWindow
*) 0 ;
35946 PyObject
* obj0
= 0 ;
35947 PyObject
* obj1
= 0 ;
35948 char * kwnames
[] = {
35949 (char *) "self",(char *) "rect", NULL
35952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35954 if (!SWIG_IsOK(res1
)) {
35955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
35957 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35960 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
35963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35964 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
35965 wxPyEndAllowThreads(__tstate
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35977 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35978 PyObject
*resultobj
= 0;
35979 wxWindow
*arg1
= (wxWindow
*) 0 ;
35980 SwigValueWrapper
<wxVisualAttributes
> result
;
35983 PyObject
*swig_obj
[1] ;
35985 if (!args
) SWIG_fail
;
35986 swig_obj
[0] = args
;
35987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35988 if (!SWIG_IsOK(res1
)) {
35989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
35991 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35994 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35998 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36005 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36006 PyObject
*resultobj
= 0;
36007 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36008 SwigValueWrapper
<wxVisualAttributes
> result
;
36011 PyObject
* obj0
= 0 ;
36012 char * kwnames
[] = {
36013 (char *) "variant", NULL
36016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36019 if (!SWIG_IsOK(ecode1
)) {
36020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36022 arg1
= static_cast< wxWindowVariant
>(val1
);
36025 if (!wxPyCheckForApp()) SWIG_fail
;
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= wxWindow::GetClassDefaultAttributes(arg1
);
36028 wxPyEndAllowThreads(__tstate
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36031 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36038 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36039 PyObject
*resultobj
= 0;
36040 wxWindow
*arg1
= (wxWindow
*) 0 ;
36041 wxColour
*arg2
= 0 ;
36046 PyObject
* obj0
= 0 ;
36047 PyObject
* obj1
= 0 ;
36048 char * kwnames
[] = {
36049 (char *) "self",(char *) "colour", NULL
36052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36054 if (!SWIG_IsOK(res1
)) {
36055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
36057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36064 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36065 wxPyEndAllowThreads(__tstate
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36077 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36078 PyObject
*resultobj
= 0;
36079 wxWindow
*arg1
= (wxWindow
*) 0 ;
36080 wxColour
*arg2
= 0 ;
36084 PyObject
* obj0
= 0 ;
36085 PyObject
* obj1
= 0 ;
36086 char * kwnames
[] = {
36087 (char *) "self",(char *) "colour", NULL
36090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36092 if (!SWIG_IsOK(res1
)) {
36093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
36095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36098 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36102 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
36103 wxPyEndAllowThreads(__tstate
);
36104 if (PyErr_Occurred()) SWIG_fail
;
36106 resultobj
= SWIG_Py_Void();
36113 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36114 PyObject
*resultobj
= 0;
36115 wxWindow
*arg1
= (wxWindow
*) 0 ;
36116 wxColour
*arg2
= 0 ;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 char * kwnames
[] = {
36124 (char *) "self",(char *) "colour", NULL
36127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36129 if (!SWIG_IsOK(res1
)) {
36130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
36132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36135 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36152 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36153 PyObject
*resultobj
= 0;
36154 wxWindow
*arg1
= (wxWindow
*) 0 ;
36155 wxColour
*arg2
= 0 ;
36159 PyObject
* obj0
= 0 ;
36160 PyObject
* obj1
= 0 ;
36161 char * kwnames
[] = {
36162 (char *) "self",(char *) "colour", NULL
36165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36167 if (!SWIG_IsOK(res1
)) {
36168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
36170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36173 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36181 resultobj
= SWIG_Py_Void();
36188 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36189 PyObject
*resultobj
= 0;
36190 wxWindow
*arg1
= (wxWindow
*) 0 ;
36194 PyObject
*swig_obj
[1] ;
36196 if (!args
) SWIG_fail
;
36197 swig_obj
[0] = args
;
36198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36199 if (!SWIG_IsOK(res1
)) {
36200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
36202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
36206 wxPyEndAllowThreads(__tstate
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36209 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
36216 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36217 PyObject
*resultobj
= 0;
36218 wxWindow
*arg1
= (wxWindow
*) 0 ;
36222 PyObject
*swig_obj
[1] ;
36224 if (!args
) SWIG_fail
;
36225 swig_obj
[0] = args
;
36226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36227 if (!SWIG_IsOK(res1
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
36230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36233 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
36244 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36245 PyObject
*resultobj
= 0;
36246 wxWindow
*arg1
= (wxWindow
*) 0 ;
36250 PyObject
*swig_obj
[1] ;
36252 if (!args
) SWIG_fail
;
36253 swig_obj
[0] = args
;
36254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36255 if (!SWIG_IsOK(res1
)) {
36256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
36258 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36274 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36275 PyObject
*resultobj
= 0;
36276 wxWindow
*arg1
= (wxWindow
*) 0 ;
36280 PyObject
*swig_obj
[1] ;
36282 if (!args
) SWIG_fail
;
36283 swig_obj
[0] = args
;
36284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36285 if (!SWIG_IsOK(res1
)) {
36286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
36288 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36304 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36305 PyObject
*resultobj
= 0;
36306 wxWindow
*arg1
= (wxWindow
*) 0 ;
36307 wxBackgroundStyle arg2
;
36313 PyObject
* obj0
= 0 ;
36314 PyObject
* obj1
= 0 ;
36315 char * kwnames
[] = {
36316 (char *) "self",(char *) "style", NULL
36319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36321 if (!SWIG_IsOK(res1
)) {
36322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
36324 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36326 if (!SWIG_IsOK(ecode2
)) {
36327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
36329 arg2
= static_cast< wxBackgroundStyle
>(val2
);
36331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36332 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36345 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36346 PyObject
*resultobj
= 0;
36347 wxWindow
*arg1
= (wxWindow
*) 0 ;
36348 wxBackgroundStyle result
;
36351 PyObject
*swig_obj
[1] ;
36353 if (!args
) SWIG_fail
;
36354 swig_obj
[0] = args
;
36355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36356 if (!SWIG_IsOK(res1
)) {
36357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
36359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36362 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36366 resultobj
= SWIG_From_int(static_cast< int >(result
));
36373 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36374 PyObject
*resultobj
= 0;
36375 wxWindow
*arg1
= (wxWindow
*) 0 ;
36379 PyObject
*swig_obj
[1] ;
36381 if (!args
) SWIG_fail
;
36382 swig_obj
[0] = args
;
36383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36384 if (!SWIG_IsOK(res1
)) {
36385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
36387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36390 result
= (bool)(arg1
)->HasTransparentBackground();
36391 wxPyEndAllowThreads(__tstate
);
36392 if (PyErr_Occurred()) SWIG_fail
;
36395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36403 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36404 PyObject
*resultobj
= 0;
36405 wxWindow
*arg1
= (wxWindow
*) 0 ;
36406 wxCursor
*arg2
= 0 ;
36412 PyObject
* obj0
= 0 ;
36413 PyObject
* obj1
= 0 ;
36414 char * kwnames
[] = {
36415 (char *) "self",(char *) "cursor", NULL
36418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36420 if (!SWIG_IsOK(res1
)) {
36421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
36423 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
36425 if (!SWIG_IsOK(res2
)) {
36426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
36429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
36431 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
36433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36434 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
36435 wxPyEndAllowThreads(__tstate
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36447 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36448 PyObject
*resultobj
= 0;
36449 wxWindow
*arg1
= (wxWindow
*) 0 ;
36453 PyObject
*swig_obj
[1] ;
36455 if (!args
) SWIG_fail
;
36456 swig_obj
[0] = args
;
36457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36458 if (!SWIG_IsOK(res1
)) {
36459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
36461 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36464 result
= (arg1
)->GetCursor();
36465 wxPyEndAllowThreads(__tstate
);
36466 if (PyErr_Occurred()) SWIG_fail
;
36468 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
36475 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36476 PyObject
*resultobj
= 0;
36477 wxWindow
*arg1
= (wxWindow
*) 0 ;
36484 PyObject
* obj0
= 0 ;
36485 PyObject
* obj1
= 0 ;
36486 char * kwnames
[] = {
36487 (char *) "self",(char *) "font", NULL
36490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36492 if (!SWIG_IsOK(res1
)) {
36493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
36495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
36497 if (!SWIG_IsOK(res2
)) {
36498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
36501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
36503 arg2
= reinterpret_cast< wxFont
* >(argp2
);
36505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36506 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
36507 wxPyEndAllowThreads(__tstate
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36519 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36520 PyObject
*resultobj
= 0;
36521 wxWindow
*arg1
= (wxWindow
*) 0 ;
36527 PyObject
* obj0
= 0 ;
36528 PyObject
* obj1
= 0 ;
36529 char * kwnames
[] = {
36530 (char *) "self",(char *) "font", NULL
36533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",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_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
36538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
36540 if (!SWIG_IsOK(res2
)) {
36541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
36544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
36546 arg2
= reinterpret_cast< wxFont
* >(argp2
);
36548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36549 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
36550 wxPyEndAllowThreads(__tstate
);
36551 if (PyErr_Occurred()) SWIG_fail
;
36553 resultobj
= SWIG_Py_Void();
36560 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36561 PyObject
*resultobj
= 0;
36562 wxWindow
*arg1
= (wxWindow
*) 0 ;
36566 PyObject
*swig_obj
[1] ;
36568 if (!args
) SWIG_fail
;
36569 swig_obj
[0] = args
;
36570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36571 if (!SWIG_IsOK(res1
)) {
36572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
36574 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36577 result
= (arg1
)->GetFont();
36578 wxPyEndAllowThreads(__tstate
);
36579 if (PyErr_Occurred()) SWIG_fail
;
36581 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
36588 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36589 PyObject
*resultobj
= 0;
36590 wxWindow
*arg1
= (wxWindow
*) 0 ;
36591 wxCaret
*arg2
= (wxCaret
*) 0 ;
36595 PyObject
* obj0
= 0 ;
36596 PyObject
* obj1
= 0 ;
36597 char * kwnames
[] = {
36598 (char *) "self",(char *) "caret", NULL
36601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36603 if (!SWIG_IsOK(res1
)) {
36604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
36606 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36607 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
36608 if (!SWIG_IsOK(res2
)) {
36609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
36612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36613 (arg1
)->SetCaret(arg2
);
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= SWIG_Py_Void();
36624 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36625 PyObject
*resultobj
= 0;
36626 wxWindow
*arg1
= (wxWindow
*) 0 ;
36627 wxCaret
*result
= 0 ;
36630 PyObject
*swig_obj
[1] ;
36632 if (!args
) SWIG_fail
;
36633 swig_obj
[0] = args
;
36634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36635 if (!SWIG_IsOK(res1
)) {
36636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
36638 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
36642 wxPyEndAllowThreads(__tstate
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
36652 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36653 PyObject
*resultobj
= 0;
36654 wxWindow
*arg1
= (wxWindow
*) 0 ;
36658 PyObject
*swig_obj
[1] ;
36660 if (!args
) SWIG_fail
;
36661 swig_obj
[0] = args
;
36662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36663 if (!SWIG_IsOK(res1
)) {
36664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
36666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36669 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
36670 wxPyEndAllowThreads(__tstate
);
36671 if (PyErr_Occurred()) SWIG_fail
;
36673 resultobj
= SWIG_From_int(static_cast< int >(result
));
36680 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36681 PyObject
*resultobj
= 0;
36682 wxWindow
*arg1
= (wxWindow
*) 0 ;
36686 PyObject
*swig_obj
[1] ;
36688 if (!args
) SWIG_fail
;
36689 swig_obj
[0] = args
;
36690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36691 if (!SWIG_IsOK(res1
)) {
36692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
36694 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36697 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 resultobj
= SWIG_From_int(static_cast< int >(result
));
36708 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
= 0;
36710 wxWindow
*arg1
= (wxWindow
*) 0 ;
36711 wxString
*arg2
= 0 ;
36712 int *arg3
= (int *) 0 ;
36713 int *arg4
= (int *) 0 ;
36716 bool temp2
= false ;
36718 int res3
= SWIG_TMPOBJ
;
36720 int res4
= SWIG_TMPOBJ
;
36721 PyObject
* obj0
= 0 ;
36722 PyObject
* obj1
= 0 ;
36723 char * kwnames
[] = {
36724 (char *) "self",(char *) "string", NULL
36729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36731 if (!SWIG_IsOK(res1
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
36734 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36736 arg2
= wxString_in_helper(obj1
);
36737 if (arg2
== NULL
) SWIG_fail
;
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
36743 wxPyEndAllowThreads(__tstate
);
36744 if (PyErr_Occurred()) SWIG_fail
;
36746 resultobj
= SWIG_Py_Void();
36747 if (SWIG_IsTmpObj(res3
)) {
36748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36750 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36753 if (SWIG_IsTmpObj(res4
)) {
36754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
36756 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
36773 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36774 PyObject
*resultobj
= 0;
36775 wxWindow
*arg1
= (wxWindow
*) 0 ;
36776 wxString
*arg2
= 0 ;
36777 int *arg3
= (int *) 0 ;
36778 int *arg4
= (int *) 0 ;
36779 int *arg5
= (int *) 0 ;
36780 int *arg6
= (int *) 0 ;
36781 wxFont
*arg7
= (wxFont
*) NULL
;
36784 bool temp2
= false ;
36786 int res3
= SWIG_TMPOBJ
;
36788 int res4
= SWIG_TMPOBJ
;
36790 int res5
= SWIG_TMPOBJ
;
36792 int res6
= SWIG_TMPOBJ
;
36795 PyObject
* obj0
= 0 ;
36796 PyObject
* obj1
= 0 ;
36797 PyObject
* obj2
= 0 ;
36798 char * kwnames
[] = {
36799 (char *) "self",(char *) "string",(char *) "font", NULL
36806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36808 if (!SWIG_IsOK(res1
)) {
36809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
36811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36813 arg2
= wxString_in_helper(obj1
);
36814 if (arg2
== NULL
) SWIG_fail
;
36818 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
36819 if (!SWIG_IsOK(res7
)) {
36820 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
36822 arg7
= reinterpret_cast< wxFont
* >(argp7
);
36825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36826 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
36827 wxPyEndAllowThreads(__tstate
);
36828 if (PyErr_Occurred()) SWIG_fail
;
36830 resultobj
= SWIG_Py_Void();
36831 if (SWIG_IsTmpObj(res3
)) {
36832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36834 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36837 if (SWIG_IsTmpObj(res4
)) {
36838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
36840 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
36843 if (SWIG_IsTmpObj(res5
)) {
36844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
36846 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
36849 if (SWIG_IsTmpObj(res6
)) {
36850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
36852 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
36869 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36870 PyObject
*resultobj
= 0;
36871 wxWindow
*arg1
= (wxWindow
*) 0 ;
36872 int *arg2
= (int *) 0 ;
36873 int *arg3
= (int *) 0 ;
36880 PyObject
* obj0
= 0 ;
36881 PyObject
* obj1
= 0 ;
36882 PyObject
* obj2
= 0 ;
36883 char * kwnames
[] = {
36884 (char *) "self",(char *) "x",(char *) "y", NULL
36887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36889 if (!SWIG_IsOK(res1
)) {
36890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
36892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36893 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
36895 int ecode
= SWIG_AsVal_int(obj1
, &val
);
36896 if (!SWIG_IsOK(ecode
)) {
36897 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
36899 temp2
= static_cast< int >(val
);
36901 res2
= SWIG_AddTmpMask(ecode
);
36903 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
36905 int ecode
= SWIG_AsVal_int(obj2
, &val
);
36906 if (!SWIG_IsOK(ecode
)) {
36907 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
36909 temp3
= static_cast< int >(val
);
36911 res3
= SWIG_AddTmpMask(ecode
);
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
36916 wxPyEndAllowThreads(__tstate
);
36917 if (PyErr_Occurred()) SWIG_fail
;
36919 resultobj
= SWIG_Py_Void();
36920 if (SWIG_IsTmpObj(res2
)) {
36921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
36923 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
36926 if (SWIG_IsTmpObj(res3
)) {
36927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36929 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36938 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36939 PyObject
*resultobj
= 0;
36940 wxWindow
*arg1
= (wxWindow
*) 0 ;
36941 int *arg2
= (int *) 0 ;
36942 int *arg3
= (int *) 0 ;
36949 PyObject
* obj0
= 0 ;
36950 PyObject
* obj1
= 0 ;
36951 PyObject
* obj2
= 0 ;
36952 char * kwnames
[] = {
36953 (char *) "self",(char *) "x",(char *) "y", NULL
36956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36958 if (!SWIG_IsOK(res1
)) {
36959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
36961 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36962 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
36964 int ecode
= SWIG_AsVal_int(obj1
, &val
);
36965 if (!SWIG_IsOK(ecode
)) {
36966 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
36968 temp2
= static_cast< int >(val
);
36970 res2
= SWIG_AddTmpMask(ecode
);
36972 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
36974 int ecode
= SWIG_AsVal_int(obj2
, &val
);
36975 if (!SWIG_IsOK(ecode
)) {
36976 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
36978 temp3
= static_cast< int >(val
);
36980 res3
= SWIG_AddTmpMask(ecode
);
36983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36984 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
36985 wxPyEndAllowThreads(__tstate
);
36986 if (PyErr_Occurred()) SWIG_fail
;
36988 resultobj
= SWIG_Py_Void();
36989 if (SWIG_IsTmpObj(res2
)) {
36990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
36992 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
36995 if (SWIG_IsTmpObj(res3
)) {
36996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36998 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37007 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37008 PyObject
*resultobj
= 0;
37009 wxWindow
*arg1
= (wxWindow
*) 0 ;
37010 wxPoint
*arg2
= 0 ;
37015 PyObject
* obj0
= 0 ;
37016 PyObject
* obj1
= 0 ;
37017 char * kwnames
[] = {
37018 (char *) "self",(char *) "pt", NULL
37021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37023 if (!SWIG_IsOK(res1
)) {
37024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
37026 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37029 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37033 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
37034 wxPyEndAllowThreads(__tstate
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37037 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37044 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37045 PyObject
*resultobj
= 0;
37046 wxWindow
*arg1
= (wxWindow
*) 0 ;
37047 wxPoint
*arg2
= 0 ;
37052 PyObject
* obj0
= 0 ;
37053 PyObject
* obj1
= 0 ;
37054 char * kwnames
[] = {
37055 (char *) "self",(char *) "pt", NULL
37058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37060 if (!SWIG_IsOK(res1
)) {
37061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
37063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
37071 wxPyEndAllowThreads(__tstate
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37074 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
37081 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37082 PyObject
*resultobj
= 0;
37083 wxWindow
*arg1
= (wxWindow
*) 0 ;
37093 PyObject
* obj0
= 0 ;
37094 PyObject
* obj1
= 0 ;
37095 PyObject
* obj2
= 0 ;
37096 char * kwnames
[] = {
37097 (char *) "self",(char *) "x",(char *) "y", NULL
37100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37102 if (!SWIG_IsOK(res1
)) {
37103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
37105 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37107 if (!SWIG_IsOK(ecode2
)) {
37108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
37110 arg2
= static_cast< int >(val2
);
37111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37112 if (!SWIG_IsOK(ecode3
)) {
37113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
37115 arg3
= static_cast< int >(val3
);
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
37119 wxPyEndAllowThreads(__tstate
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37122 resultobj
= SWIG_From_int(static_cast< int >(result
));
37129 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37130 PyObject
*resultobj
= 0;
37131 wxWindow
*arg1
= (wxWindow
*) 0 ;
37132 wxPoint
*arg2
= 0 ;
37137 PyObject
* obj0
= 0 ;
37138 PyObject
* obj1
= 0 ;
37139 char * kwnames
[] = {
37140 (char *) "self",(char *) "pt", NULL
37143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37145 if (!SWIG_IsOK(res1
)) {
37146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
37148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37151 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37155 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
37156 wxPyEndAllowThreads(__tstate
);
37157 if (PyErr_Occurred()) SWIG_fail
;
37159 resultobj
= SWIG_From_int(static_cast< int >(result
));
37166 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
37167 PyObject
*resultobj
= 0;
37168 wxWindow
*arg1
= (wxWindow
*) 0 ;
37176 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
37177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37178 if (!SWIG_IsOK(res1
)) {
37179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
37181 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37182 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
37183 if (!SWIG_IsOK(ecode2
)) {
37184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
37186 arg2
= static_cast< long >(val2
);
37188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37189 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= SWIG_From_int(static_cast< int >(result
));
37200 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
37201 PyObject
*resultobj
= 0;
37202 wxWindow
*arg1
= (wxWindow
*) 0 ;
37207 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
37208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37209 if (!SWIG_IsOK(res1
)) {
37210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
37212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
37216 wxPyEndAllowThreads(__tstate
);
37217 if (PyErr_Occurred()) SWIG_fail
;
37219 resultobj
= SWIG_From_int(static_cast< int >(result
));
37226 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
37230 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
37233 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
37236 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
37240 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
37245 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37246 PyObject
*resultobj
= 0;
37247 wxWindow
*arg1
= (wxWindow
*) 0 ;
37248 long arg2
= (long) wxUPDATE_UI_NONE
;
37253 PyObject
* obj0
= 0 ;
37254 PyObject
* obj1
= 0 ;
37255 char * kwnames
[] = {
37256 (char *) "self",(char *) "flags", NULL
37259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37261 if (!SWIG_IsOK(res1
)) {
37262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
37264 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37266 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
37267 if (!SWIG_IsOK(ecode2
)) {
37268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
37270 arg2
= static_cast< long >(val2
);
37273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37274 (arg1
)->UpdateWindowUI(arg2
);
37275 wxPyEndAllowThreads(__tstate
);
37276 if (PyErr_Occurred()) SWIG_fail
;
37278 resultobj
= SWIG_Py_Void();
37285 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37286 PyObject
*resultobj
= 0;
37287 wxWindow
*arg1
= (wxWindow
*) 0 ;
37288 wxMenu
*arg2
= (wxMenu
*) 0 ;
37289 int arg3
= (int) -1 ;
37290 int arg4
= (int) -1 ;
37300 PyObject
* obj0
= 0 ;
37301 PyObject
* obj1
= 0 ;
37302 PyObject
* obj2
= 0 ;
37303 PyObject
* obj3
= 0 ;
37304 char * kwnames
[] = {
37305 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
37308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37310 if (!SWIG_IsOK(res1
)) {
37311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
37313 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
37315 if (!SWIG_IsOK(res2
)) {
37316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
37318 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
37320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37321 if (!SWIG_IsOK(ecode3
)) {
37322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
37324 arg3
= static_cast< int >(val3
);
37327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37328 if (!SWIG_IsOK(ecode4
)) {
37329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
37331 arg4
= static_cast< int >(val4
);
37334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37335 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
37336 wxPyEndAllowThreads(__tstate
);
37337 if (PyErr_Occurred()) SWIG_fail
;
37340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37348 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37349 PyObject
*resultobj
= 0;
37350 wxWindow
*arg1
= (wxWindow
*) 0 ;
37351 wxMenu
*arg2
= (wxMenu
*) 0 ;
37352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37362 PyObject
* obj2
= 0 ;
37363 char * kwnames
[] = {
37364 (char *) "self",(char *) "menu",(char *) "pos", NULL
37367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37369 if (!SWIG_IsOK(res1
)) {
37370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
37372 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
37374 if (!SWIG_IsOK(res2
)) {
37375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
37377 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
37381 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37386 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
37387 wxPyEndAllowThreads(__tstate
);
37388 if (PyErr_Occurred()) SWIG_fail
;
37391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37399 SWIGINTERN PyObject
*_wrap_Window_HasMultiplePages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37400 PyObject
*resultobj
= 0;
37401 wxWindow
*arg1
= (wxWindow
*) 0 ;
37405 PyObject
*swig_obj
[1] ;
37407 if (!args
) SWIG_fail
;
37408 swig_obj
[0] = args
;
37409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37410 if (!SWIG_IsOK(res1
)) {
37411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasMultiplePages" "', expected argument " "1"" of type '" "wxWindow const *""'");
37413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 result
= (bool)((wxWindow
const *)arg1
)->HasMultiplePages();
37417 wxPyEndAllowThreads(__tstate
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37429 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37430 PyObject
*resultobj
= 0;
37431 wxWindow
*arg1
= (wxWindow
*) 0 ;
37435 PyObject
*swig_obj
[1] ;
37437 if (!args
) SWIG_fail
;
37438 swig_obj
[0] = args
;
37439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37440 if (!SWIG_IsOK(res1
)) {
37441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
37443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 result
= (long)wxWindow_GetHandle(arg1
);
37447 wxPyEndAllowThreads(__tstate
);
37448 if (PyErr_Occurred()) SWIG_fail
;
37450 resultobj
= SWIG_From_long(static_cast< long >(result
));
37457 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37458 PyObject
*resultobj
= 0;
37459 wxWindow
*arg1
= (wxWindow
*) 0 ;
37465 PyObject
* obj0
= 0 ;
37466 PyObject
* obj1
= 0 ;
37467 char * kwnames
[] = {
37468 (char *) "self",(char *) "handle", NULL
37471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37473 if (!SWIG_IsOK(res1
)) {
37474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
37476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37477 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
37478 if (!SWIG_IsOK(ecode2
)) {
37479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
37481 arg2
= static_cast< long >(val2
);
37483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37484 wxWindow_AssociateHandle(arg1
,arg2
);
37485 wxPyEndAllowThreads(__tstate
);
37486 if (PyErr_Occurred()) SWIG_fail
;
37488 resultobj
= SWIG_Py_Void();
37495 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37496 PyObject
*resultobj
= 0;
37497 wxWindow
*arg1
= (wxWindow
*) 0 ;
37500 PyObject
*swig_obj
[1] ;
37502 if (!args
) SWIG_fail
;
37503 swig_obj
[0] = args
;
37504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37505 if (!SWIG_IsOK(res1
)) {
37506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
37508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37511 (arg1
)->DissociateHandle();
37512 wxPyEndAllowThreads(__tstate
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37515 resultobj
= SWIG_Py_Void();
37522 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37523 PyObject
*resultobj
= 0;
37524 wxWindow
*arg1
= (wxWindow
*) 0 ;
37531 PyObject
* obj0
= 0 ;
37532 PyObject
* obj1
= 0 ;
37533 char * kwnames
[] = {
37534 (char *) "self",(char *) "orient", NULL
37537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37539 if (!SWIG_IsOK(res1
)) {
37540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
37542 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37544 if (!SWIG_IsOK(ecode2
)) {
37545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
37547 arg2
= static_cast< int >(val2
);
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37563 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37564 PyObject
*resultobj
= 0;
37565 wxWindow
*arg1
= (wxWindow
*) 0 ;
37570 bool arg6
= (bool) true ;
37583 PyObject
* obj0
= 0 ;
37584 PyObject
* obj1
= 0 ;
37585 PyObject
* obj2
= 0 ;
37586 PyObject
* obj3
= 0 ;
37587 PyObject
* obj4
= 0 ;
37588 PyObject
* obj5
= 0 ;
37589 char * kwnames
[] = {
37590 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
37593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37595 if (!SWIG_IsOK(res1
)) {
37596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
37598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37600 if (!SWIG_IsOK(ecode2
)) {
37601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
37603 arg2
= static_cast< int >(val2
);
37604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37605 if (!SWIG_IsOK(ecode3
)) {
37606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
37608 arg3
= static_cast< int >(val3
);
37609 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37610 if (!SWIG_IsOK(ecode4
)) {
37611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
37613 arg4
= static_cast< int >(val4
);
37614 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37615 if (!SWIG_IsOK(ecode5
)) {
37616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
37618 arg5
= static_cast< int >(val5
);
37620 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
37621 if (!SWIG_IsOK(ecode6
)) {
37622 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
37624 arg6
= static_cast< bool >(val6
);
37627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37628 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
37629 wxPyEndAllowThreads(__tstate
);
37630 if (PyErr_Occurred()) SWIG_fail
;
37632 resultobj
= SWIG_Py_Void();
37639 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37640 PyObject
*resultobj
= 0;
37641 wxWindow
*arg1
= (wxWindow
*) 0 ;
37644 bool arg4
= (bool) true ;
37653 PyObject
* obj0
= 0 ;
37654 PyObject
* obj1
= 0 ;
37655 PyObject
* obj2
= 0 ;
37656 PyObject
* obj3
= 0 ;
37657 char * kwnames
[] = {
37658 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
37661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37663 if (!SWIG_IsOK(res1
)) {
37664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
37666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37668 if (!SWIG_IsOK(ecode2
)) {
37669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
37671 arg2
= static_cast< int >(val2
);
37672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37673 if (!SWIG_IsOK(ecode3
)) {
37674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
37676 arg3
= static_cast< int >(val3
);
37678 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37679 if (!SWIG_IsOK(ecode4
)) {
37680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
37682 arg4
= static_cast< bool >(val4
);
37685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37686 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
37687 wxPyEndAllowThreads(__tstate
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37690 resultobj
= SWIG_Py_Void();
37697 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37698 PyObject
*resultobj
= 0;
37699 wxWindow
*arg1
= (wxWindow
*) 0 ;
37706 PyObject
* obj0
= 0 ;
37707 PyObject
* obj1
= 0 ;
37708 char * kwnames
[] = {
37709 (char *) "self",(char *) "orientation", NULL
37712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37714 if (!SWIG_IsOK(res1
)) {
37715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
37717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37719 if (!SWIG_IsOK(ecode2
)) {
37720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
37722 arg2
= static_cast< int >(val2
);
37724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37725 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
37726 wxPyEndAllowThreads(__tstate
);
37727 if (PyErr_Occurred()) SWIG_fail
;
37729 resultobj
= SWIG_From_int(static_cast< int >(result
));
37736 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37737 PyObject
*resultobj
= 0;
37738 wxWindow
*arg1
= (wxWindow
*) 0 ;
37745 PyObject
* obj0
= 0 ;
37746 PyObject
* obj1
= 0 ;
37747 char * kwnames
[] = {
37748 (char *) "self",(char *) "orientation", NULL
37751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37753 if (!SWIG_IsOK(res1
)) {
37754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
37756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37758 if (!SWIG_IsOK(ecode2
)) {
37759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
37761 arg2
= static_cast< int >(val2
);
37763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37764 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
37765 wxPyEndAllowThreads(__tstate
);
37766 if (PyErr_Occurred()) SWIG_fail
;
37768 resultobj
= SWIG_From_int(static_cast< int >(result
));
37775 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37776 PyObject
*resultobj
= 0;
37777 wxWindow
*arg1
= (wxWindow
*) 0 ;
37784 PyObject
* obj0
= 0 ;
37785 PyObject
* obj1
= 0 ;
37786 char * kwnames
[] = {
37787 (char *) "self",(char *) "orientation", NULL
37790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37792 if (!SWIG_IsOK(res1
)) {
37793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
37795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37797 if (!SWIG_IsOK(ecode2
)) {
37798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
37800 arg2
= static_cast< int >(val2
);
37802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37803 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37807 resultobj
= SWIG_From_int(static_cast< int >(result
));
37814 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37815 PyObject
*resultobj
= 0;
37816 wxWindow
*arg1
= (wxWindow
*) 0 ;
37819 wxRect
*arg4
= (wxRect
*) NULL
;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 PyObject
* obj2
= 0 ;
37831 PyObject
* obj3
= 0 ;
37832 char * kwnames
[] = {
37833 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
37836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37838 if (!SWIG_IsOK(res1
)) {
37839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
37841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37843 if (!SWIG_IsOK(ecode2
)) {
37844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
37846 arg2
= static_cast< int >(val2
);
37847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37848 if (!SWIG_IsOK(ecode3
)) {
37849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
37851 arg3
= static_cast< int >(val3
);
37853 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
37854 if (!SWIG_IsOK(res4
)) {
37855 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
37857 arg4
= reinterpret_cast< wxRect
* >(argp4
);
37860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37861 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
37862 wxPyEndAllowThreads(__tstate
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37865 resultobj
= SWIG_Py_Void();
37872 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37873 PyObject
*resultobj
= 0;
37874 wxWindow
*arg1
= (wxWindow
*) 0 ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 char * kwnames
[] = {
37884 (char *) "self",(char *) "lines", NULL
37887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37889 if (!SWIG_IsOK(res1
)) {
37890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
37892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37894 if (!SWIG_IsOK(ecode2
)) {
37895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
37897 arg2
= static_cast< int >(val2
);
37899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37900 result
= (bool)(arg1
)->ScrollLines(arg2
);
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37913 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
= 0;
37915 wxWindow
*arg1
= (wxWindow
*) 0 ;
37922 PyObject
* obj0
= 0 ;
37923 PyObject
* obj1
= 0 ;
37924 char * kwnames
[] = {
37925 (char *) "self",(char *) "pages", NULL
37928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37930 if (!SWIG_IsOK(res1
)) {
37931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
37933 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37935 if (!SWIG_IsOK(ecode2
)) {
37936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
37938 arg2
= static_cast< int >(val2
);
37940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37941 result
= (bool)(arg1
)->ScrollPages(arg2
);
37942 wxPyEndAllowThreads(__tstate
);
37943 if (PyErr_Occurred()) SWIG_fail
;
37946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37954 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37955 PyObject
*resultobj
= 0;
37956 wxWindow
*arg1
= (wxWindow
*) 0 ;
37960 PyObject
*swig_obj
[1] ;
37962 if (!args
) SWIG_fail
;
37963 swig_obj
[0] = args
;
37964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37965 if (!SWIG_IsOK(res1
)) {
37966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
37968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37971 result
= (bool)(arg1
)->LineUp();
37972 wxPyEndAllowThreads(__tstate
);
37973 if (PyErr_Occurred()) SWIG_fail
;
37976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37984 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37985 PyObject
*resultobj
= 0;
37986 wxWindow
*arg1
= (wxWindow
*) 0 ;
37990 PyObject
*swig_obj
[1] ;
37992 if (!args
) SWIG_fail
;
37993 swig_obj
[0] = args
;
37994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37995 if (!SWIG_IsOK(res1
)) {
37996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
37998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38001 result
= (bool)(arg1
)->LineDown();
38002 wxPyEndAllowThreads(__tstate
);
38003 if (PyErr_Occurred()) SWIG_fail
;
38006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38014 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38015 PyObject
*resultobj
= 0;
38016 wxWindow
*arg1
= (wxWindow
*) 0 ;
38020 PyObject
*swig_obj
[1] ;
38022 if (!args
) SWIG_fail
;
38023 swig_obj
[0] = args
;
38024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38025 if (!SWIG_IsOK(res1
)) {
38026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
38028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38031 result
= (bool)(arg1
)->PageUp();
38032 wxPyEndAllowThreads(__tstate
);
38033 if (PyErr_Occurred()) SWIG_fail
;
38036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38044 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38045 PyObject
*resultobj
= 0;
38046 wxWindow
*arg1
= (wxWindow
*) 0 ;
38050 PyObject
*swig_obj
[1] ;
38052 if (!args
) SWIG_fail
;
38053 swig_obj
[0] = args
;
38054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38055 if (!SWIG_IsOK(res1
)) {
38056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
38058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38061 result
= (bool)(arg1
)->PageDown();
38062 wxPyEndAllowThreads(__tstate
);
38063 if (PyErr_Occurred()) SWIG_fail
;
38066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38074 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38075 PyObject
*resultobj
= 0;
38076 wxWindow
*arg1
= (wxWindow
*) 0 ;
38077 wxString
*arg2
= 0 ;
38080 bool temp2
= false ;
38081 PyObject
* obj0
= 0 ;
38082 PyObject
* obj1
= 0 ;
38083 char * kwnames
[] = {
38084 (char *) "self",(char *) "text", NULL
38087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38089 if (!SWIG_IsOK(res1
)) {
38090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
38092 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38094 arg2
= wxString_in_helper(obj1
);
38095 if (arg2
== NULL
) SWIG_fail
;
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 (arg1
)->SetHelpText((wxString
const &)*arg2
);
38101 wxPyEndAllowThreads(__tstate
);
38102 if (PyErr_Occurred()) SWIG_fail
;
38104 resultobj
= SWIG_Py_Void();
38119 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38120 PyObject
*resultobj
= 0;
38121 wxWindow
*arg1
= (wxWindow
*) 0 ;
38122 wxString
*arg2
= 0 ;
38125 bool temp2
= false ;
38126 PyObject
* obj0
= 0 ;
38127 PyObject
* obj1
= 0 ;
38128 char * kwnames
[] = {
38129 (char *) "self",(char *) "text", NULL
38132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38134 if (!SWIG_IsOK(res1
)) {
38135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
38137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38139 arg2
= wxString_in_helper(obj1
);
38140 if (arg2
== NULL
) SWIG_fail
;
38144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38145 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
38146 wxPyEndAllowThreads(__tstate
);
38147 if (PyErr_Occurred()) SWIG_fail
;
38149 resultobj
= SWIG_Py_Void();
38164 SWIGINTERN PyObject
*_wrap_Window_GetHelpTextAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
= 0;
38166 wxWindow
*arg1
= (wxWindow
*) 0 ;
38167 wxPoint
*arg2
= 0 ;
38168 wxHelpEvent::Origin arg3
;
38175 PyObject
* obj0
= 0 ;
38176 PyObject
* obj1
= 0 ;
38177 PyObject
* obj2
= 0 ;
38178 char * kwnames
[] = {
38179 (char *) "self",(char *) "pt",(char *) "origin", NULL
38182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_GetHelpTextAtPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38184 if (!SWIG_IsOK(res1
)) {
38185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
38187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38193 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpEvent__Origin
, 0 | 0);
38194 if (!SWIG_IsOK(res3
)) {
38195 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
38198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
38200 wxHelpEvent::Origin
* temp
= reinterpret_cast< wxHelpEvent::Origin
* >(argp3
);
38202 if (SWIG_IsNewObj(res3
)) delete temp
;
38206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38207 result
= ((wxWindow
const *)arg1
)->GetHelpTextAtPoint((wxPoint
const &)*arg2
,arg3
);
38208 wxPyEndAllowThreads(__tstate
);
38209 if (PyErr_Occurred()) SWIG_fail
;
38213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38224 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38225 PyObject
*resultobj
= 0;
38226 wxWindow
*arg1
= (wxWindow
*) 0 ;
38230 PyObject
*swig_obj
[1] ;
38232 if (!args
) SWIG_fail
;
38233 swig_obj
[0] = args
;
38234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38235 if (!SWIG_IsOK(res1
)) {
38236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
38238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38241 result
= ((wxWindow
const *)arg1
)->GetHelpText();
38242 wxPyEndAllowThreads(__tstate
);
38243 if (PyErr_Occurred()) SWIG_fail
;
38247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38258 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38259 PyObject
*resultobj
= 0;
38260 wxWindow
*arg1
= (wxWindow
*) 0 ;
38261 wxString
*arg2
= 0 ;
38264 bool temp2
= false ;
38265 PyObject
* obj0
= 0 ;
38266 PyObject
* obj1
= 0 ;
38267 char * kwnames
[] = {
38268 (char *) "self",(char *) "tip", NULL
38271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38273 if (!SWIG_IsOK(res1
)) {
38274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
38276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38278 arg2
= wxString_in_helper(obj1
);
38279 if (arg2
== NULL
) SWIG_fail
;
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 (arg1
)->SetToolTip((wxString
const &)*arg2
);
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38288 resultobj
= SWIG_Py_Void();
38303 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
= 0;
38305 wxWindow
*arg1
= (wxWindow
*) 0 ;
38306 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
38310 PyObject
* obj0
= 0 ;
38311 PyObject
* obj1
= 0 ;
38312 char * kwnames
[] = {
38313 (char *) "self",(char *) "tip", NULL
38316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38318 if (!SWIG_IsOK(res1
)) {
38319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
38321 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38322 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
38323 if (!SWIG_IsOK(res2
)) {
38324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
38327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38328 (arg1
)->SetToolTip(arg2
);
38329 wxPyEndAllowThreads(__tstate
);
38330 if (PyErr_Occurred()) SWIG_fail
;
38332 resultobj
= SWIG_Py_Void();
38339 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38340 PyObject
*resultobj
= 0;
38341 wxWindow
*arg1
= (wxWindow
*) 0 ;
38342 wxToolTip
*result
= 0 ;
38345 PyObject
*swig_obj
[1] ;
38347 if (!args
) SWIG_fail
;
38348 swig_obj
[0] = args
;
38349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38350 if (!SWIG_IsOK(res1
)) {
38351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
38353 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38356 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
38357 wxPyEndAllowThreads(__tstate
);
38358 if (PyErr_Occurred()) SWIG_fail
;
38361 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38369 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38370 PyObject
*resultobj
= 0;
38371 wxWindow
*arg1
= (wxWindow
*) 0 ;
38372 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
38376 PyObject
* obj0
= 0 ;
38377 PyObject
* obj1
= 0 ;
38378 char * kwnames
[] = {
38379 (char *) "self",(char *) "dropTarget", NULL
38382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38384 if (!SWIG_IsOK(res1
)) {
38385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
38387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38388 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
38389 if (!SWIG_IsOK(res2
)) {
38390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
38393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38394 (arg1
)->SetDropTarget(arg2
);
38395 wxPyEndAllowThreads(__tstate
);
38396 if (PyErr_Occurred()) SWIG_fail
;
38398 resultobj
= SWIG_Py_Void();
38405 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38406 PyObject
*resultobj
= 0;
38407 wxWindow
*arg1
= (wxWindow
*) 0 ;
38408 wxPyDropTarget
*result
= 0 ;
38411 PyObject
*swig_obj
[1] ;
38413 if (!args
) SWIG_fail
;
38414 swig_obj
[0] = args
;
38415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38416 if (!SWIG_IsOK(res1
)) {
38417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
38419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38422 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
38423 wxPyEndAllowThreads(__tstate
);
38424 if (PyErr_Occurred()) SWIG_fail
;
38426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
38433 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38434 PyObject
*resultobj
= 0;
38435 wxWindow
*arg1
= (wxWindow
*) 0 ;
38441 PyObject
* obj0
= 0 ;
38442 PyObject
* obj1
= 0 ;
38443 char * kwnames
[] = {
38444 (char *) "self",(char *) "accept", NULL
38447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38449 if (!SWIG_IsOK(res1
)) {
38450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
38452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38453 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38454 if (!SWIG_IsOK(ecode2
)) {
38455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
38457 arg2
= static_cast< bool >(val2
);
38459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38460 wxWindow_DragAcceptFiles(arg1
,arg2
);
38461 wxPyEndAllowThreads(__tstate
);
38462 if (PyErr_Occurred()) SWIG_fail
;
38464 resultobj
= SWIG_Py_Void();
38471 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38472 PyObject
*resultobj
= 0;
38473 wxWindow
*arg1
= (wxWindow
*) 0 ;
38474 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38478 PyObject
* obj0
= 0 ;
38479 PyObject
* obj1
= 0 ;
38480 char * kwnames
[] = {
38481 (char *) "self",(char *) "constraints", NULL
38484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38486 if (!SWIG_IsOK(res1
)) {
38487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
38489 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38490 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
38491 if (!SWIG_IsOK(res2
)) {
38492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
38495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38496 (arg1
)->SetConstraints(arg2
);
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38500 resultobj
= SWIG_Py_Void();
38507 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38508 PyObject
*resultobj
= 0;
38509 wxWindow
*arg1
= (wxWindow
*) 0 ;
38510 wxLayoutConstraints
*result
= 0 ;
38513 PyObject
*swig_obj
[1] ;
38515 if (!args
) SWIG_fail
;
38516 swig_obj
[0] = args
;
38517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38518 if (!SWIG_IsOK(res1
)) {
38519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
38521 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38524 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
38525 wxPyEndAllowThreads(__tstate
);
38526 if (PyErr_Occurred()) SWIG_fail
;
38528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
38535 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38536 PyObject
*resultobj
= 0;
38537 wxWindow
*arg1
= (wxWindow
*) 0 ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 char * kwnames
[] = {
38546 (char *) "self",(char *) "autoLayout", NULL
38549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38551 if (!SWIG_IsOK(res1
)) {
38552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
38554 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38555 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38556 if (!SWIG_IsOK(ecode2
)) {
38557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
38559 arg2
= static_cast< bool >(val2
);
38561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38562 (arg1
)->SetAutoLayout(arg2
);
38563 wxPyEndAllowThreads(__tstate
);
38564 if (PyErr_Occurred()) SWIG_fail
;
38566 resultobj
= SWIG_Py_Void();
38573 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38574 PyObject
*resultobj
= 0;
38575 wxWindow
*arg1
= (wxWindow
*) 0 ;
38579 PyObject
*swig_obj
[1] ;
38581 if (!args
) SWIG_fail
;
38582 swig_obj
[0] = args
;
38583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38584 if (!SWIG_IsOK(res1
)) {
38585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
38587 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38590 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
38591 wxPyEndAllowThreads(__tstate
);
38592 if (PyErr_Occurred()) SWIG_fail
;
38595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38603 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38604 PyObject
*resultobj
= 0;
38605 wxWindow
*arg1
= (wxWindow
*) 0 ;
38609 PyObject
*swig_obj
[1] ;
38611 if (!args
) SWIG_fail
;
38612 swig_obj
[0] = args
;
38613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38614 if (!SWIG_IsOK(res1
)) {
38615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
38617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 result
= (bool)(arg1
)->Layout();
38621 wxPyEndAllowThreads(__tstate
);
38622 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38633 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
= 0;
38635 wxWindow
*arg1
= (wxWindow
*) 0 ;
38636 wxSizer
*arg2
= (wxSizer
*) 0 ;
38637 bool arg3
= (bool) true ;
38643 PyObject
* obj0
= 0 ;
38644 PyObject
* obj1
= 0 ;
38645 PyObject
* obj2
= 0 ;
38646 char * kwnames
[] = {
38647 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
38650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38652 if (!SWIG_IsOK(res1
)) {
38653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
38655 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38656 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
38657 if (!SWIG_IsOK(res2
)) {
38658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
38661 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
38662 if (!SWIG_IsOK(ecode3
)) {
38663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
38665 arg3
= static_cast< bool >(val3
);
38668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38669 (arg1
)->SetSizer(arg2
,arg3
);
38670 wxPyEndAllowThreads(__tstate
);
38671 if (PyErr_Occurred()) SWIG_fail
;
38673 resultobj
= SWIG_Py_Void();
38680 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38681 PyObject
*resultobj
= 0;
38682 wxWindow
*arg1
= (wxWindow
*) 0 ;
38683 wxSizer
*arg2
= (wxSizer
*) 0 ;
38684 bool arg3
= (bool) true ;
38690 PyObject
* obj0
= 0 ;
38691 PyObject
* obj1
= 0 ;
38692 PyObject
* obj2
= 0 ;
38693 char * kwnames
[] = {
38694 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
38697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38699 if (!SWIG_IsOK(res1
)) {
38700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
38702 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38703 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
38704 if (!SWIG_IsOK(res2
)) {
38705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
38708 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
38709 if (!SWIG_IsOK(ecode3
)) {
38710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
38712 arg3
= static_cast< bool >(val3
);
38715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38716 (arg1
)->SetSizerAndFit(arg2
,arg3
);
38717 wxPyEndAllowThreads(__tstate
);
38718 if (PyErr_Occurred()) SWIG_fail
;
38720 resultobj
= SWIG_Py_Void();
38727 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38728 PyObject
*resultobj
= 0;
38729 wxWindow
*arg1
= (wxWindow
*) 0 ;
38730 wxSizer
*result
= 0 ;
38733 PyObject
*swig_obj
[1] ;
38735 if (!args
) SWIG_fail
;
38736 swig_obj
[0] = args
;
38737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38738 if (!SWIG_IsOK(res1
)) {
38739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
38741 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38744 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
38745 wxPyEndAllowThreads(__tstate
);
38746 if (PyErr_Occurred()) SWIG_fail
;
38749 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38757 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38758 PyObject
*resultobj
= 0;
38759 wxWindow
*arg1
= (wxWindow
*) 0 ;
38760 wxSizer
*arg2
= (wxSizer
*) 0 ;
38765 PyObject
* obj0
= 0 ;
38766 PyObject
* obj1
= 0 ;
38767 char * kwnames
[] = {
38768 (char *) "self",(char *) "sizer", NULL
38771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38773 if (!SWIG_IsOK(res1
)) {
38774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
38776 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
38778 if (!SWIG_IsOK(res2
)) {
38779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
38781 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
38783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38784 (arg1
)->SetContainingSizer(arg2
);
38785 wxPyEndAllowThreads(__tstate
);
38786 if (PyErr_Occurred()) SWIG_fail
;
38788 resultobj
= SWIG_Py_Void();
38795 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38796 PyObject
*resultobj
= 0;
38797 wxWindow
*arg1
= (wxWindow
*) 0 ;
38798 wxSizer
*result
= 0 ;
38801 PyObject
*swig_obj
[1] ;
38803 if (!args
) SWIG_fail
;
38804 swig_obj
[0] = args
;
38805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38806 if (!SWIG_IsOK(res1
)) {
38807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
38809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38812 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
38813 wxPyEndAllowThreads(__tstate
);
38814 if (PyErr_Occurred()) SWIG_fail
;
38817 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38825 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38826 PyObject
*resultobj
= 0;
38827 wxWindow
*arg1
= (wxWindow
*) 0 ;
38830 PyObject
*swig_obj
[1] ;
38832 if (!args
) SWIG_fail
;
38833 swig_obj
[0] = args
;
38834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38835 if (!SWIG_IsOK(res1
)) {
38836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
38838 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38841 (arg1
)->InheritAttributes();
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38845 resultobj
= SWIG_Py_Void();
38852 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38853 PyObject
*resultobj
= 0;
38854 wxWindow
*arg1
= (wxWindow
*) 0 ;
38858 PyObject
*swig_obj
[1] ;
38860 if (!args
) SWIG_fail
;
38861 swig_obj
[0] = args
;
38862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38863 if (!SWIG_IsOK(res1
)) {
38864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
38866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38869 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
38870 wxPyEndAllowThreads(__tstate
);
38871 if (PyErr_Occurred()) SWIG_fail
;
38874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38882 SWIGINTERN PyObject
*_wrap_Window_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38883 PyObject
*resultobj
= 0;
38884 wxWindow
*arg1
= (wxWindow
*) 0 ;
38888 PyObject
*swig_obj
[1] ;
38890 if (!args
) SWIG_fail
;
38891 swig_obj
[0] = args
;
38892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38893 if (!SWIG_IsOK(res1
)) {
38894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CanSetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
38896 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38899 result
= (bool)(arg1
)->CanSetTransparent();
38900 wxPyEndAllowThreads(__tstate
);
38901 if (PyErr_Occurred()) SWIG_fail
;
38904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38912 SWIGINTERN PyObject
*_wrap_Window_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38913 PyObject
*resultobj
= 0;
38914 wxWindow
*arg1
= (wxWindow
*) 0 ;
38919 unsigned char val2
;
38921 PyObject
* obj0
= 0 ;
38922 PyObject
* obj1
= 0 ;
38923 char * kwnames
[] = {
38924 (char *) "self",(char *) "alpha", NULL
38927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38929 if (!SWIG_IsOK(res1
)) {
38930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTransparent" "', expected argument " "1"" of type '" "wxWindow *""'");
38932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38933 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
38934 if (!SWIG_IsOK(ecode2
)) {
38935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
38937 arg2
= static_cast< byte
>(val2
);
38939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38940 result
= (bool)(arg1
)->SetTransparent(arg2
);
38941 wxPyEndAllowThreads(__tstate
);
38942 if (PyErr_Occurred()) SWIG_fail
;
38945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38953 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38956 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
38957 return SWIG_Py_Void();
38960 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38961 return SWIG_Python_InitShadowInstance(args
);
38964 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38965 PyObject
*resultobj
= 0;
38967 wxWindow
*arg2
= (wxWindow
*) NULL
;
38968 wxWindow
*result
= 0 ;
38973 PyObject
* obj0
= 0 ;
38974 PyObject
* obj1
= 0 ;
38975 char * kwnames
[] = {
38976 (char *) "id",(char *) "parent", NULL
38979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38980 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
38981 if (!SWIG_IsOK(ecode1
)) {
38982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
38984 arg1
= static_cast< long >(val1
);
38986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38987 if (!SWIG_IsOK(res2
)) {
38988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
38990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38993 if (!wxPyCheckForApp()) SWIG_fail
;
38994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38995 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
38996 wxPyEndAllowThreads(__tstate
);
38997 if (PyErr_Occurred()) SWIG_fail
;
39000 resultobj
= wxPyMake_wxObject(result
, 0);
39008 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39009 PyObject
*resultobj
= 0;
39010 wxString
*arg1
= 0 ;
39011 wxWindow
*arg2
= (wxWindow
*) NULL
;
39012 wxWindow
*result
= 0 ;
39013 bool temp1
= false ;
39016 PyObject
* obj0
= 0 ;
39017 PyObject
* obj1
= 0 ;
39018 char * kwnames
[] = {
39019 (char *) "name",(char *) "parent", NULL
39022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39024 arg1
= wxString_in_helper(obj0
);
39025 if (arg1
== NULL
) SWIG_fail
;
39029 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39030 if (!SWIG_IsOK(res2
)) {
39031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
39033 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39036 if (!wxPyCheckForApp()) SWIG_fail
;
39037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39038 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
39039 wxPyEndAllowThreads(__tstate
);
39040 if (PyErr_Occurred()) SWIG_fail
;
39043 resultobj
= wxPyMake_wxObject(result
, 0);
39059 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39060 PyObject
*resultobj
= 0;
39061 wxString
*arg1
= 0 ;
39062 wxWindow
*arg2
= (wxWindow
*) NULL
;
39063 wxWindow
*result
= 0 ;
39064 bool temp1
= false ;
39067 PyObject
* obj0
= 0 ;
39068 PyObject
* obj1
= 0 ;
39069 char * kwnames
[] = {
39070 (char *) "label",(char *) "parent", NULL
39073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39075 arg1
= wxString_in_helper(obj0
);
39076 if (arg1
== NULL
) SWIG_fail
;
39080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39081 if (!SWIG_IsOK(res2
)) {
39082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
39084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39087 if (!wxPyCheckForApp()) SWIG_fail
;
39088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39089 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
39090 wxPyEndAllowThreads(__tstate
);
39091 if (PyErr_Occurred()) SWIG_fail
;
39094 resultobj
= wxPyMake_wxObject(result
, 0);
39110 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39111 PyObject
*resultobj
= 0;
39112 wxWindow
*arg1
= (wxWindow
*) 0 ;
39113 unsigned long arg2
;
39114 wxWindow
*result
= 0 ;
39117 unsigned long val2
;
39119 PyObject
* obj0
= 0 ;
39120 PyObject
* obj1
= 0 ;
39121 char * kwnames
[] = {
39122 (char *) "parent",(char *) "_hWnd", NULL
39125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39127 if (!SWIG_IsOK(res1
)) {
39128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
39130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39131 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
39132 if (!SWIG_IsOK(ecode2
)) {
39133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
39135 arg2
= static_cast< unsigned long >(val2
);
39137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39138 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
39139 wxPyEndAllowThreads(__tstate
);
39140 if (PyErr_Occurred()) SWIG_fail
;
39143 resultobj
= wxPyMake_wxObject(result
, 0);
39151 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39152 PyObject
*resultobj
= 0;
39153 PyObject
*result
= 0 ;
39155 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
39157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39158 result
= (PyObject
*)GetTopLevelWindows();
39159 wxPyEndAllowThreads(__tstate
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39162 resultobj
= result
;
39169 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39170 PyObject
*resultobj
= 0;
39171 wxValidator
*result
= 0 ;
39173 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
39175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39176 result
= (wxValidator
*)new wxValidator();
39177 wxPyEndAllowThreads(__tstate
);
39178 if (PyErr_Occurred()) SWIG_fail
;
39180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
39187 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39188 PyObject
*resultobj
= 0;
39189 wxValidator
*arg1
= (wxValidator
*) 0 ;
39190 wxValidator
*result
= 0 ;
39193 PyObject
*swig_obj
[1] ;
39195 if (!args
) SWIG_fail
;
39196 swig_obj
[0] = args
;
39197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39198 if (!SWIG_IsOK(res1
)) {
39199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
39201 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39204 result
= (wxValidator
*)(arg1
)->Clone();
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39209 resultobj
= wxPyMake_wxObject(result
, 0);
39217 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39218 PyObject
*resultobj
= 0;
39219 wxValidator
*arg1
= (wxValidator
*) 0 ;
39220 wxWindow
*arg2
= (wxWindow
*) 0 ;
39226 PyObject
* obj0
= 0 ;
39227 PyObject
* obj1
= 0 ;
39228 char * kwnames
[] = {
39229 (char *) "self",(char *) "parent", NULL
39232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39234 if (!SWIG_IsOK(res1
)) {
39235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
39237 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39239 if (!SWIG_IsOK(res2
)) {
39240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
39242 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39245 result
= (bool)(arg1
)->Validate(arg2
);
39246 wxPyEndAllowThreads(__tstate
);
39247 if (PyErr_Occurred()) SWIG_fail
;
39250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39258 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39259 PyObject
*resultobj
= 0;
39260 wxValidator
*arg1
= (wxValidator
*) 0 ;
39264 PyObject
*swig_obj
[1] ;
39266 if (!args
) SWIG_fail
;
39267 swig_obj
[0] = args
;
39268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39269 if (!SWIG_IsOK(res1
)) {
39270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
39272 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39275 result
= (bool)(arg1
)->TransferToWindow();
39276 wxPyEndAllowThreads(__tstate
);
39277 if (PyErr_Occurred()) SWIG_fail
;
39280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39288 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39289 PyObject
*resultobj
= 0;
39290 wxValidator
*arg1
= (wxValidator
*) 0 ;
39294 PyObject
*swig_obj
[1] ;
39296 if (!args
) SWIG_fail
;
39297 swig_obj
[0] = args
;
39298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39299 if (!SWIG_IsOK(res1
)) {
39300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
39302 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39305 result
= (bool)(arg1
)->TransferFromWindow();
39306 wxPyEndAllowThreads(__tstate
);
39307 if (PyErr_Occurred()) SWIG_fail
;
39310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39318 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39319 PyObject
*resultobj
= 0;
39320 wxValidator
*arg1
= (wxValidator
*) 0 ;
39321 wxWindow
*result
= 0 ;
39324 PyObject
*swig_obj
[1] ;
39326 if (!args
) SWIG_fail
;
39327 swig_obj
[0] = args
;
39328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39329 if (!SWIG_IsOK(res1
)) {
39330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
39332 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39335 result
= (wxWindow
*)(arg1
)->GetWindow();
39336 wxPyEndAllowThreads(__tstate
);
39337 if (PyErr_Occurred()) SWIG_fail
;
39340 resultobj
= wxPyMake_wxObject(result
, 0);
39348 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39349 PyObject
*resultobj
= 0;
39350 wxValidator
*arg1
= (wxValidator
*) 0 ;
39351 wxWindow
*arg2
= (wxWindow
*) 0 ;
39356 PyObject
* obj0
= 0 ;
39357 PyObject
* obj1
= 0 ;
39358 char * kwnames
[] = {
39359 (char *) "self",(char *) "window", NULL
39362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
39364 if (!SWIG_IsOK(res1
)) {
39365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
39367 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
39368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39369 if (!SWIG_IsOK(res2
)) {
39370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
39372 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39375 (arg1
)->SetWindow(arg2
);
39376 wxPyEndAllowThreads(__tstate
);
39377 if (PyErr_Occurred()) SWIG_fail
;
39379 resultobj
= SWIG_Py_Void();
39386 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39387 PyObject
*resultobj
= 0;
39390 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 result
= (bool)wxValidator::IsSilent();
39394 wxPyEndAllowThreads(__tstate
);
39395 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39406 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39407 PyObject
*resultobj
= 0;
39408 int arg1
= (int) true ;
39411 PyObject
* obj0
= 0 ;
39412 char * kwnames
[] = {
39413 (char *) "doIt", NULL
39416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
39418 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39419 if (!SWIG_IsOK(ecode1
)) {
39420 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
39422 arg1
= static_cast< int >(val1
);
39425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39426 wxValidator::SetBellOnError(arg1
);
39427 wxPyEndAllowThreads(__tstate
);
39428 if (PyErr_Occurred()) SWIG_fail
;
39430 resultobj
= SWIG_Py_Void();
39437 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39440 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
39441 return SWIG_Py_Void();
39444 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39445 return SWIG_Python_InitShadowInstance(args
);
39448 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39449 PyObject
*resultobj
= 0;
39450 wxPyValidator
*result
= 0 ;
39452 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
39454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39455 result
= (wxPyValidator
*)new wxPyValidator();
39456 wxPyEndAllowThreads(__tstate
);
39457 if (PyErr_Occurred()) SWIG_fail
;
39459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
39466 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39467 PyObject
*resultobj
= 0;
39468 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
39469 PyObject
*arg2
= (PyObject
*) 0 ;
39470 PyObject
*arg3
= (PyObject
*) 0 ;
39471 int arg4
= (int) true ;
39476 PyObject
* obj0
= 0 ;
39477 PyObject
* obj1
= 0 ;
39478 PyObject
* obj2
= 0 ;
39479 PyObject
* obj3
= 0 ;
39480 char * kwnames
[] = {
39481 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
39484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
39486 if (!SWIG_IsOK(res1
)) {
39487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
39489 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
39493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39494 if (!SWIG_IsOK(ecode4
)) {
39495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
39497 arg4
= static_cast< int >(val4
);
39500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39501 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
39502 wxPyEndAllowThreads(__tstate
);
39503 if (PyErr_Occurred()) SWIG_fail
;
39505 resultobj
= SWIG_Py_Void();
39512 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39515 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
39516 return SWIG_Py_Void();
39519 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39520 return SWIG_Python_InitShadowInstance(args
);
39523 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
39524 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
39529 SWIGINTERN PyObject
*DefaultValidator_get(void) {
39530 PyObject
*pyobj
= 0;
39532 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
39537 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39538 PyObject
*resultobj
= 0;
39539 wxString
const &arg1_defvalue
= wxPyEmptyString
;
39540 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
39541 long arg2
= (long) 0 ;
39542 wxMenu
*result
= 0 ;
39543 bool temp1
= false ;
39546 PyObject
* obj0
= 0 ;
39547 PyObject
* obj1
= 0 ;
39548 char * kwnames
[] = {
39549 (char *) "title",(char *) "style", NULL
39552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39555 arg1
= wxString_in_helper(obj0
);
39556 if (arg1
== NULL
) SWIG_fail
;
39561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39562 if (!SWIG_IsOK(ecode2
)) {
39563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
39565 arg2
= static_cast< long >(val2
);
39568 if (!wxPyCheckForApp()) SWIG_fail
;
39569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39570 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
39571 wxPyEndAllowThreads(__tstate
);
39572 if (PyErr_Occurred()) SWIG_fail
;
39574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
39589 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39590 PyObject
*resultobj
= 0;
39591 wxMenu
*arg1
= (wxMenu
*) 0 ;
39593 wxString
const &arg3_defvalue
= wxPyEmptyString
;
39594 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
39595 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39596 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39597 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
39598 wxMenuItem
*result
= 0 ;
39603 bool temp3
= false ;
39604 bool temp4
= false ;
39607 PyObject
* obj0
= 0 ;
39608 PyObject
* obj1
= 0 ;
39609 PyObject
* obj2
= 0 ;
39610 PyObject
* obj3
= 0 ;
39611 PyObject
* obj4
= 0 ;
39612 char * kwnames
[] = {
39613 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
39616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39618 if (!SWIG_IsOK(res1
)) {
39619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
39621 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39623 if (!SWIG_IsOK(ecode2
)) {
39624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
39626 arg2
= static_cast< int >(val2
);
39629 arg3
= wxString_in_helper(obj2
);
39630 if (arg3
== NULL
) SWIG_fail
;
39636 arg4
= wxString_in_helper(obj3
);
39637 if (arg4
== NULL
) SWIG_fail
;
39642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39643 if (!SWIG_IsOK(ecode5
)) {
39644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
39646 arg5
= static_cast< wxItemKind
>(val5
);
39649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39650 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
39651 wxPyEndAllowThreads(__tstate
);
39652 if (PyErr_Occurred()) SWIG_fail
;
39655 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39679 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39680 PyObject
*resultobj
= 0;
39681 wxMenu
*arg1
= (wxMenu
*) 0 ;
39682 wxMenuItem
*result
= 0 ;
39685 PyObject
*swig_obj
[1] ;
39687 if (!args
) SWIG_fail
;
39688 swig_obj
[0] = args
;
39689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39690 if (!SWIG_IsOK(res1
)) {
39691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39693 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39696 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
39697 wxPyEndAllowThreads(__tstate
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39701 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39709 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39710 PyObject
*resultobj
= 0;
39711 wxMenu
*arg1
= (wxMenu
*) 0 ;
39713 wxString
*arg3
= 0 ;
39714 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39715 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39716 wxMenuItem
*result
= 0 ;
39721 bool temp3
= false ;
39722 bool temp4
= false ;
39723 PyObject
* obj0
= 0 ;
39724 PyObject
* obj1
= 0 ;
39725 PyObject
* obj2
= 0 ;
39726 PyObject
* obj3
= 0 ;
39727 char * kwnames
[] = {
39728 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39733 if (!SWIG_IsOK(res1
)) {
39734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39736 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39738 if (!SWIG_IsOK(ecode2
)) {
39739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
39741 arg2
= static_cast< int >(val2
);
39743 arg3
= wxString_in_helper(obj2
);
39744 if (arg3
== NULL
) SWIG_fail
;
39749 arg4
= wxString_in_helper(obj3
);
39750 if (arg4
== NULL
) SWIG_fail
;
39755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39756 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39757 wxPyEndAllowThreads(__tstate
);
39758 if (PyErr_Occurred()) SWIG_fail
;
39761 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39785 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39786 PyObject
*resultobj
= 0;
39787 wxMenu
*arg1
= (wxMenu
*) 0 ;
39789 wxString
*arg3
= 0 ;
39790 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39791 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39792 wxMenuItem
*result
= 0 ;
39797 bool temp3
= false ;
39798 bool temp4
= false ;
39799 PyObject
* obj0
= 0 ;
39800 PyObject
* obj1
= 0 ;
39801 PyObject
* obj2
= 0 ;
39802 PyObject
* obj3
= 0 ;
39803 char * kwnames
[] = {
39804 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39809 if (!SWIG_IsOK(res1
)) {
39810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39812 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39814 if (!SWIG_IsOK(ecode2
)) {
39815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
39817 arg2
= static_cast< int >(val2
);
39819 arg3
= wxString_in_helper(obj2
);
39820 if (arg3
== NULL
) SWIG_fail
;
39825 arg4
= wxString_in_helper(obj3
);
39826 if (arg4
== NULL
) SWIG_fail
;
39831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39832 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39833 wxPyEndAllowThreads(__tstate
);
39834 if (PyErr_Occurred()) SWIG_fail
;
39837 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39861 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39862 PyObject
*resultobj
= 0;
39863 wxMenu
*arg1
= (wxMenu
*) 0 ;
39865 wxString
*arg3
= 0 ;
39866 wxMenu
*arg4
= (wxMenu
*) 0 ;
39867 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39868 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39869 wxMenuItem
*result
= 0 ;
39874 bool temp3
= false ;
39877 bool temp5
= false ;
39878 PyObject
* obj0
= 0 ;
39879 PyObject
* obj1
= 0 ;
39880 PyObject
* obj2
= 0 ;
39881 PyObject
* obj3
= 0 ;
39882 PyObject
* obj4
= 0 ;
39883 char * kwnames
[] = {
39884 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39889 if (!SWIG_IsOK(res1
)) {
39890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39892 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39894 if (!SWIG_IsOK(ecode2
)) {
39895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
39897 arg2
= static_cast< int >(val2
);
39899 arg3
= wxString_in_helper(obj2
);
39900 if (arg3
== NULL
) SWIG_fail
;
39903 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39904 if (!SWIG_IsOK(res4
)) {
39905 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
39907 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
39910 arg5
= wxString_in_helper(obj4
);
39911 if (arg5
== NULL
) SWIG_fail
;
39916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39917 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
39918 wxPyEndAllowThreads(__tstate
);
39919 if (PyErr_Occurred()) SWIG_fail
;
39922 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39946 SWIGINTERN PyObject
*_wrap_Menu_AppendSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
= 0;
39948 wxMenu
*arg1
= (wxMenu
*) 0 ;
39949 wxMenu
*arg2
= (wxMenu
*) 0 ;
39950 wxString
*arg3
= 0 ;
39951 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39952 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39953 wxMenuItem
*result
= 0 ;
39958 bool temp3
= false ;
39959 bool temp4
= false ;
39960 PyObject
* obj0
= 0 ;
39961 PyObject
* obj1
= 0 ;
39962 PyObject
* obj2
= 0 ;
39963 PyObject
* obj3
= 0 ;
39964 char * kwnames
[] = {
39965 (char *) "self",(char *) "submenu",(char *) "text",(char *) "help", NULL
39968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendSubMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39970 if (!SWIG_IsOK(res1
)) {
39971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSubMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39973 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39975 if (!SWIG_IsOK(res2
)) {
39976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
39978 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
39980 arg3
= wxString_in_helper(obj2
);
39981 if (arg3
== NULL
) SWIG_fail
;
39986 arg4
= wxString_in_helper(obj3
);
39987 if (arg4
== NULL
) SWIG_fail
;
39992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39993 result
= (wxMenuItem
*)(arg1
)->AppendSubMenu(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39994 wxPyEndAllowThreads(__tstate
);
39995 if (PyErr_Occurred()) SWIG_fail
;
39998 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40022 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40023 PyObject
*resultobj
= 0;
40024 wxMenu
*arg1
= (wxMenu
*) 0 ;
40025 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
40026 wxMenuItem
*result
= 0 ;
40030 PyObject
* obj0
= 0 ;
40031 PyObject
* obj1
= 0 ;
40032 char * kwnames
[] = {
40033 (char *) "self",(char *) "item", NULL
40036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40038 if (!SWIG_IsOK(res1
)) {
40039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40041 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40042 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
40043 if (!SWIG_IsOK(res2
)) {
40044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
40047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40048 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
40049 wxPyEndAllowThreads(__tstate
);
40050 if (PyErr_Occurred()) SWIG_fail
;
40053 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40061 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40062 PyObject
*resultobj
= 0;
40063 wxMenu
*arg1
= (wxMenu
*) 0 ;
40065 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
40066 wxMenuItem
*result
= 0 ;
40072 PyObject
* obj0
= 0 ;
40073 PyObject
* obj1
= 0 ;
40074 PyObject
* obj2
= 0 ;
40075 char * kwnames
[] = {
40076 (char *) "self",(char *) "pos",(char *) "item", NULL
40079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40081 if (!SWIG_IsOK(res1
)) {
40082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40084 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40085 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40086 if (!SWIG_IsOK(ecode2
)) {
40087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
40089 arg2
= static_cast< size_t >(val2
);
40090 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
40091 if (!SWIG_IsOK(res3
)) {
40092 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
40095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40096 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
40097 wxPyEndAllowThreads(__tstate
);
40098 if (PyErr_Occurred()) SWIG_fail
;
40101 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40109 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40110 PyObject
*resultobj
= 0;
40111 wxMenu
*arg1
= (wxMenu
*) 0 ;
40112 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
40113 wxMenuItem
*result
= 0 ;
40117 PyObject
* obj0
= 0 ;
40118 PyObject
* obj1
= 0 ;
40119 char * kwnames
[] = {
40120 (char *) "self",(char *) "item", NULL
40123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40125 if (!SWIG_IsOK(res1
)) {
40126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40128 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40129 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
40130 if (!SWIG_IsOK(res2
)) {
40131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
40134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40135 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
40136 wxPyEndAllowThreads(__tstate
);
40137 if (PyErr_Occurred()) SWIG_fail
;
40140 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40148 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40149 PyObject
*resultobj
= 0;
40150 wxMenu
*arg1
= (wxMenu
*) 0 ;
40153 PyObject
*swig_obj
[1] ;
40155 if (!args
) SWIG_fail
;
40156 swig_obj
[0] = args
;
40157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40158 if (!SWIG_IsOK(res1
)) {
40159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
40161 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40165 wxPyEndAllowThreads(__tstate
);
40166 if (PyErr_Occurred()) SWIG_fail
;
40168 resultobj
= SWIG_Py_Void();
40175 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40176 PyObject
*resultobj
= 0;
40177 wxMenu
*arg1
= (wxMenu
*) 0 ;
40180 wxString
const &arg4_defvalue
= wxPyEmptyString
;
40181 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
40182 wxString
const &arg5_defvalue
= wxPyEmptyString
;
40183 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
40184 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
40185 wxMenuItem
*result
= 0 ;
40192 bool temp4
= false ;
40193 bool temp5
= false ;
40196 PyObject
* obj0
= 0 ;
40197 PyObject
* obj1
= 0 ;
40198 PyObject
* obj2
= 0 ;
40199 PyObject
* obj3
= 0 ;
40200 PyObject
* obj4
= 0 ;
40201 PyObject
* obj5
= 0 ;
40202 char * kwnames
[] = {
40203 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
40206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
40207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40208 if (!SWIG_IsOK(res1
)) {
40209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
40211 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40212 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40213 if (!SWIG_IsOK(ecode2
)) {
40214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
40216 arg2
= static_cast< size_t >(val2
);
40217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40218 if (!SWIG_IsOK(ecode3
)) {
40219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
40221 arg3
= static_cast< int >(val3
);
40224 arg4
= wxString_in_helper(obj3
);
40225 if (arg4
== NULL
) SWIG_fail
;
40231 arg5
= wxString_in_helper(obj4
);
40232 if (arg5
== NULL
) SWIG_fail
;
40237 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
40238 if (!SWIG_IsOK(ecode6
)) {
40239 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
40241 arg6
= static_cast< wxItemKind
>(val6
);
40244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40245 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
40246 wxPyEndAllowThreads(__tstate
);
40247 if (PyErr_Occurred()) SWIG_fail
;
40250 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40274 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40275 PyObject
*resultobj
= 0;
40276 wxMenu
*arg1
= (wxMenu
*) 0 ;
40278 wxMenuItem
*result
= 0 ;
40283 PyObject
* obj0
= 0 ;
40284 PyObject
* obj1
= 0 ;
40285 char * kwnames
[] = {
40286 (char *) "self",(char *) "pos", NULL
40289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40291 if (!SWIG_IsOK(res1
)) {
40292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
40294 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40295 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40296 if (!SWIG_IsOK(ecode2
)) {
40297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
40299 arg2
= static_cast< size_t >(val2
);
40301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40302 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
40303 wxPyEndAllowThreads(__tstate
);
40304 if (PyErr_Occurred()) SWIG_fail
;
40307 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40315 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40316 PyObject
*resultobj
= 0;
40317 wxMenu
*arg1
= (wxMenu
*) 0 ;
40320 wxString
*arg4
= 0 ;
40321 wxString
const &arg5_defvalue
= wxPyEmptyString
;
40322 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
40323 wxMenuItem
*result
= 0 ;
40330 bool temp4
= false ;
40331 bool temp5
= false ;
40332 PyObject
* obj0
= 0 ;
40333 PyObject
* obj1
= 0 ;
40334 PyObject
* obj2
= 0 ;
40335 PyObject
* obj3
= 0 ;
40336 PyObject
* obj4
= 0 ;
40337 char * kwnames
[] = {
40338 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
40341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40343 if (!SWIG_IsOK(res1
)) {
40344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40346 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40347 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40348 if (!SWIG_IsOK(ecode2
)) {
40349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
40351 arg2
= static_cast< size_t >(val2
);
40352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40353 if (!SWIG_IsOK(ecode3
)) {
40354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
40356 arg3
= static_cast< int >(val3
);
40358 arg4
= wxString_in_helper(obj3
);
40359 if (arg4
== NULL
) SWIG_fail
;
40364 arg5
= wxString_in_helper(obj4
);
40365 if (arg5
== NULL
) SWIG_fail
;
40370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40371 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
40372 wxPyEndAllowThreads(__tstate
);
40373 if (PyErr_Occurred()) SWIG_fail
;
40376 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40400 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40401 PyObject
*resultobj
= 0;
40402 wxMenu
*arg1
= (wxMenu
*) 0 ;
40405 wxString
*arg4
= 0 ;
40406 wxString
const &arg5_defvalue
= wxPyEmptyString
;
40407 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
40408 wxMenuItem
*result
= 0 ;
40415 bool temp4
= false ;
40416 bool temp5
= false ;
40417 PyObject
* obj0
= 0 ;
40418 PyObject
* obj1
= 0 ;
40419 PyObject
* obj2
= 0 ;
40420 PyObject
* obj3
= 0 ;
40421 PyObject
* obj4
= 0 ;
40422 char * kwnames
[] = {
40423 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
40426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40428 if (!SWIG_IsOK(res1
)) {
40429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40431 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40432 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40433 if (!SWIG_IsOK(ecode2
)) {
40434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
40436 arg2
= static_cast< size_t >(val2
);
40437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40438 if (!SWIG_IsOK(ecode3
)) {
40439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
40441 arg3
= static_cast< int >(val3
);
40443 arg4
= wxString_in_helper(obj3
);
40444 if (arg4
== NULL
) SWIG_fail
;
40449 arg5
= wxString_in_helper(obj4
);
40450 if (arg5
== NULL
) SWIG_fail
;
40455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40456 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40461 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40485 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40486 PyObject
*resultobj
= 0;
40487 wxMenu
*arg1
= (wxMenu
*) 0 ;
40490 wxString
*arg4
= 0 ;
40491 wxMenu
*arg5
= (wxMenu
*) 0 ;
40492 wxString
const &arg6_defvalue
= wxPyEmptyString
;
40493 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
40494 wxMenuItem
*result
= 0 ;
40501 bool temp4
= false ;
40504 bool temp6
= false ;
40505 PyObject
* obj0
= 0 ;
40506 PyObject
* obj1
= 0 ;
40507 PyObject
* obj2
= 0 ;
40508 PyObject
* obj3
= 0 ;
40509 PyObject
* obj4
= 0 ;
40510 PyObject
* obj5
= 0 ;
40511 char * kwnames
[] = {
40512 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
40515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
40516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40517 if (!SWIG_IsOK(res1
)) {
40518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
40520 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40521 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40522 if (!SWIG_IsOK(ecode2
)) {
40523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
40525 arg2
= static_cast< size_t >(val2
);
40526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40527 if (!SWIG_IsOK(ecode3
)) {
40528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
40530 arg3
= static_cast< int >(val3
);
40532 arg4
= wxString_in_helper(obj3
);
40533 if (arg4
== NULL
) SWIG_fail
;
40536 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40537 if (!SWIG_IsOK(res5
)) {
40538 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
40540 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
40543 arg6
= wxString_in_helper(obj5
);
40544 if (arg6
== NULL
) SWIG_fail
;
40549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40550 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40555 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40579 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40580 PyObject
*resultobj
= 0;
40581 wxMenu
*arg1
= (wxMenu
*) 0 ;
40583 wxString
const &arg3_defvalue
= wxPyEmptyString
;
40584 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
40585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
40586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
40587 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
40588 wxMenuItem
*result
= 0 ;
40593 bool temp3
= false ;
40594 bool temp4
= false ;
40597 PyObject
* obj0
= 0 ;
40598 PyObject
* obj1
= 0 ;
40599 PyObject
* obj2
= 0 ;
40600 PyObject
* obj3
= 0 ;
40601 PyObject
* obj4
= 0 ;
40602 char * kwnames
[] = {
40603 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
40606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40608 if (!SWIG_IsOK(res1
)) {
40609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
40611 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40613 if (!SWIG_IsOK(ecode2
)) {
40614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
40616 arg2
= static_cast< int >(val2
);
40619 arg3
= wxString_in_helper(obj2
);
40620 if (arg3
== NULL
) SWIG_fail
;
40626 arg4
= wxString_in_helper(obj3
);
40627 if (arg4
== NULL
) SWIG_fail
;
40632 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
40633 if (!SWIG_IsOK(ecode5
)) {
40634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
40636 arg5
= static_cast< wxItemKind
>(val5
);
40639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40640 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
40641 wxPyEndAllowThreads(__tstate
);
40642 if (PyErr_Occurred()) SWIG_fail
;
40645 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40669 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40670 PyObject
*resultobj
= 0;
40671 wxMenu
*arg1
= (wxMenu
*) 0 ;
40672 wxMenuItem
*result
= 0 ;
40675 PyObject
*swig_obj
[1] ;
40677 if (!args
) SWIG_fail
;
40678 swig_obj
[0] = args
;
40679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40680 if (!SWIG_IsOK(res1
)) {
40681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
40683 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40686 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
40687 wxPyEndAllowThreads(__tstate
);
40688 if (PyErr_Occurred()) SWIG_fail
;
40691 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40699 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40700 PyObject
*resultobj
= 0;
40701 wxMenu
*arg1
= (wxMenu
*) 0 ;
40703 wxString
*arg3
= 0 ;
40704 wxString
const &arg4_defvalue
= wxPyEmptyString
;
40705 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
40706 wxMenuItem
*result
= 0 ;
40711 bool temp3
= false ;
40712 bool temp4
= false ;
40713 PyObject
* obj0
= 0 ;
40714 PyObject
* obj1
= 0 ;
40715 PyObject
* obj2
= 0 ;
40716 PyObject
* obj3
= 0 ;
40717 char * kwnames
[] = {
40718 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
40721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40723 if (!SWIG_IsOK(res1
)) {
40724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40726 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40728 if (!SWIG_IsOK(ecode2
)) {
40729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
40731 arg2
= static_cast< int >(val2
);
40733 arg3
= wxString_in_helper(obj2
);
40734 if (arg3
== NULL
) SWIG_fail
;
40739 arg4
= wxString_in_helper(obj3
);
40740 if (arg4
== NULL
) SWIG_fail
;
40745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40746 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
40747 wxPyEndAllowThreads(__tstate
);
40748 if (PyErr_Occurred()) SWIG_fail
;
40751 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40775 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40776 PyObject
*resultobj
= 0;
40777 wxMenu
*arg1
= (wxMenu
*) 0 ;
40779 wxString
*arg3
= 0 ;
40780 wxString
const &arg4_defvalue
= wxPyEmptyString
;
40781 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
40782 wxMenuItem
*result
= 0 ;
40787 bool temp3
= false ;
40788 bool temp4
= false ;
40789 PyObject
* obj0
= 0 ;
40790 PyObject
* obj1
= 0 ;
40791 PyObject
* obj2
= 0 ;
40792 PyObject
* obj3
= 0 ;
40793 char * kwnames
[] = {
40794 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
40797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40799 if (!SWIG_IsOK(res1
)) {
40800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40802 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40804 if (!SWIG_IsOK(ecode2
)) {
40805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
40807 arg2
= static_cast< int >(val2
);
40809 arg3
= wxString_in_helper(obj2
);
40810 if (arg3
== NULL
) SWIG_fail
;
40815 arg4
= wxString_in_helper(obj3
);
40816 if (arg4
== NULL
) SWIG_fail
;
40821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40822 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
40823 wxPyEndAllowThreads(__tstate
);
40824 if (PyErr_Occurred()) SWIG_fail
;
40827 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40851 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40852 PyObject
*resultobj
= 0;
40853 wxMenu
*arg1
= (wxMenu
*) 0 ;
40855 wxString
*arg3
= 0 ;
40856 wxMenu
*arg4
= (wxMenu
*) 0 ;
40857 wxString
const &arg5_defvalue
= wxPyEmptyString
;
40858 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
40859 wxMenuItem
*result
= 0 ;
40864 bool temp3
= false ;
40867 bool temp5
= false ;
40868 PyObject
* obj0
= 0 ;
40869 PyObject
* obj1
= 0 ;
40870 PyObject
* obj2
= 0 ;
40871 PyObject
* obj3
= 0 ;
40872 PyObject
* obj4
= 0 ;
40873 char * kwnames
[] = {
40874 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
40877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40879 if (!SWIG_IsOK(res1
)) {
40880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
40882 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40884 if (!SWIG_IsOK(ecode2
)) {
40885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
40887 arg2
= static_cast< int >(val2
);
40889 arg3
= wxString_in_helper(obj2
);
40890 if (arg3
== NULL
) SWIG_fail
;
40893 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40894 if (!SWIG_IsOK(res4
)) {
40895 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
40897 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
40900 arg5
= wxString_in_helper(obj4
);
40901 if (arg5
== NULL
) SWIG_fail
;
40906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40907 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
40908 wxPyEndAllowThreads(__tstate
);
40909 if (PyErr_Occurred()) SWIG_fail
;
40912 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40936 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40937 PyObject
*resultobj
= 0;
40938 wxMenu
*arg1
= (wxMenu
*) 0 ;
40940 wxMenuItem
*result
= 0 ;
40945 PyObject
* obj0
= 0 ;
40946 PyObject
* obj1
= 0 ;
40947 char * kwnames
[] = {
40948 (char *) "self",(char *) "id", NULL
40951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40953 if (!SWIG_IsOK(res1
)) {
40954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
40956 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40958 if (!SWIG_IsOK(ecode2
)) {
40959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
40961 arg2
= static_cast< int >(val2
);
40963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40964 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
40965 wxPyEndAllowThreads(__tstate
);
40966 if (PyErr_Occurred()) SWIG_fail
;
40969 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
40977 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40978 PyObject
*resultobj
= 0;
40979 wxMenu
*arg1
= (wxMenu
*) 0 ;
40980 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
40981 wxMenuItem
*result
= 0 ;
40986 PyObject
* obj0
= 0 ;
40987 PyObject
* obj1
= 0 ;
40988 char * kwnames
[] = {
40989 (char *) "self",(char *) "item", NULL
40992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40994 if (!SWIG_IsOK(res1
)) {
40995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
40997 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
40999 if (!SWIG_IsOK(res2
)) {
41000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
41002 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
41004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41005 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
41006 wxPyEndAllowThreads(__tstate
);
41007 if (PyErr_Occurred()) SWIG_fail
;
41010 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
41018 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41019 PyObject
*resultobj
= 0;
41020 wxMenu
*arg1
= (wxMenu
*) 0 ;
41027 PyObject
* obj0
= 0 ;
41028 PyObject
* obj1
= 0 ;
41029 char * kwnames
[] = {
41030 (char *) "self",(char *) "id", NULL
41033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41035 if (!SWIG_IsOK(res1
)) {
41036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
41038 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41040 if (!SWIG_IsOK(ecode2
)) {
41041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
41043 arg2
= static_cast< int >(val2
);
41045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41046 result
= (bool)(arg1
)->Delete(arg2
);
41047 wxPyEndAllowThreads(__tstate
);
41048 if (PyErr_Occurred()) SWIG_fail
;
41051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41059 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41060 PyObject
*resultobj
= 0;
41061 wxMenu
*arg1
= (wxMenu
*) 0 ;
41062 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
41068 PyObject
* obj0
= 0 ;
41069 PyObject
* obj1
= 0 ;
41070 char * kwnames
[] = {
41071 (char *) "self",(char *) "item", NULL
41074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41076 if (!SWIG_IsOK(res1
)) {
41077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41079 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41081 if (!SWIG_IsOK(res2
)) {
41082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
41084 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
41086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41087 result
= (bool)(arg1
)->Delete(arg2
);
41088 wxPyEndAllowThreads(__tstate
);
41089 if (PyErr_Occurred()) SWIG_fail
;
41092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41100 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41101 PyObject
*resultobj
= 0;
41102 wxMenu
*arg1
= (wxMenu
*) 0 ;
41105 PyObject
*swig_obj
[1] ;
41107 if (!args
) SWIG_fail
;
41108 swig_obj
[0] = args
;
41109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41110 if (!SWIG_IsOK(res1
)) {
41111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
41113 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41116 wxMenu_Destroy(arg1
);
41117 wxPyEndAllowThreads(__tstate
);
41118 if (PyErr_Occurred()) SWIG_fail
;
41120 resultobj
= SWIG_Py_Void();
41127 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41128 PyObject
*resultobj
= 0;
41129 wxMenu
*arg1
= (wxMenu
*) 0 ;
41136 PyObject
* obj0
= 0 ;
41137 PyObject
* obj1
= 0 ;
41138 char * kwnames
[] = {
41139 (char *) "self",(char *) "id", NULL
41142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41144 if (!SWIG_IsOK(res1
)) {
41145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
41147 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41149 if (!SWIG_IsOK(ecode2
)) {
41150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
41152 arg2
= static_cast< int >(val2
);
41154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41155 result
= (bool)(arg1
)->Destroy(arg2
);
41156 wxPyEndAllowThreads(__tstate
);
41157 if (PyErr_Occurred()) SWIG_fail
;
41160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41168 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41169 PyObject
*resultobj
= 0;
41170 wxMenu
*arg1
= (wxMenu
*) 0 ;
41171 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
41177 PyObject
* obj0
= 0 ;
41178 PyObject
* obj1
= 0 ;
41179 char * kwnames
[] = {
41180 (char *) "self",(char *) "item", NULL
41183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41185 if (!SWIG_IsOK(res1
)) {
41186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41188 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41189 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41190 if (!SWIG_IsOK(res2
)) {
41191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
41193 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
41195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41196 result
= (bool)(arg1
)->Destroy(arg2
);
41197 wxPyEndAllowThreads(__tstate
);
41198 if (PyErr_Occurred()) SWIG_fail
;
41201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41209 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41210 PyObject
*resultobj
= 0;
41211 wxMenu
*arg1
= (wxMenu
*) 0 ;
41215 PyObject
*swig_obj
[1] ;
41217 if (!args
) SWIG_fail
;
41218 swig_obj
[0] = args
;
41219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41220 if (!SWIG_IsOK(res1
)) {
41221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
41223 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41226 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
41227 wxPyEndAllowThreads(__tstate
);
41228 if (PyErr_Occurred()) SWIG_fail
;
41230 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
41237 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41238 PyObject
*resultobj
= 0;
41239 wxMenu
*arg1
= (wxMenu
*) 0 ;
41240 PyObject
*result
= 0 ;
41243 PyObject
*swig_obj
[1] ;
41245 if (!args
) SWIG_fail
;
41246 swig_obj
[0] = args
;
41247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41248 if (!SWIG_IsOK(res1
)) {
41249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
41251 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41254 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
41255 wxPyEndAllowThreads(__tstate
);
41256 if (PyErr_Occurred()) SWIG_fail
;
41258 resultobj
= result
;
41265 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41266 PyObject
*resultobj
= 0;
41267 wxMenu
*arg1
= (wxMenu
*) 0 ;
41268 wxString
*arg2
= 0 ;
41272 bool temp2
= false ;
41273 PyObject
* obj0
= 0 ;
41274 PyObject
* obj1
= 0 ;
41275 char * kwnames
[] = {
41276 (char *) "self",(char *) "item", NULL
41279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41281 if (!SWIG_IsOK(res1
)) {
41282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
41284 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41286 arg2
= wxString_in_helper(obj1
);
41287 if (arg2
== NULL
) SWIG_fail
;
41291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41292 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
41293 wxPyEndAllowThreads(__tstate
);
41294 if (PyErr_Occurred()) SWIG_fail
;
41296 resultobj
= SWIG_From_int(static_cast< int >(result
));
41311 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41312 PyObject
*resultobj
= 0;
41313 wxMenu
*arg1
= (wxMenu
*) 0 ;
41315 wxMenuItem
*result
= 0 ;
41320 PyObject
* obj0
= 0 ;
41321 PyObject
* obj1
= 0 ;
41322 char * kwnames
[] = {
41323 (char *) "self",(char *) "id", NULL
41326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41328 if (!SWIG_IsOK(res1
)) {
41329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
41331 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41333 if (!SWIG_IsOK(ecode2
)) {
41334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
41336 arg2
= static_cast< int >(val2
);
41338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41339 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
41340 wxPyEndAllowThreads(__tstate
);
41341 if (PyErr_Occurred()) SWIG_fail
;
41344 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41352 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41353 PyObject
*resultobj
= 0;
41354 wxMenu
*arg1
= (wxMenu
*) 0 ;
41356 wxMenuItem
*result
= 0 ;
41361 PyObject
* obj0
= 0 ;
41362 PyObject
* obj1
= 0 ;
41363 char * kwnames
[] = {
41364 (char *) "self",(char *) "position", NULL
41367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41369 if (!SWIG_IsOK(res1
)) {
41370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
41372 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41373 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41374 if (!SWIG_IsOK(ecode2
)) {
41375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
41377 arg2
= static_cast< size_t >(val2
);
41379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41380 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
41381 wxPyEndAllowThreads(__tstate
);
41382 if (PyErr_Occurred()) SWIG_fail
;
41385 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41393 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41394 PyObject
*resultobj
= 0;
41395 wxMenu
*arg1
= (wxMenu
*) 0 ;
41404 PyObject
* obj0
= 0 ;
41405 PyObject
* obj1
= 0 ;
41406 PyObject
* obj2
= 0 ;
41407 char * kwnames
[] = {
41408 (char *) "self",(char *) "id",(char *) "enable", NULL
41411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41413 if (!SWIG_IsOK(res1
)) {
41414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
41416 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41418 if (!SWIG_IsOK(ecode2
)) {
41419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
41421 arg2
= static_cast< int >(val2
);
41422 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41423 if (!SWIG_IsOK(ecode3
)) {
41424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
41426 arg3
= static_cast< bool >(val3
);
41428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41429 (arg1
)->Enable(arg2
,arg3
);
41430 wxPyEndAllowThreads(__tstate
);
41431 if (PyErr_Occurred()) SWIG_fail
;
41433 resultobj
= SWIG_Py_Void();
41440 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41441 PyObject
*resultobj
= 0;
41442 wxMenu
*arg1
= (wxMenu
*) 0 ;
41449 PyObject
* obj0
= 0 ;
41450 PyObject
* obj1
= 0 ;
41451 char * kwnames
[] = {
41452 (char *) "self",(char *) "id", NULL
41455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41457 if (!SWIG_IsOK(res1
)) {
41458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
41460 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41462 if (!SWIG_IsOK(ecode2
)) {
41463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
41465 arg2
= static_cast< int >(val2
);
41467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41468 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
41469 wxPyEndAllowThreads(__tstate
);
41470 if (PyErr_Occurred()) SWIG_fail
;
41473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41481 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41482 PyObject
*resultobj
= 0;
41483 wxMenu
*arg1
= (wxMenu
*) 0 ;
41492 PyObject
* obj0
= 0 ;
41493 PyObject
* obj1
= 0 ;
41494 PyObject
* obj2
= 0 ;
41495 char * kwnames
[] = {
41496 (char *) "self",(char *) "id",(char *) "check", NULL
41499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41501 if (!SWIG_IsOK(res1
)) {
41502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
41504 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41506 if (!SWIG_IsOK(ecode2
)) {
41507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
41509 arg2
= static_cast< int >(val2
);
41510 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41511 if (!SWIG_IsOK(ecode3
)) {
41512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
41514 arg3
= static_cast< bool >(val3
);
41516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41517 (arg1
)->Check(arg2
,arg3
);
41518 wxPyEndAllowThreads(__tstate
);
41519 if (PyErr_Occurred()) SWIG_fail
;
41521 resultobj
= SWIG_Py_Void();
41528 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41529 PyObject
*resultobj
= 0;
41530 wxMenu
*arg1
= (wxMenu
*) 0 ;
41537 PyObject
* obj0
= 0 ;
41538 PyObject
* obj1
= 0 ;
41539 char * kwnames
[] = {
41540 (char *) "self",(char *) "id", NULL
41543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41545 if (!SWIG_IsOK(res1
)) {
41546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
41548 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41550 if (!SWIG_IsOK(ecode2
)) {
41551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
41553 arg2
= static_cast< int >(val2
);
41555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41556 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
41557 wxPyEndAllowThreads(__tstate
);
41558 if (PyErr_Occurred()) SWIG_fail
;
41561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41569 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41570 PyObject
*resultobj
= 0;
41571 wxMenu
*arg1
= (wxMenu
*) 0 ;
41573 wxString
*arg3
= 0 ;
41578 bool temp3
= false ;
41579 PyObject
* obj0
= 0 ;
41580 PyObject
* obj1
= 0 ;
41581 PyObject
* obj2
= 0 ;
41582 char * kwnames
[] = {
41583 (char *) "self",(char *) "id",(char *) "label", NULL
41586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41588 if (!SWIG_IsOK(res1
)) {
41589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
41591 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41593 if (!SWIG_IsOK(ecode2
)) {
41594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
41596 arg2
= static_cast< int >(val2
);
41598 arg3
= wxString_in_helper(obj2
);
41599 if (arg3
== NULL
) SWIG_fail
;
41603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41604 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
41605 wxPyEndAllowThreads(__tstate
);
41606 if (PyErr_Occurred()) SWIG_fail
;
41608 resultobj
= SWIG_Py_Void();
41623 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41624 PyObject
*resultobj
= 0;
41625 wxMenu
*arg1
= (wxMenu
*) 0 ;
41632 PyObject
* obj0
= 0 ;
41633 PyObject
* obj1
= 0 ;
41634 char * kwnames
[] = {
41635 (char *) "self",(char *) "id", NULL
41638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41640 if (!SWIG_IsOK(res1
)) {
41641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
41643 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41645 if (!SWIG_IsOK(ecode2
)) {
41646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
41648 arg2
= static_cast< int >(val2
);
41650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41651 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
41652 wxPyEndAllowThreads(__tstate
);
41653 if (PyErr_Occurred()) SWIG_fail
;
41657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41668 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41669 PyObject
*resultobj
= 0;
41670 wxMenu
*arg1
= (wxMenu
*) 0 ;
41672 wxString
*arg3
= 0 ;
41677 bool temp3
= false ;
41678 PyObject
* obj0
= 0 ;
41679 PyObject
* obj1
= 0 ;
41680 PyObject
* obj2
= 0 ;
41681 char * kwnames
[] = {
41682 (char *) "self",(char *) "id",(char *) "helpString", NULL
41685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41687 if (!SWIG_IsOK(res1
)) {
41688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
41690 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41692 if (!SWIG_IsOK(ecode2
)) {
41693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
41695 arg2
= static_cast< int >(val2
);
41697 arg3
= wxString_in_helper(obj2
);
41698 if (arg3
== NULL
) SWIG_fail
;
41702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41703 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
41704 wxPyEndAllowThreads(__tstate
);
41705 if (PyErr_Occurred()) SWIG_fail
;
41707 resultobj
= SWIG_Py_Void();
41722 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41723 PyObject
*resultobj
= 0;
41724 wxMenu
*arg1
= (wxMenu
*) 0 ;
41731 PyObject
* obj0
= 0 ;
41732 PyObject
* obj1
= 0 ;
41733 char * kwnames
[] = {
41734 (char *) "self",(char *) "id", NULL
41737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41739 if (!SWIG_IsOK(res1
)) {
41740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
41742 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41744 if (!SWIG_IsOK(ecode2
)) {
41745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
41747 arg2
= static_cast< int >(val2
);
41749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41750 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
41751 wxPyEndAllowThreads(__tstate
);
41752 if (PyErr_Occurred()) SWIG_fail
;
41756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41767 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41768 PyObject
*resultobj
= 0;
41769 wxMenu
*arg1
= (wxMenu
*) 0 ;
41770 wxString
*arg2
= 0 ;
41773 bool temp2
= false ;
41774 PyObject
* obj0
= 0 ;
41775 PyObject
* obj1
= 0 ;
41776 char * kwnames
[] = {
41777 (char *) "self",(char *) "title", NULL
41780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41782 if (!SWIG_IsOK(res1
)) {
41783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
41785 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41787 arg2
= wxString_in_helper(obj1
);
41788 if (arg2
== NULL
) SWIG_fail
;
41792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41793 (arg1
)->SetTitle((wxString
const &)*arg2
);
41794 wxPyEndAllowThreads(__tstate
);
41795 if (PyErr_Occurred()) SWIG_fail
;
41797 resultobj
= SWIG_Py_Void();
41812 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41813 PyObject
*resultobj
= 0;
41814 wxMenu
*arg1
= (wxMenu
*) 0 ;
41818 PyObject
*swig_obj
[1] ;
41820 if (!args
) SWIG_fail
;
41821 swig_obj
[0] = args
;
41822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41823 if (!SWIG_IsOK(res1
)) {
41824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
41826 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41829 result
= ((wxMenu
const *)arg1
)->GetTitle();
41830 wxPyEndAllowThreads(__tstate
);
41831 if (PyErr_Occurred()) SWIG_fail
;
41835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41846 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41847 PyObject
*resultobj
= 0;
41848 wxMenu
*arg1
= (wxMenu
*) 0 ;
41849 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
41854 PyObject
* obj0
= 0 ;
41855 PyObject
* obj1
= 0 ;
41856 char * kwnames
[] = {
41857 (char *) "self",(char *) "handler", NULL
41860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41862 if (!SWIG_IsOK(res1
)) {
41863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
41865 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
41867 if (!SWIG_IsOK(res2
)) {
41868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
41870 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
41872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41873 (arg1
)->SetEventHandler(arg2
);
41874 wxPyEndAllowThreads(__tstate
);
41875 if (PyErr_Occurred()) SWIG_fail
;
41877 resultobj
= SWIG_Py_Void();
41884 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41885 PyObject
*resultobj
= 0;
41886 wxMenu
*arg1
= (wxMenu
*) 0 ;
41887 wxEvtHandler
*result
= 0 ;
41890 PyObject
*swig_obj
[1] ;
41892 if (!args
) SWIG_fail
;
41893 swig_obj
[0] = args
;
41894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41895 if (!SWIG_IsOK(res1
)) {
41896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
41898 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41901 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
41902 wxPyEndAllowThreads(__tstate
);
41903 if (PyErr_Occurred()) SWIG_fail
;
41906 resultobj
= wxPyMake_wxObject(result
, 0);
41914 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41915 PyObject
*resultobj
= 0;
41916 wxMenu
*arg1
= (wxMenu
*) 0 ;
41917 wxWindow
*arg2
= (wxWindow
*) 0 ;
41922 PyObject
* obj0
= 0 ;
41923 PyObject
* obj1
= 0 ;
41924 char * kwnames
[] = {
41925 (char *) "self",(char *) "win", NULL
41928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41930 if (!SWIG_IsOK(res1
)) {
41931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
41933 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41935 if (!SWIG_IsOK(res2
)) {
41936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
41938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41941 (arg1
)->SetInvokingWindow(arg2
);
41942 wxPyEndAllowThreads(__tstate
);
41943 if (PyErr_Occurred()) SWIG_fail
;
41945 resultobj
= SWIG_Py_Void();
41952 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41953 PyObject
*resultobj
= 0;
41954 wxMenu
*arg1
= (wxMenu
*) 0 ;
41955 wxWindow
*result
= 0 ;
41958 PyObject
*swig_obj
[1] ;
41960 if (!args
) SWIG_fail
;
41961 swig_obj
[0] = args
;
41962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41963 if (!SWIG_IsOK(res1
)) {
41964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
41966 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41969 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
41970 wxPyEndAllowThreads(__tstate
);
41971 if (PyErr_Occurred()) SWIG_fail
;
41974 resultobj
= wxPyMake_wxObject(result
, 0);
41982 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41983 PyObject
*resultobj
= 0;
41984 wxMenu
*arg1
= (wxMenu
*) 0 ;
41988 PyObject
*swig_obj
[1] ;
41990 if (!args
) SWIG_fail
;
41991 swig_obj
[0] = args
;
41992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41993 if (!SWIG_IsOK(res1
)) {
41994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
41996 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41999 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
42000 wxPyEndAllowThreads(__tstate
);
42001 if (PyErr_Occurred()) SWIG_fail
;
42003 resultobj
= SWIG_From_long(static_cast< long >(result
));
42010 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42011 PyObject
*resultobj
= 0;
42012 wxMenu
*arg1
= (wxMenu
*) 0 ;
42013 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
42018 PyObject
* obj0
= 0 ;
42019 PyObject
* obj1
= 0 ;
42020 char * kwnames
[] = {
42021 (char *) "self",(char *) "source", NULL
42024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42026 if (!SWIG_IsOK(res1
)) {
42027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
42029 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
42032 if (!SWIG_IsOK(res2
)) {
42033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
42035 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
42038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42039 (arg1
)->UpdateUI(arg2
);
42040 wxPyEndAllowThreads(__tstate
);
42041 if (PyErr_Occurred()) SWIG_fail
;
42043 resultobj
= SWIG_Py_Void();
42050 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42051 PyObject
*resultobj
= 0;
42052 wxMenu
*arg1
= (wxMenu
*) 0 ;
42053 wxMenuBar
*result
= 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_wxMenu
, 0 | 0 );
42061 if (!SWIG_IsOK(res1
)) {
42062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
42064 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42067 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
42068 wxPyEndAllowThreads(__tstate
);
42069 if (PyErr_Occurred()) SWIG_fail
;
42072 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42080 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42081 PyObject
*resultobj
= 0;
42082 wxMenu
*arg1
= (wxMenu
*) 0 ;
42083 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
42088 PyObject
* obj0
= 0 ;
42089 PyObject
* obj1
= 0 ;
42090 char * kwnames
[] = {
42091 (char *) "self",(char *) "menubar", NULL
42094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42096 if (!SWIG_IsOK(res1
)) {
42097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
42099 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
42101 if (!SWIG_IsOK(res2
)) {
42102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
42104 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
42106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42107 (arg1
)->Attach(arg2
);
42108 wxPyEndAllowThreads(__tstate
);
42109 if (PyErr_Occurred()) SWIG_fail
;
42111 resultobj
= SWIG_Py_Void();
42118 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42119 PyObject
*resultobj
= 0;
42120 wxMenu
*arg1
= (wxMenu
*) 0 ;
42123 PyObject
*swig_obj
[1] ;
42125 if (!args
) SWIG_fail
;
42126 swig_obj
[0] = args
;
42127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42128 if (!SWIG_IsOK(res1
)) {
42129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
42131 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42135 wxPyEndAllowThreads(__tstate
);
42136 if (PyErr_Occurred()) SWIG_fail
;
42138 resultobj
= SWIG_Py_Void();
42145 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42146 PyObject
*resultobj
= 0;
42147 wxMenu
*arg1
= (wxMenu
*) 0 ;
42151 PyObject
*swig_obj
[1] ;
42153 if (!args
) SWIG_fail
;
42154 swig_obj
[0] = args
;
42155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42156 if (!SWIG_IsOK(res1
)) {
42157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
42159 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42162 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
42163 wxPyEndAllowThreads(__tstate
);
42164 if (PyErr_Occurred()) SWIG_fail
;
42167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42175 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42176 PyObject
*resultobj
= 0;
42177 wxMenu
*arg1
= (wxMenu
*) 0 ;
42178 wxMenu
*arg2
= (wxMenu
*) 0 ;
42183 PyObject
* obj0
= 0 ;
42184 PyObject
* obj1
= 0 ;
42185 char * kwnames
[] = {
42186 (char *) "self",(char *) "parent", NULL
42189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42191 if (!SWIG_IsOK(res1
)) {
42192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
42194 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42196 if (!SWIG_IsOK(res2
)) {
42197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
42199 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42202 (arg1
)->SetParent(arg2
);
42203 wxPyEndAllowThreads(__tstate
);
42204 if (PyErr_Occurred()) SWIG_fail
;
42206 resultobj
= SWIG_Py_Void();
42213 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42214 PyObject
*resultobj
= 0;
42215 wxMenu
*arg1
= (wxMenu
*) 0 ;
42216 wxMenu
*result
= 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_wxMenu
, 0 | 0 );
42224 if (!SWIG_IsOK(res1
)) {
42225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
42227 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42230 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
42231 wxPyEndAllowThreads(__tstate
);
42232 if (PyErr_Occurred()) SWIG_fail
;
42235 resultobj
= wxPyMake_wxObject(result
, 0);
42243 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42246 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
42247 return SWIG_Py_Void();
42250 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42251 return SWIG_Python_InitShadowInstance(args
);
42254 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42255 PyObject
*resultobj
= 0;
42256 long arg1
= (long) 0 ;
42257 wxMenuBar
*result
= 0 ;
42260 PyObject
* obj0
= 0 ;
42261 char * kwnames
[] = {
42262 (char *) "style", NULL
42265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
42267 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
42268 if (!SWIG_IsOK(ecode1
)) {
42269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
42271 arg1
= static_cast< long >(val1
);
42274 if (!wxPyCheckForApp()) SWIG_fail
;
42275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42276 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
42277 wxPyEndAllowThreads(__tstate
);
42278 if (PyErr_Occurred()) SWIG_fail
;
42280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
42287 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42288 PyObject
*resultobj
= 0;
42289 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42290 wxMenu
*arg2
= (wxMenu
*) 0 ;
42291 wxString
*arg3
= 0 ;
42297 bool temp3
= false ;
42298 PyObject
* obj0
= 0 ;
42299 PyObject
* obj1
= 0 ;
42300 PyObject
* obj2
= 0 ;
42301 char * kwnames
[] = {
42302 (char *) "self",(char *) "menu",(char *) "title", NULL
42305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42307 if (!SWIG_IsOK(res1
)) {
42308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42310 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42312 if (!SWIG_IsOK(res2
)) {
42313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
42315 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42317 arg3
= wxString_in_helper(obj2
);
42318 if (arg3
== NULL
) SWIG_fail
;
42322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42323 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
42324 wxPyEndAllowThreads(__tstate
);
42325 if (PyErr_Occurred()) SWIG_fail
;
42328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42344 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42345 PyObject
*resultobj
= 0;
42346 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42348 wxMenu
*arg3
= (wxMenu
*) 0 ;
42349 wxString
*arg4
= 0 ;
42357 bool temp4
= false ;
42358 PyObject
* obj0
= 0 ;
42359 PyObject
* obj1
= 0 ;
42360 PyObject
* obj2
= 0 ;
42361 PyObject
* obj3
= 0 ;
42362 char * kwnames
[] = {
42363 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
42366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42368 if (!SWIG_IsOK(res1
)) {
42369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42371 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42372 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42373 if (!SWIG_IsOK(ecode2
)) {
42374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
42376 arg2
= static_cast< size_t >(val2
);
42377 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42378 if (!SWIG_IsOK(res3
)) {
42379 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
42381 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
42383 arg4
= wxString_in_helper(obj3
);
42384 if (arg4
== NULL
) SWIG_fail
;
42388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42389 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
42390 wxPyEndAllowThreads(__tstate
);
42391 if (PyErr_Occurred()) SWIG_fail
;
42394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42410 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42411 PyObject
*resultobj
= 0;
42412 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42416 PyObject
*swig_obj
[1] ;
42418 if (!args
) SWIG_fail
;
42419 swig_obj
[0] = args
;
42420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42421 if (!SWIG_IsOK(res1
)) {
42422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42424 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42427 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
42428 wxPyEndAllowThreads(__tstate
);
42429 if (PyErr_Occurred()) SWIG_fail
;
42431 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
42438 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42439 PyObject
*resultobj
= 0;
42440 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42442 wxMenu
*result
= 0 ;
42447 PyObject
* obj0
= 0 ;
42448 PyObject
* obj1
= 0 ;
42449 char * kwnames
[] = {
42450 (char *) "self",(char *) "pos", NULL
42453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42455 if (!SWIG_IsOK(res1
)) {
42456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42458 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42459 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42460 if (!SWIG_IsOK(ecode2
)) {
42461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
42463 arg2
= static_cast< size_t >(val2
);
42465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42466 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
42467 wxPyEndAllowThreads(__tstate
);
42468 if (PyErr_Occurred()) SWIG_fail
;
42471 resultobj
= wxPyMake_wxObject(result
, 0);
42479 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42480 PyObject
*resultobj
= 0;
42481 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42483 wxMenu
*arg3
= (wxMenu
*) 0 ;
42484 wxString
*arg4
= 0 ;
42485 wxMenu
*result
= 0 ;
42492 bool temp4
= false ;
42493 PyObject
* obj0
= 0 ;
42494 PyObject
* obj1
= 0 ;
42495 PyObject
* obj2
= 0 ;
42496 PyObject
* obj3
= 0 ;
42497 char * kwnames
[] = {
42498 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
42501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
42502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42503 if (!SWIG_IsOK(res1
)) {
42504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42506 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42507 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42508 if (!SWIG_IsOK(ecode2
)) {
42509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
42511 arg2
= static_cast< size_t >(val2
);
42512 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42513 if (!SWIG_IsOK(res3
)) {
42514 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
42516 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
42518 arg4
= wxString_in_helper(obj3
);
42519 if (arg4
== NULL
) SWIG_fail
;
42523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42524 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
42525 wxPyEndAllowThreads(__tstate
);
42526 if (PyErr_Occurred()) SWIG_fail
;
42529 resultobj
= wxPyMake_wxObject(result
, 0);
42545 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42546 PyObject
*resultobj
= 0;
42547 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42549 wxMenu
*result
= 0 ;
42554 PyObject
* obj0
= 0 ;
42555 PyObject
* obj1
= 0 ;
42556 char * kwnames
[] = {
42557 (char *) "self",(char *) "pos", NULL
42560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42562 if (!SWIG_IsOK(res1
)) {
42563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42565 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42566 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42567 if (!SWIG_IsOK(ecode2
)) {
42568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
42570 arg2
= static_cast< size_t >(val2
);
42572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42573 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
42574 wxPyEndAllowThreads(__tstate
);
42575 if (PyErr_Occurred()) SWIG_fail
;
42578 resultobj
= wxPyMake_wxObject(result
, 0);
42586 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42587 PyObject
*resultobj
= 0;
42588 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42597 PyObject
* obj0
= 0 ;
42598 PyObject
* obj1
= 0 ;
42599 PyObject
* obj2
= 0 ;
42600 char * kwnames
[] = {
42601 (char *) "self",(char *) "pos",(char *) "enable", NULL
42604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42606 if (!SWIG_IsOK(res1
)) {
42607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42609 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42610 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42611 if (!SWIG_IsOK(ecode2
)) {
42612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
42614 arg2
= static_cast< size_t >(val2
);
42615 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
42616 if (!SWIG_IsOK(ecode3
)) {
42617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
42619 arg3
= static_cast< bool >(val3
);
42621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42622 (arg1
)->EnableTop(arg2
,arg3
);
42623 wxPyEndAllowThreads(__tstate
);
42624 if (PyErr_Occurred()) SWIG_fail
;
42626 resultobj
= SWIG_Py_Void();
42633 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42634 PyObject
*resultobj
= 0;
42635 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42642 PyObject
* obj0
= 0 ;
42643 PyObject
* obj1
= 0 ;
42644 char * kwnames
[] = {
42645 (char *) "self",(char *) "pos", NULL
42648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42650 if (!SWIG_IsOK(res1
)) {
42651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42653 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42654 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42655 if (!SWIG_IsOK(ecode2
)) {
42656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
42658 arg2
= static_cast< size_t >(val2
);
42660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42661 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
42662 wxPyEndAllowThreads(__tstate
);
42663 if (PyErr_Occurred()) SWIG_fail
;
42666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42674 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42675 PyObject
*resultobj
= 0;
42676 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42678 wxString
*arg3
= 0 ;
42683 bool temp3
= false ;
42684 PyObject
* obj0
= 0 ;
42685 PyObject
* obj1
= 0 ;
42686 PyObject
* obj2
= 0 ;
42687 char * kwnames
[] = {
42688 (char *) "self",(char *) "pos",(char *) "label", NULL
42691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42693 if (!SWIG_IsOK(res1
)) {
42694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42696 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42697 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42698 if (!SWIG_IsOK(ecode2
)) {
42699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
42701 arg2
= static_cast< size_t >(val2
);
42703 arg3
= wxString_in_helper(obj2
);
42704 if (arg3
== NULL
) SWIG_fail
;
42708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42709 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
42710 wxPyEndAllowThreads(__tstate
);
42711 if (PyErr_Occurred()) SWIG_fail
;
42713 resultobj
= SWIG_Py_Void();
42728 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42729 PyObject
*resultobj
= 0;
42730 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42737 PyObject
* obj0
= 0 ;
42738 PyObject
* obj1
= 0 ;
42739 char * kwnames
[] = {
42740 (char *) "self",(char *) "pos", NULL
42743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42745 if (!SWIG_IsOK(res1
)) {
42746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42748 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42749 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
42750 if (!SWIG_IsOK(ecode2
)) {
42751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
42753 arg2
= static_cast< size_t >(val2
);
42755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42756 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
42757 wxPyEndAllowThreads(__tstate
);
42758 if (PyErr_Occurred()) SWIG_fail
;
42762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42773 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42774 PyObject
*resultobj
= 0;
42775 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42776 wxString
*arg2
= 0 ;
42777 wxString
*arg3
= 0 ;
42781 bool temp2
= false ;
42782 bool temp3
= false ;
42783 PyObject
* obj0
= 0 ;
42784 PyObject
* obj1
= 0 ;
42785 PyObject
* obj2
= 0 ;
42786 char * kwnames
[] = {
42787 (char *) "self",(char *) "menu",(char *) "item", NULL
42790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42792 if (!SWIG_IsOK(res1
)) {
42793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42795 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42797 arg2
= wxString_in_helper(obj1
);
42798 if (arg2
== NULL
) SWIG_fail
;
42802 arg3
= wxString_in_helper(obj2
);
42803 if (arg3
== NULL
) SWIG_fail
;
42807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42808 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
42809 wxPyEndAllowThreads(__tstate
);
42810 if (PyErr_Occurred()) SWIG_fail
;
42812 resultobj
= SWIG_From_int(static_cast< int >(result
));
42835 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42836 PyObject
*resultobj
= 0;
42837 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42839 wxMenuItem
*result
= 0 ;
42844 PyObject
* obj0
= 0 ;
42845 PyObject
* obj1
= 0 ;
42846 char * kwnames
[] = {
42847 (char *) "self",(char *) "id", NULL
42850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42852 if (!SWIG_IsOK(res1
)) {
42853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42855 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42857 if (!SWIG_IsOK(ecode2
)) {
42858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
42860 arg2
= static_cast< int >(val2
);
42862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42863 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
42864 wxPyEndAllowThreads(__tstate
);
42865 if (PyErr_Occurred()) SWIG_fail
;
42868 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42876 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42877 PyObject
*resultobj
= 0;
42878 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42879 wxString
*arg2
= 0 ;
42883 bool temp2
= false ;
42884 PyObject
* obj0
= 0 ;
42885 PyObject
* obj1
= 0 ;
42886 char * kwnames
[] = {
42887 (char *) "self",(char *) "title", NULL
42890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42892 if (!SWIG_IsOK(res1
)) {
42893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42895 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42897 arg2
= wxString_in_helper(obj1
);
42898 if (arg2
== NULL
) SWIG_fail
;
42902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42903 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
42904 wxPyEndAllowThreads(__tstate
);
42905 if (PyErr_Occurred()) SWIG_fail
;
42907 resultobj
= SWIG_From_int(static_cast< int >(result
));
42922 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42923 PyObject
*resultobj
= 0;
42924 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42933 PyObject
* obj0
= 0 ;
42934 PyObject
* obj1
= 0 ;
42935 PyObject
* obj2
= 0 ;
42936 char * kwnames
[] = {
42937 (char *) "self",(char *) "id",(char *) "enable", NULL
42940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42942 if (!SWIG_IsOK(res1
)) {
42943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42945 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42947 if (!SWIG_IsOK(ecode2
)) {
42948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
42950 arg2
= static_cast< int >(val2
);
42951 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
42952 if (!SWIG_IsOK(ecode3
)) {
42953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
42955 arg3
= static_cast< bool >(val3
);
42957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42958 (arg1
)->Enable(arg2
,arg3
);
42959 wxPyEndAllowThreads(__tstate
);
42960 if (PyErr_Occurred()) SWIG_fail
;
42962 resultobj
= SWIG_Py_Void();
42969 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42970 PyObject
*resultobj
= 0;
42971 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42980 PyObject
* obj0
= 0 ;
42981 PyObject
* obj1
= 0 ;
42982 PyObject
* obj2
= 0 ;
42983 char * kwnames
[] = {
42984 (char *) "self",(char *) "id",(char *) "check", NULL
42987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42989 if (!SWIG_IsOK(res1
)) {
42990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42992 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42994 if (!SWIG_IsOK(ecode2
)) {
42995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
42997 arg2
= static_cast< int >(val2
);
42998 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
42999 if (!SWIG_IsOK(ecode3
)) {
43000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
43002 arg3
= static_cast< bool >(val3
);
43004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43005 (arg1
)->Check(arg2
,arg3
);
43006 wxPyEndAllowThreads(__tstate
);
43007 if (PyErr_Occurred()) SWIG_fail
;
43009 resultobj
= SWIG_Py_Void();
43016 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43017 PyObject
*resultobj
= 0;
43018 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43025 PyObject
* obj0
= 0 ;
43026 PyObject
* obj1
= 0 ;
43027 char * kwnames
[] = {
43028 (char *) "self",(char *) "id", NULL
43031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43033 if (!SWIG_IsOK(res1
)) {
43034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43036 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43038 if (!SWIG_IsOK(ecode2
)) {
43039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
43041 arg2
= static_cast< int >(val2
);
43043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43044 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
43045 wxPyEndAllowThreads(__tstate
);
43046 if (PyErr_Occurred()) SWIG_fail
;
43049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43057 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43058 PyObject
*resultobj
= 0;
43059 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43066 PyObject
* obj0
= 0 ;
43067 PyObject
* obj1
= 0 ;
43068 char * kwnames
[] = {
43069 (char *) "self",(char *) "id", NULL
43072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43074 if (!SWIG_IsOK(res1
)) {
43075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43077 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43079 if (!SWIG_IsOK(ecode2
)) {
43080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
43082 arg2
= static_cast< int >(val2
);
43084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43085 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
43086 wxPyEndAllowThreads(__tstate
);
43087 if (PyErr_Occurred()) SWIG_fail
;
43090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43098 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43099 PyObject
*resultobj
= 0;
43100 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43102 wxString
*arg3
= 0 ;
43107 bool temp3
= false ;
43108 PyObject
* obj0
= 0 ;
43109 PyObject
* obj1
= 0 ;
43110 PyObject
* obj2
= 0 ;
43111 char * kwnames
[] = {
43112 (char *) "self",(char *) "id",(char *) "label", NULL
43115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43117 if (!SWIG_IsOK(res1
)) {
43118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43120 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43122 if (!SWIG_IsOK(ecode2
)) {
43123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
43125 arg2
= static_cast< int >(val2
);
43127 arg3
= wxString_in_helper(obj2
);
43128 if (arg3
== NULL
) SWIG_fail
;
43132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43133 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
43134 wxPyEndAllowThreads(__tstate
);
43135 if (PyErr_Occurred()) SWIG_fail
;
43137 resultobj
= SWIG_Py_Void();
43152 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43153 PyObject
*resultobj
= 0;
43154 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43161 PyObject
* obj0
= 0 ;
43162 PyObject
* obj1
= 0 ;
43163 char * kwnames
[] = {
43164 (char *) "self",(char *) "id", NULL
43167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43169 if (!SWIG_IsOK(res1
)) {
43170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43172 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43174 if (!SWIG_IsOK(ecode2
)) {
43175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
43177 arg2
= static_cast< int >(val2
);
43179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43180 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
43181 wxPyEndAllowThreads(__tstate
);
43182 if (PyErr_Occurred()) SWIG_fail
;
43186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43197 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43198 PyObject
*resultobj
= 0;
43199 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43201 wxString
*arg3
= 0 ;
43206 bool temp3
= false ;
43207 PyObject
* obj0
= 0 ;
43208 PyObject
* obj1
= 0 ;
43209 PyObject
* obj2
= 0 ;
43210 char * kwnames
[] = {
43211 (char *) "self",(char *) "id",(char *) "helpString", NULL
43214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43216 if (!SWIG_IsOK(res1
)) {
43217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43219 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43221 if (!SWIG_IsOK(ecode2
)) {
43222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
43224 arg2
= static_cast< int >(val2
);
43226 arg3
= wxString_in_helper(obj2
);
43227 if (arg3
== NULL
) SWIG_fail
;
43231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43232 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
43233 wxPyEndAllowThreads(__tstate
);
43234 if (PyErr_Occurred()) SWIG_fail
;
43236 resultobj
= SWIG_Py_Void();
43251 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43252 PyObject
*resultobj
= 0;
43253 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43260 PyObject
* obj0
= 0 ;
43261 PyObject
* obj1
= 0 ;
43262 char * kwnames
[] = {
43263 (char *) "self",(char *) "id", NULL
43266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43268 if (!SWIG_IsOK(res1
)) {
43269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43271 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43273 if (!SWIG_IsOK(ecode2
)) {
43274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
43276 arg2
= static_cast< int >(val2
);
43278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43279 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
43280 wxPyEndAllowThreads(__tstate
);
43281 if (PyErr_Occurred()) SWIG_fail
;
43285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43296 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43297 PyObject
*resultobj
= 0;
43298 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43299 wxFrame
*result
= 0 ;
43302 PyObject
*swig_obj
[1] ;
43304 if (!args
) SWIG_fail
;
43305 swig_obj
[0] = args
;
43306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43307 if (!SWIG_IsOK(res1
)) {
43308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43310 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43313 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
43314 wxPyEndAllowThreads(__tstate
);
43315 if (PyErr_Occurred()) SWIG_fail
;
43318 resultobj
= wxPyMake_wxObject(result
, (bool)0);
43326 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43327 PyObject
*resultobj
= 0;
43328 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43332 PyObject
*swig_obj
[1] ;
43334 if (!args
) SWIG_fail
;
43335 swig_obj
[0] = args
;
43336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43337 if (!SWIG_IsOK(res1
)) {
43338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
43340 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43343 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
43344 wxPyEndAllowThreads(__tstate
);
43345 if (PyErr_Occurred()) SWIG_fail
;
43348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43356 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43357 PyObject
*resultobj
= 0;
43358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43359 wxFrame
*arg2
= (wxFrame
*) 0 ;
43364 PyObject
* obj0
= 0 ;
43365 PyObject
* obj1
= 0 ;
43366 char * kwnames
[] = {
43367 (char *) "self",(char *) "frame", NULL
43370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43372 if (!SWIG_IsOK(res1
)) {
43373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43375 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
43377 if (!SWIG_IsOK(res2
)) {
43378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
43380 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
43382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43383 (arg1
)->Attach(arg2
);
43384 wxPyEndAllowThreads(__tstate
);
43385 if (PyErr_Occurred()) SWIG_fail
;
43387 resultobj
= SWIG_Py_Void();
43394 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43395 PyObject
*resultobj
= 0;
43396 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43399 PyObject
*swig_obj
[1] ;
43401 if (!args
) SWIG_fail
;
43402 swig_obj
[0] = args
;
43403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43404 if (!SWIG_IsOK(res1
)) {
43405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43407 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43411 wxPyEndAllowThreads(__tstate
);
43412 if (PyErr_Occurred()) SWIG_fail
;
43414 resultobj
= SWIG_Py_Void();
43421 SWIGINTERN PyObject
*_wrap_MenuBar_UpdateMenus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43422 PyObject
*resultobj
= 0;
43423 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
43426 PyObject
*swig_obj
[1] ;
43428 if (!args
) SWIG_fail
;
43429 swig_obj
[0] = args
;
43430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
43431 if (!SWIG_IsOK(res1
)) {
43432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_UpdateMenus" "', expected argument " "1"" of type '" "wxMenuBar *""'");
43434 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
43436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43437 (arg1
)->UpdateMenus();
43438 wxPyEndAllowThreads(__tstate
);
43439 if (PyErr_Occurred()) SWIG_fail
;
43441 resultobj
= SWIG_Py_Void();
43448 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43449 PyObject
*resultobj
= 0;
43453 PyObject
* obj0
= 0 ;
43454 char * kwnames
[] = {
43455 (char *) "enable", NULL
43458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
43459 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
43460 if (!SWIG_IsOK(ecode1
)) {
43461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
43463 arg1
= static_cast< bool >(val1
);
43465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43466 wxMenuBar::SetAutoWindowMenu(arg1
);
43467 wxPyEndAllowThreads(__tstate
);
43468 if (PyErr_Occurred()) SWIG_fail
;
43470 resultobj
= SWIG_Py_Void();
43477 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43478 PyObject
*resultobj
= 0;
43481 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
43483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43484 result
= (bool)wxMenuBar::GetAutoWindowMenu();
43485 wxPyEndAllowThreads(__tstate
);
43486 if (PyErr_Occurred()) SWIG_fail
;
43489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43497 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43500 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
43501 return SWIG_Py_Void();
43504 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43505 return SWIG_Python_InitShadowInstance(args
);
43508 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43509 PyObject
*resultobj
= 0;
43510 wxMenu
*arg1
= (wxMenu
*) NULL
;
43511 int arg2
= (int) wxID_ANY
;
43512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43514 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43515 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43516 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
43517 wxMenu
*arg6
= (wxMenu
*) NULL
;
43518 wxMenuItem
*result
= 0 ;
43523 bool temp3
= false ;
43524 bool temp4
= false ;
43529 PyObject
* obj0
= 0 ;
43530 PyObject
* obj1
= 0 ;
43531 PyObject
* obj2
= 0 ;
43532 PyObject
* obj3
= 0 ;
43533 PyObject
* obj4
= 0 ;
43534 PyObject
* obj5
= 0 ;
43535 char * kwnames
[] = {
43536 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
43539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
43541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43542 if (!SWIG_IsOK(res1
)) {
43543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
43545 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
43548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43549 if (!SWIG_IsOK(ecode2
)) {
43550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
43552 arg2
= static_cast< int >(val2
);
43556 arg3
= wxString_in_helper(obj2
);
43557 if (arg3
== NULL
) SWIG_fail
;
43563 arg4
= wxString_in_helper(obj3
);
43564 if (arg4
== NULL
) SWIG_fail
;
43569 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
43570 if (!SWIG_IsOK(ecode5
)) {
43571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
43573 arg5
= static_cast< wxItemKind
>(val5
);
43576 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43577 if (!SWIG_IsOK(res6
)) {
43578 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
43580 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
43583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43584 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
43585 wxPyEndAllowThreads(__tstate
);
43586 if (PyErr_Occurred()) SWIG_fail
;
43588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_NEW
| 0 );
43611 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43612 PyObject
*resultobj
= 0;
43613 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43616 PyObject
*swig_obj
[1] ;
43618 if (!args
) SWIG_fail
;
43619 swig_obj
[0] = args
;
43620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
43621 if (!SWIG_IsOK(res1
)) {
43622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43624 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43629 wxPyEndAllowThreads(__tstate
);
43630 if (PyErr_Occurred()) SWIG_fail
;
43632 resultobj
= SWIG_Py_Void();
43639 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43640 PyObject
*resultobj
= 0;
43641 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43642 wxMenu
*result
= 0 ;
43645 PyObject
*swig_obj
[1] ;
43647 if (!args
) SWIG_fail
;
43648 swig_obj
[0] = args
;
43649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43650 if (!SWIG_IsOK(res1
)) {
43651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43653 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43656 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
43657 wxPyEndAllowThreads(__tstate
);
43658 if (PyErr_Occurred()) SWIG_fail
;
43661 resultobj
= wxPyMake_wxObject(result
, 0);
43669 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43670 PyObject
*resultobj
= 0;
43671 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43672 wxMenu
*arg2
= (wxMenu
*) 0 ;
43677 PyObject
* obj0
= 0 ;
43678 PyObject
* obj1
= 0 ;
43679 char * kwnames
[] = {
43680 (char *) "self",(char *) "menu", NULL
43683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43685 if (!SWIG_IsOK(res1
)) {
43686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43688 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
43690 if (!SWIG_IsOK(res2
)) {
43691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
43693 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
43695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43696 (arg1
)->SetMenu(arg2
);
43697 wxPyEndAllowThreads(__tstate
);
43698 if (PyErr_Occurred()) SWIG_fail
;
43700 resultobj
= SWIG_Py_Void();
43707 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43708 PyObject
*resultobj
= 0;
43709 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43715 PyObject
* obj0
= 0 ;
43716 PyObject
* obj1
= 0 ;
43717 char * kwnames
[] = {
43718 (char *) "self",(char *) "id", NULL
43721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43723 if (!SWIG_IsOK(res1
)) {
43724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43726 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43728 if (!SWIG_IsOK(ecode2
)) {
43729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
43731 arg2
= static_cast< int >(val2
);
43733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43734 (arg1
)->SetId(arg2
);
43735 wxPyEndAllowThreads(__tstate
);
43736 if (PyErr_Occurred()) SWIG_fail
;
43738 resultobj
= SWIG_Py_Void();
43745 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43746 PyObject
*resultobj
= 0;
43747 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43751 PyObject
*swig_obj
[1] ;
43753 if (!args
) SWIG_fail
;
43754 swig_obj
[0] = args
;
43755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43756 if (!SWIG_IsOK(res1
)) {
43757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43759 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43762 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
43763 wxPyEndAllowThreads(__tstate
);
43764 if (PyErr_Occurred()) SWIG_fail
;
43766 resultobj
= SWIG_From_int(static_cast< int >(result
));
43773 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43774 PyObject
*resultobj
= 0;
43775 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43779 PyObject
*swig_obj
[1] ;
43781 if (!args
) SWIG_fail
;
43782 swig_obj
[0] = args
;
43783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43784 if (!SWIG_IsOK(res1
)) {
43785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43787 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43790 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
43791 wxPyEndAllowThreads(__tstate
);
43792 if (PyErr_Occurred()) SWIG_fail
;
43795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43803 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43804 PyObject
*resultobj
= 0;
43805 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43806 wxString
*arg2
= 0 ;
43809 bool temp2
= false ;
43810 PyObject
* obj0
= 0 ;
43811 PyObject
* obj1
= 0 ;
43812 char * kwnames
[] = {
43813 (char *) "self",(char *) "str", NULL
43816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43818 if (!SWIG_IsOK(res1
)) {
43819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43821 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43823 arg2
= wxString_in_helper(obj1
);
43824 if (arg2
== NULL
) SWIG_fail
;
43828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43829 (arg1
)->SetText((wxString
const &)*arg2
);
43830 wxPyEndAllowThreads(__tstate
);
43831 if (PyErr_Occurred()) SWIG_fail
;
43833 resultobj
= SWIG_Py_Void();
43848 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43849 PyObject
*resultobj
= 0;
43850 wxMenuItem
*arg1
= (wxMenuItem
*) 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_wxMenuItem
, 0 | 0 );
43859 if (!SWIG_IsOK(res1
)) {
43860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43862 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43865 result
= ((wxMenuItem
const *)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_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43883 PyObject
*resultobj
= 0;
43884 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43885 wxString
*result
= 0 ;
43888 PyObject
*swig_obj
[1] ;
43890 if (!args
) SWIG_fail
;
43891 swig_obj
[0] = args
;
43892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43893 if (!SWIG_IsOK(res1
)) {
43894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43896 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43900 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
43901 result
= (wxString
*) &_result_ref
;
43903 wxPyEndAllowThreads(__tstate
);
43904 if (PyErr_Occurred()) SWIG_fail
;
43908 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
43910 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
43919 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43920 PyObject
*resultobj
= 0;
43921 wxString
*arg1
= 0 ;
43923 bool temp1
= false ;
43924 PyObject
* obj0
= 0 ;
43925 char * kwnames
[] = {
43926 (char *) "text", NULL
43929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
43931 arg1
= wxString_in_helper(obj0
);
43932 if (arg1
== NULL
) SWIG_fail
;
43936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43937 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
43938 wxPyEndAllowThreads(__tstate
);
43939 if (PyErr_Occurred()) SWIG_fail
;
43943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43962 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43963 PyObject
*resultobj
= 0;
43964 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43968 PyObject
*swig_obj
[1] ;
43970 if (!args
) SWIG_fail
;
43971 swig_obj
[0] = args
;
43972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43973 if (!SWIG_IsOK(res1
)) {
43974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43976 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43979 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
43980 wxPyEndAllowThreads(__tstate
);
43981 if (PyErr_Occurred()) SWIG_fail
;
43983 resultobj
= SWIG_From_int(static_cast< int >(result
));
43990 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43991 PyObject
*resultobj
= 0;
43992 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43998 PyObject
* obj0
= 0 ;
43999 PyObject
* obj1
= 0 ;
44000 char * kwnames
[] = {
44001 (char *) "self",(char *) "kind", NULL
44004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44006 if (!SWIG_IsOK(res1
)) {
44007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44009 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44011 if (!SWIG_IsOK(ecode2
)) {
44012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
44014 arg2
= static_cast< wxItemKind
>(val2
);
44016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44017 (arg1
)->SetKind(arg2
);
44018 wxPyEndAllowThreads(__tstate
);
44019 if (PyErr_Occurred()) SWIG_fail
;
44021 resultobj
= SWIG_Py_Void();
44028 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44029 PyObject
*resultobj
= 0;
44030 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44036 PyObject
* obj0
= 0 ;
44037 PyObject
* obj1
= 0 ;
44038 char * kwnames
[] = {
44039 (char *) "self",(char *) "checkable", NULL
44042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44044 if (!SWIG_IsOK(res1
)) {
44045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44047 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44048 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
44049 if (!SWIG_IsOK(ecode2
)) {
44050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
44052 arg2
= static_cast< bool >(val2
);
44054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44055 (arg1
)->SetCheckable(arg2
);
44056 wxPyEndAllowThreads(__tstate
);
44057 if (PyErr_Occurred()) SWIG_fail
;
44059 resultobj
= SWIG_Py_Void();
44066 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44067 PyObject
*resultobj
= 0;
44068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44072 PyObject
*swig_obj
[1] ;
44074 if (!args
) SWIG_fail
;
44075 swig_obj
[0] = args
;
44076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44077 if (!SWIG_IsOK(res1
)) {
44078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44080 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44083 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
44084 wxPyEndAllowThreads(__tstate
);
44085 if (PyErr_Occurred()) SWIG_fail
;
44088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44096 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44097 PyObject
*resultobj
= 0;
44098 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44102 PyObject
*swig_obj
[1] ;
44104 if (!args
) SWIG_fail
;
44105 swig_obj
[0] = args
;
44106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44107 if (!SWIG_IsOK(res1
)) {
44108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44110 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44113 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
44114 wxPyEndAllowThreads(__tstate
);
44115 if (PyErr_Occurred()) SWIG_fail
;
44118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44126 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44127 PyObject
*resultobj
= 0;
44128 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44129 wxMenu
*arg2
= (wxMenu
*) 0 ;
44134 PyObject
* obj0
= 0 ;
44135 PyObject
* obj1
= 0 ;
44136 char * kwnames
[] = {
44137 (char *) "self",(char *) "menu", NULL
44140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44142 if (!SWIG_IsOK(res1
)) {
44143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44145 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44146 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
44147 if (!SWIG_IsOK(res2
)) {
44148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
44150 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
44152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44153 (arg1
)->SetSubMenu(arg2
);
44154 wxPyEndAllowThreads(__tstate
);
44155 if (PyErr_Occurred()) SWIG_fail
;
44157 resultobj
= SWIG_Py_Void();
44164 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44165 PyObject
*resultobj
= 0;
44166 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44167 wxMenu
*result
= 0 ;
44170 PyObject
*swig_obj
[1] ;
44172 if (!args
) SWIG_fail
;
44173 swig_obj
[0] = args
;
44174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44175 if (!SWIG_IsOK(res1
)) {
44176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44178 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44181 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
44182 wxPyEndAllowThreads(__tstate
);
44183 if (PyErr_Occurred()) SWIG_fail
;
44186 resultobj
= wxPyMake_wxObject(result
, 0);
44194 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44195 PyObject
*resultobj
= 0;
44196 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44197 bool arg2
= (bool) true ;
44202 PyObject
* obj0
= 0 ;
44203 PyObject
* obj1
= 0 ;
44204 char * kwnames
[] = {
44205 (char *) "self",(char *) "enable", NULL
44208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44210 if (!SWIG_IsOK(res1
)) {
44211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44213 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44215 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
44216 if (!SWIG_IsOK(ecode2
)) {
44217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
44219 arg2
= static_cast< bool >(val2
);
44222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44223 (arg1
)->Enable(arg2
);
44224 wxPyEndAllowThreads(__tstate
);
44225 if (PyErr_Occurred()) SWIG_fail
;
44227 resultobj
= SWIG_Py_Void();
44234 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44235 PyObject
*resultobj
= 0;
44236 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44240 PyObject
*swig_obj
[1] ;
44242 if (!args
) SWIG_fail
;
44243 swig_obj
[0] = args
;
44244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44245 if (!SWIG_IsOK(res1
)) {
44246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44248 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44251 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
44252 wxPyEndAllowThreads(__tstate
);
44253 if (PyErr_Occurred()) SWIG_fail
;
44256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44264 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44265 PyObject
*resultobj
= 0;
44266 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44267 bool arg2
= (bool) true ;
44272 PyObject
* obj0
= 0 ;
44273 PyObject
* obj1
= 0 ;
44274 char * kwnames
[] = {
44275 (char *) "self",(char *) "check", NULL
44278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44280 if (!SWIG_IsOK(res1
)) {
44281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44283 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44285 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
44286 if (!SWIG_IsOK(ecode2
)) {
44287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
44289 arg2
= static_cast< bool >(val2
);
44292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44293 (arg1
)->Check(arg2
);
44294 wxPyEndAllowThreads(__tstate
);
44295 if (PyErr_Occurred()) SWIG_fail
;
44297 resultobj
= SWIG_Py_Void();
44304 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44305 PyObject
*resultobj
= 0;
44306 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44310 PyObject
*swig_obj
[1] ;
44312 if (!args
) SWIG_fail
;
44313 swig_obj
[0] = args
;
44314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44315 if (!SWIG_IsOK(res1
)) {
44316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44318 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44321 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
44322 wxPyEndAllowThreads(__tstate
);
44323 if (PyErr_Occurred()) SWIG_fail
;
44326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44334 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44335 PyObject
*resultobj
= 0;
44336 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44339 PyObject
*swig_obj
[1] ;
44341 if (!args
) SWIG_fail
;
44342 swig_obj
[0] = args
;
44343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44344 if (!SWIG_IsOK(res1
)) {
44345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44347 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44351 wxPyEndAllowThreads(__tstate
);
44352 if (PyErr_Occurred()) SWIG_fail
;
44354 resultobj
= SWIG_Py_Void();
44361 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44362 PyObject
*resultobj
= 0;
44363 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44364 wxString
*arg2
= 0 ;
44367 bool temp2
= false ;
44368 PyObject
* obj0
= 0 ;
44369 PyObject
* obj1
= 0 ;
44370 char * kwnames
[] = {
44371 (char *) "self",(char *) "str", NULL
44374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44376 if (!SWIG_IsOK(res1
)) {
44377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44379 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44381 arg2
= wxString_in_helper(obj1
);
44382 if (arg2
== NULL
) SWIG_fail
;
44386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44387 (arg1
)->SetHelp((wxString
const &)*arg2
);
44388 wxPyEndAllowThreads(__tstate
);
44389 if (PyErr_Occurred()) SWIG_fail
;
44391 resultobj
= SWIG_Py_Void();
44406 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44407 PyObject
*resultobj
= 0;
44408 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44409 wxString
*result
= 0 ;
44412 PyObject
*swig_obj
[1] ;
44414 if (!args
) SWIG_fail
;
44415 swig_obj
[0] = args
;
44416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44417 if (!SWIG_IsOK(res1
)) {
44418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44420 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44424 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
44425 result
= (wxString
*) &_result_ref
;
44427 wxPyEndAllowThreads(__tstate
);
44428 if (PyErr_Occurred()) SWIG_fail
;
44432 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
44434 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
44443 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44444 PyObject
*resultobj
= 0;
44445 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44446 wxAcceleratorEntry
*result
= 0 ;
44449 PyObject
*swig_obj
[1] ;
44451 if (!args
) SWIG_fail
;
44452 swig_obj
[0] = args
;
44453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44454 if (!SWIG_IsOK(res1
)) {
44455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44457 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44460 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
44461 wxPyEndAllowThreads(__tstate
);
44462 if (PyErr_Occurred()) SWIG_fail
;
44464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
44471 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44472 PyObject
*resultobj
= 0;
44473 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44474 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
44479 PyObject
* obj0
= 0 ;
44480 PyObject
* obj1
= 0 ;
44481 char * kwnames
[] = {
44482 (char *) "self",(char *) "accel", NULL
44485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44487 if (!SWIG_IsOK(res1
)) {
44488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44490 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44491 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
44492 if (!SWIG_IsOK(res2
)) {
44493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
44495 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
44497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44498 (arg1
)->SetAccel(arg2
);
44499 wxPyEndAllowThreads(__tstate
);
44500 if (PyErr_Occurred()) SWIG_fail
;
44502 resultobj
= SWIG_Py_Void();
44509 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44510 PyObject
*resultobj
= 0;
44511 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44512 wxBitmap
*arg2
= 0 ;
44517 PyObject
* obj0
= 0 ;
44518 PyObject
* obj1
= 0 ;
44519 char * kwnames
[] = {
44520 (char *) "self",(char *) "bitmap", NULL
44523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44525 if (!SWIG_IsOK(res1
)) {
44526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44528 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44529 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
44530 if (!SWIG_IsOK(res2
)) {
44531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44536 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
44538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44539 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
44540 wxPyEndAllowThreads(__tstate
);
44541 if (PyErr_Occurred()) SWIG_fail
;
44543 resultobj
= SWIG_Py_Void();
44550 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44551 PyObject
*resultobj
= 0;
44552 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44553 wxBitmap
*result
= 0 ;
44556 PyObject
*swig_obj
[1] ;
44558 if (!args
) SWIG_fail
;
44559 swig_obj
[0] = args
;
44560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44561 if (!SWIG_IsOK(res1
)) {
44562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44564 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44568 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
44569 result
= (wxBitmap
*) &_result_ref
;
44571 wxPyEndAllowThreads(__tstate
);
44572 if (PyErr_Occurred()) SWIG_fail
;
44575 wxBitmap
* resultptr
= new wxBitmap(*result
);
44576 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
44584 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44585 PyObject
*resultobj
= 0;
44586 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44592 PyObject
* obj0
= 0 ;
44593 PyObject
* obj1
= 0 ;
44594 char * kwnames
[] = {
44595 (char *) "self",(char *) "font", NULL
44598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44600 if (!SWIG_IsOK(res1
)) {
44601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44603 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
44605 if (!SWIG_IsOK(res2
)) {
44606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44611 arg2
= reinterpret_cast< wxFont
* >(argp2
);
44613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44614 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
44615 wxPyEndAllowThreads(__tstate
);
44616 if (PyErr_Occurred()) SWIG_fail
;
44618 resultobj
= SWIG_Py_Void();
44625 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44626 PyObject
*resultobj
= 0;
44627 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44631 PyObject
*swig_obj
[1] ;
44633 if (!args
) SWIG_fail
;
44634 swig_obj
[0] = args
;
44635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44636 if (!SWIG_IsOK(res1
)) {
44637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44639 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44642 result
= wxMenuItem_GetFont(arg1
);
44643 wxPyEndAllowThreads(__tstate
);
44644 if (PyErr_Occurred()) SWIG_fail
;
44646 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
44653 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44654 PyObject
*resultobj
= 0;
44655 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44656 wxColour
*arg2
= 0 ;
44660 PyObject
* obj0
= 0 ;
44661 PyObject
* obj1
= 0 ;
44662 char * kwnames
[] = {
44663 (char *) "self",(char *) "colText", NULL
44666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44668 if (!SWIG_IsOK(res1
)) {
44669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44671 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44674 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
44677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44678 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
44679 wxPyEndAllowThreads(__tstate
);
44680 if (PyErr_Occurred()) SWIG_fail
;
44682 resultobj
= SWIG_Py_Void();
44689 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44690 PyObject
*resultobj
= 0;
44691 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44695 PyObject
*swig_obj
[1] ;
44697 if (!args
) SWIG_fail
;
44698 swig_obj
[0] = args
;
44699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44700 if (!SWIG_IsOK(res1
)) {
44701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44703 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44706 result
= wxMenuItem_GetTextColour(arg1
);
44707 wxPyEndAllowThreads(__tstate
);
44708 if (PyErr_Occurred()) SWIG_fail
;
44710 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
44717 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44718 PyObject
*resultobj
= 0;
44719 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44720 wxColour
*arg2
= 0 ;
44724 PyObject
* obj0
= 0 ;
44725 PyObject
* obj1
= 0 ;
44726 char * kwnames
[] = {
44727 (char *) "self",(char *) "colBack", NULL
44730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44732 if (!SWIG_IsOK(res1
)) {
44733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44735 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44738 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
44741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44742 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
44743 wxPyEndAllowThreads(__tstate
);
44744 if (PyErr_Occurred()) SWIG_fail
;
44746 resultobj
= SWIG_Py_Void();
44753 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44754 PyObject
*resultobj
= 0;
44755 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44759 PyObject
*swig_obj
[1] ;
44761 if (!args
) SWIG_fail
;
44762 swig_obj
[0] = args
;
44763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44764 if (!SWIG_IsOK(res1
)) {
44765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44767 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44770 result
= wxMenuItem_GetBackgroundColour(arg1
);
44771 wxPyEndAllowThreads(__tstate
);
44772 if (PyErr_Occurred()) SWIG_fail
;
44774 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
44781 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44782 PyObject
*resultobj
= 0;
44783 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44784 wxBitmap
*arg2
= 0 ;
44785 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
44786 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
44793 PyObject
* obj0
= 0 ;
44794 PyObject
* obj1
= 0 ;
44795 PyObject
* obj2
= 0 ;
44796 char * kwnames
[] = {
44797 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
44800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44802 if (!SWIG_IsOK(res1
)) {
44803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44805 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
44807 if (!SWIG_IsOK(res2
)) {
44808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44813 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
44815 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
44816 if (!SWIG_IsOK(res3
)) {
44817 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
44820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
44822 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
44825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44826 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
44827 wxPyEndAllowThreads(__tstate
);
44828 if (PyErr_Occurred()) SWIG_fail
;
44830 resultobj
= SWIG_Py_Void();
44837 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44838 PyObject
*resultobj
= 0;
44839 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44840 wxBitmap
*arg2
= 0 ;
44845 PyObject
* obj0
= 0 ;
44846 PyObject
* obj1
= 0 ;
44847 char * kwnames
[] = {
44848 (char *) "self",(char *) "bmpDisabled", NULL
44851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44853 if (!SWIG_IsOK(res1
)) {
44854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44856 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
44858 if (!SWIG_IsOK(res2
)) {
44859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
44864 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
44866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44867 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
44868 wxPyEndAllowThreads(__tstate
);
44869 if (PyErr_Occurred()) SWIG_fail
;
44871 resultobj
= SWIG_Py_Void();
44878 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44879 PyObject
*resultobj
= 0;
44880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44881 wxBitmap
*result
= 0 ;
44884 PyObject
*swig_obj
[1] ;
44886 if (!args
) SWIG_fail
;
44887 swig_obj
[0] = args
;
44888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44889 if (!SWIG_IsOK(res1
)) {
44890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
44892 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44896 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
44897 result
= (wxBitmap
*) &_result_ref
;
44899 wxPyEndAllowThreads(__tstate
);
44900 if (PyErr_Occurred()) SWIG_fail
;
44903 wxBitmap
* resultptr
= new wxBitmap(*result
);
44904 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
44912 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44913 PyObject
*resultobj
= 0;
44914 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44920 PyObject
* obj0
= 0 ;
44921 PyObject
* obj1
= 0 ;
44922 char * kwnames
[] = {
44923 (char *) "self",(char *) "nWidth", NULL
44926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44928 if (!SWIG_IsOK(res1
)) {
44929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44931 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44933 if (!SWIG_IsOK(ecode2
)) {
44934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
44936 arg2
= static_cast< int >(val2
);
44938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44939 wxMenuItem_SetMarginWidth(arg1
,arg2
);
44940 wxPyEndAllowThreads(__tstate
);
44941 if (PyErr_Occurred()) SWIG_fail
;
44943 resultobj
= SWIG_Py_Void();
44950 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44951 PyObject
*resultobj
= 0;
44952 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
44956 PyObject
*swig_obj
[1] ;
44958 if (!args
) SWIG_fail
;
44959 swig_obj
[0] = args
;
44960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
44961 if (!SWIG_IsOK(res1
)) {
44962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
44964 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
44966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44967 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
44968 wxPyEndAllowThreads(__tstate
);
44969 if (PyErr_Occurred()) SWIG_fail
;
44971 resultobj
= SWIG_From_int(static_cast< int >(result
));
44978 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44979 PyObject
*resultobj
= 0;
44982 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
44984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44985 result
= (int)wxMenuItem_GetDefaultMarginWidth();
44986 wxPyEndAllowThreads(__tstate
);
44987 if (PyErr_Occurred()) SWIG_fail
;
44989 resultobj
= SWIG_From_int(static_cast< int >(result
));
44996 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44997 PyObject
*resultobj
= 0;
44998 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45002 PyObject
*swig_obj
[1] ;
45004 if (!args
) SWIG_fail
;
45005 swig_obj
[0] = args
;
45006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45007 if (!SWIG_IsOK(res1
)) {
45008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45010 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45013 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
45014 wxPyEndAllowThreads(__tstate
);
45015 if (PyErr_Occurred()) SWIG_fail
;
45018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45026 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45027 PyObject
*resultobj
= 0;
45028 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45029 bool arg2
= (bool) true ;
45034 PyObject
* obj0
= 0 ;
45035 PyObject
* obj1
= 0 ;
45036 char * kwnames
[] = {
45037 (char *) "self",(char *) "ownerDrawn", NULL
45040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45042 if (!SWIG_IsOK(res1
)) {
45043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45045 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45047 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45048 if (!SWIG_IsOK(ecode2
)) {
45049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
45051 arg2
= static_cast< bool >(val2
);
45054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45055 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
45056 wxPyEndAllowThreads(__tstate
);
45057 if (PyErr_Occurred()) SWIG_fail
;
45059 resultobj
= SWIG_Py_Void();
45066 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45067 PyObject
*resultobj
= 0;
45068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
45071 PyObject
*swig_obj
[1] ;
45073 if (!args
) SWIG_fail
;
45074 swig_obj
[0] = args
;
45075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
45076 if (!SWIG_IsOK(res1
)) {
45077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
45079 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
45081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45082 wxMenuItem_ResetOwnerDrawn(arg1
);
45083 wxPyEndAllowThreads(__tstate
);
45084 if (PyErr_Occurred()) SWIG_fail
;
45086 resultobj
= SWIG_Py_Void();
45093 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45096 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
45097 return SWIG_Py_Void();
45100 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45101 return SWIG_Python_InitShadowInstance(args
);
45104 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
45105 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
45110 SWIGINTERN PyObject
*ControlNameStr_get(void) {
45111 PyObject
*pyobj
= 0;
45115 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
45117 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
45124 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45125 PyObject
*resultobj
= 0;
45126 wxWindow
*arg1
= (wxWindow
*) 0 ;
45127 int arg2
= (int) -1 ;
45128 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
45129 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
45130 wxSize
const &arg4_defvalue
= wxDefaultSize
;
45131 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
45132 long arg5
= (long) 0 ;
45133 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
45134 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
45135 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
45136 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
45137 wxControl
*result
= 0 ;
45148 bool temp7
= false ;
45149 PyObject
* obj0
= 0 ;
45150 PyObject
* obj1
= 0 ;
45151 PyObject
* obj2
= 0 ;
45152 PyObject
* obj3
= 0 ;
45153 PyObject
* obj4
= 0 ;
45154 PyObject
* obj5
= 0 ;
45155 PyObject
* obj6
= 0 ;
45156 char * kwnames
[] = {
45157 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
45161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45162 if (!SWIG_IsOK(res1
)) {
45163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
45165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45168 if (!SWIG_IsOK(ecode2
)) {
45169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
45171 arg2
= static_cast< int >(val2
);
45176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
45182 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
45186 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
45187 if (!SWIG_IsOK(ecode5
)) {
45188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
45190 arg5
= static_cast< long >(val5
);
45193 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
45194 if (!SWIG_IsOK(res6
)) {
45195 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
45198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
45200 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
45204 arg7
= wxString_in_helper(obj6
);
45205 if (arg7
== NULL
) SWIG_fail
;
45210 if (!wxPyCheckForApp()) SWIG_fail
;
45211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45212 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
45213 wxPyEndAllowThreads(__tstate
);
45214 if (PyErr_Occurred()) SWIG_fail
;
45216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
45231 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45232 PyObject
*resultobj
= 0;
45233 wxControl
*result
= 0 ;
45235 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
45237 if (!wxPyCheckForApp()) SWIG_fail
;
45238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45239 result
= (wxControl
*)new wxControl();
45240 wxPyEndAllowThreads(__tstate
);
45241 if (PyErr_Occurred()) SWIG_fail
;
45243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
45250 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45251 PyObject
*resultobj
= 0;
45252 wxControl
*arg1
= (wxControl
*) 0 ;
45253 wxWindow
*arg2
= (wxWindow
*) 0 ;
45254 int arg3
= (int) -1 ;
45255 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45256 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45257 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45258 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45259 long arg6
= (long) 0 ;
45260 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45261 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45262 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
45263 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45277 bool temp8
= false ;
45278 PyObject
* obj0
= 0 ;
45279 PyObject
* obj1
= 0 ;
45280 PyObject
* obj2
= 0 ;
45281 PyObject
* obj3
= 0 ;
45282 PyObject
* obj4
= 0 ;
45283 PyObject
* obj5
= 0 ;
45284 PyObject
* obj6
= 0 ;
45285 PyObject
* obj7
= 0 ;
45286 char * kwnames
[] = {
45287 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
45292 if (!SWIG_IsOK(res1
)) {
45293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
45295 arg1
= reinterpret_cast< wxControl
* >(argp1
);
45296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45297 if (!SWIG_IsOK(res2
)) {
45298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45300 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45303 if (!SWIG_IsOK(ecode3
)) {
45304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
45306 arg3
= static_cast< int >(val3
);
45311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45321 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45322 if (!SWIG_IsOK(ecode6
)) {
45323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
45325 arg6
= static_cast< long >(val6
);
45328 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45329 if (!SWIG_IsOK(res7
)) {
45330 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
45333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
45335 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45339 arg8
= wxString_in_helper(obj7
);
45340 if (arg8
== NULL
) SWIG_fail
;
45345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45347 wxPyEndAllowThreads(__tstate
);
45348 if (PyErr_Occurred()) SWIG_fail
;
45351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45367 SWIGINTERN PyObject
*_wrap_Control_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45368 PyObject
*resultobj
= 0;
45369 wxControl
*arg1
= (wxControl
*) 0 ;
45373 PyObject
*swig_obj
[1] ;
45375 if (!args
) SWIG_fail
;
45376 swig_obj
[0] = args
;
45377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
45378 if (!SWIG_IsOK(res1
)) {
45379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetAlignment" "', expected argument " "1"" of type '" "wxControl const *""'");
45381 arg1
= reinterpret_cast< wxControl
* >(argp1
);
45383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45384 result
= (int)((wxControl
const *)arg1
)->GetAlignment();
45385 wxPyEndAllowThreads(__tstate
);
45386 if (PyErr_Occurred()) SWIG_fail
;
45388 resultobj
= SWIG_From_int(static_cast< int >(result
));
45395 SWIGINTERN PyObject
*_wrap_Control_GetLabelText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45396 PyObject
*resultobj
= 0;
45397 wxControl
*arg1
= (wxControl
*) 0 ;
45401 PyObject
*swig_obj
[1] ;
45403 if (!args
) SWIG_fail
;
45404 swig_obj
[0] = args
;
45405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
45406 if (!SWIG_IsOK(res1
)) {
45407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabelText" "', expected argument " "1"" of type '" "wxControl const *""'");
45409 arg1
= reinterpret_cast< wxControl
* >(argp1
);
45411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45412 result
= ((wxControl
const *)arg1
)->GetLabelText();
45413 wxPyEndAllowThreads(__tstate
);
45414 if (PyErr_Occurred()) SWIG_fail
;
45418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45429 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45430 PyObject
*resultobj
= 0;
45431 wxControl
*arg1
= (wxControl
*) 0 ;
45432 wxCommandEvent
*arg2
= 0 ;
45437 PyObject
* obj0
= 0 ;
45438 PyObject
* obj1
= 0 ;
45439 char * kwnames
[] = {
45440 (char *) "self",(char *) "event", NULL
45443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
45445 if (!SWIG_IsOK(res1
)) {
45446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
45448 arg1
= reinterpret_cast< wxControl
* >(argp1
);
45449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
45450 if (!SWIG_IsOK(res2
)) {
45451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
45454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
45456 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
45458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45459 (arg1
)->Command(*arg2
);
45460 wxPyEndAllowThreads(__tstate
);
45461 if (PyErr_Occurred()) SWIG_fail
;
45463 resultobj
= SWIG_Py_Void();
45470 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45471 PyObject
*resultobj
= 0;
45472 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
45473 SwigValueWrapper
<wxVisualAttributes
> result
;
45476 PyObject
* obj0
= 0 ;
45477 char * kwnames
[] = {
45478 (char *) "variant", NULL
45481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
45483 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45484 if (!SWIG_IsOK(ecode1
)) {
45485 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
45487 arg1
= static_cast< wxWindowVariant
>(val1
);
45490 if (!wxPyCheckForApp()) SWIG_fail
;
45491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45492 result
= wxControl::GetClassDefaultAttributes(arg1
);
45493 wxPyEndAllowThreads(__tstate
);
45494 if (PyErr_Occurred()) SWIG_fail
;
45496 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
45503 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45506 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
45507 return SWIG_Py_Void();
45510 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45511 return SWIG_Python_InitShadowInstance(args
);
45514 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45515 PyObject
*resultobj
= 0;
45516 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45517 wxString
*arg2
= 0 ;
45518 PyObject
*arg3
= (PyObject
*) NULL
;
45522 bool temp2
= false ;
45523 PyObject
* obj0
= 0 ;
45524 PyObject
* obj1
= 0 ;
45525 PyObject
* obj2
= 0 ;
45526 char * kwnames
[] = {
45527 (char *) "self",(char *) "item",(char *) "clientData", NULL
45530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45532 if (!SWIG_IsOK(res1
)) {
45533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45535 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45537 arg2
= wxString_in_helper(obj1
);
45538 if (arg2
== NULL
) SWIG_fail
;
45545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45546 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
45547 wxPyEndAllowThreads(__tstate
);
45548 if (PyErr_Occurred()) SWIG_fail
;
45550 resultobj
= SWIG_From_int(static_cast< int >(result
));
45565 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45566 PyObject
*resultobj
= 0;
45567 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45568 wxArrayString
*arg2
= 0 ;
45571 bool temp2
= false ;
45572 PyObject
* obj0
= 0 ;
45573 PyObject
* obj1
= 0 ;
45574 char * kwnames
[] = {
45575 (char *) "self",(char *) "strings", NULL
45578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45580 if (!SWIG_IsOK(res1
)) {
45581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45583 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45585 if (! PySequence_Check(obj1
)) {
45586 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
45589 arg2
= new wxArrayString
;
45591 int i
, len
=PySequence_Length(obj1
);
45592 for (i
=0; i
<len
; i
++) {
45593 PyObject
* item
= PySequence_GetItem(obj1
, i
);
45594 wxString
* s
= wxString_in_helper(item
);
45595 if (PyErr_Occurred()) SWIG_fail
;
45602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45603 (arg1
)->Append((wxArrayString
const &)*arg2
);
45604 wxPyEndAllowThreads(__tstate
);
45605 if (PyErr_Occurred()) SWIG_fail
;
45607 resultobj
= SWIG_Py_Void();
45609 if (temp2
) delete arg2
;
45614 if (temp2
) delete arg2
;
45620 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45621 PyObject
*resultobj
= 0;
45622 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45623 wxString
*arg2
= 0 ;
45624 unsigned int arg3
;
45625 PyObject
*arg4
= (PyObject
*) NULL
;
45629 bool temp2
= false ;
45630 unsigned int val3
;
45632 PyObject
* obj0
= 0 ;
45633 PyObject
* obj1
= 0 ;
45634 PyObject
* obj2
= 0 ;
45635 PyObject
* obj3
= 0 ;
45636 char * kwnames
[] = {
45637 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
45640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45642 if (!SWIG_IsOK(res1
)) {
45643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45645 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45647 arg2
= wxString_in_helper(obj1
);
45648 if (arg2
== NULL
) SWIG_fail
;
45651 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
45652 if (!SWIG_IsOK(ecode3
)) {
45653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "unsigned int""'");
45655 arg3
= static_cast< unsigned int >(val3
);
45660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45661 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
45662 wxPyEndAllowThreads(__tstate
);
45663 if (PyErr_Occurred()) SWIG_fail
;
45665 resultobj
= SWIG_From_int(static_cast< int >(result
));
45680 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45681 PyObject
*resultobj
= 0;
45682 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45685 PyObject
*swig_obj
[1] ;
45687 if (!args
) SWIG_fail
;
45688 swig_obj
[0] = args
;
45689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45690 if (!SWIG_IsOK(res1
)) {
45691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45693 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45697 wxPyEndAllowThreads(__tstate
);
45698 if (PyErr_Occurred()) SWIG_fail
;
45700 resultobj
= SWIG_Py_Void();
45707 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45708 PyObject
*resultobj
= 0;
45709 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45710 unsigned int arg2
;
45713 unsigned int val2
;
45715 PyObject
* obj0
= 0 ;
45716 PyObject
* obj1
= 0 ;
45717 char * kwnames
[] = {
45718 (char *) "self",(char *) "n", NULL
45721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45723 if (!SWIG_IsOK(res1
)) {
45724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45726 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45727 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45728 if (!SWIG_IsOK(ecode2
)) {
45729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "unsigned int""'");
45731 arg2
= static_cast< unsigned int >(val2
);
45733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45734 (arg1
)->Delete(arg2
);
45735 wxPyEndAllowThreads(__tstate
);
45736 if (PyErr_Occurred()) SWIG_fail
;
45738 resultobj
= SWIG_Py_Void();
45745 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45746 PyObject
*resultobj
= 0;
45747 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45748 unsigned int arg2
;
45749 PyObject
*result
= 0 ;
45752 unsigned int val2
;
45754 PyObject
* obj0
= 0 ;
45755 PyObject
* obj1
= 0 ;
45756 char * kwnames
[] = {
45757 (char *) "self",(char *) "n", NULL
45760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45762 if (!SWIG_IsOK(res1
)) {
45763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45765 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45766 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45767 if (!SWIG_IsOK(ecode2
)) {
45768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
45770 arg2
= static_cast< unsigned int >(val2
);
45772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45773 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
45774 wxPyEndAllowThreads(__tstate
);
45775 if (PyErr_Occurred()) SWIG_fail
;
45777 resultobj
= result
;
45784 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45785 PyObject
*resultobj
= 0;
45786 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45787 unsigned int arg2
;
45788 PyObject
*arg3
= (PyObject
*) 0 ;
45791 unsigned int val2
;
45793 PyObject
* obj0
= 0 ;
45794 PyObject
* obj1
= 0 ;
45795 PyObject
* obj2
= 0 ;
45796 char * kwnames
[] = {
45797 (char *) "self",(char *) "n",(char *) "clientData", NULL
45800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45802 if (!SWIG_IsOK(res1
)) {
45803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45805 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45806 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45807 if (!SWIG_IsOK(ecode2
)) {
45808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
45810 arg2
= static_cast< unsigned int >(val2
);
45813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45814 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
45815 wxPyEndAllowThreads(__tstate
);
45816 if (PyErr_Occurred()) SWIG_fail
;
45818 resultobj
= SWIG_Py_Void();
45825 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45826 PyObject
*resultobj
= 0;
45827 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45828 unsigned int result
;
45831 PyObject
*swig_obj
[1] ;
45833 if (!args
) SWIG_fail
;
45834 swig_obj
[0] = args
;
45835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45836 if (!SWIG_IsOK(res1
)) {
45837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
45839 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45842 result
= (unsigned int)((wxItemContainer
const *)arg1
)->GetCount();
45843 wxPyEndAllowThreads(__tstate
);
45844 if (PyErr_Occurred()) SWIG_fail
;
45846 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45853 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45854 PyObject
*resultobj
= 0;
45855 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45859 PyObject
*swig_obj
[1] ;
45861 if (!args
) SWIG_fail
;
45862 swig_obj
[0] = args
;
45863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45864 if (!SWIG_IsOK(res1
)) {
45865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
45867 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45870 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
45871 wxPyEndAllowThreads(__tstate
);
45872 if (PyErr_Occurred()) SWIG_fail
;
45875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45883 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45884 PyObject
*resultobj
= 0;
45885 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45886 unsigned int arg2
;
45890 unsigned int val2
;
45892 PyObject
* obj0
= 0 ;
45893 PyObject
* obj1
= 0 ;
45894 char * kwnames
[] = {
45895 (char *) "self",(char *) "n", NULL
45898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45900 if (!SWIG_IsOK(res1
)) {
45901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
45903 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45904 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45905 if (!SWIG_IsOK(ecode2
)) {
45906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "unsigned int""'");
45908 arg2
= static_cast< unsigned int >(val2
);
45910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45911 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
45912 wxPyEndAllowThreads(__tstate
);
45913 if (PyErr_Occurred()) SWIG_fail
;
45917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45928 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45929 PyObject
*resultobj
= 0;
45930 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45931 wxArrayString result
;
45934 PyObject
*swig_obj
[1] ;
45936 if (!args
) SWIG_fail
;
45937 swig_obj
[0] = args
;
45938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45939 if (!SWIG_IsOK(res1
)) {
45940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
45942 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45945 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
45946 wxPyEndAllowThreads(__tstate
);
45947 if (PyErr_Occurred()) SWIG_fail
;
45950 resultobj
= wxArrayString2PyList_helper(result
);
45958 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45959 PyObject
*resultobj
= 0;
45960 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
45961 unsigned int arg2
;
45962 wxString
*arg3
= 0 ;
45965 unsigned int val2
;
45967 bool temp3
= false ;
45968 PyObject
* obj0
= 0 ;
45969 PyObject
* obj1
= 0 ;
45970 PyObject
* obj2
= 0 ;
45971 char * kwnames
[] = {
45972 (char *) "self",(char *) "n",(char *) "s", NULL
45975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
45977 if (!SWIG_IsOK(res1
)) {
45978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
45980 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
45981 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45982 if (!SWIG_IsOK(ecode2
)) {
45983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "unsigned int""'");
45985 arg2
= static_cast< unsigned int >(val2
);
45987 arg3
= wxString_in_helper(obj2
);
45988 if (arg3
== NULL
) SWIG_fail
;
45992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45993 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
45994 wxPyEndAllowThreads(__tstate
);
45995 if (PyErr_Occurred()) SWIG_fail
;
45997 resultobj
= SWIG_Py_Void();
46012 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46013 PyObject
*resultobj
= 0;
46014 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46015 wxString
*arg2
= 0 ;
46019 bool temp2
= false ;
46020 PyObject
* obj0
= 0 ;
46021 PyObject
* obj1
= 0 ;
46022 char * kwnames
[] = {
46023 (char *) "self",(char *) "s", NULL
46026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46028 if (!SWIG_IsOK(res1
)) {
46029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
46031 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46033 arg2
= wxString_in_helper(obj1
);
46034 if (arg2
== NULL
) SWIG_fail
;
46038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46039 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
46040 wxPyEndAllowThreads(__tstate
);
46041 if (PyErr_Occurred()) SWIG_fail
;
46043 resultobj
= SWIG_From_int(static_cast< int >(result
));
46058 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46059 PyObject
*resultobj
= 0;
46060 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46066 PyObject
* obj0
= 0 ;
46067 PyObject
* obj1
= 0 ;
46068 char * kwnames
[] = {
46069 (char *) "self",(char *) "n", NULL
46072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46074 if (!SWIG_IsOK(res1
)) {
46075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
46077 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46079 if (!SWIG_IsOK(ecode2
)) {
46080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
46082 arg2
= static_cast< int >(val2
);
46084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46085 (arg1
)->SetSelection(arg2
);
46086 wxPyEndAllowThreads(__tstate
);
46087 if (PyErr_Occurred()) SWIG_fail
;
46089 resultobj
= SWIG_Py_Void();
46096 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46097 PyObject
*resultobj
= 0;
46098 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46102 PyObject
*swig_obj
[1] ;
46104 if (!args
) SWIG_fail
;
46105 swig_obj
[0] = args
;
46106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46107 if (!SWIG_IsOK(res1
)) {
46108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
46110 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46113 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
46114 wxPyEndAllowThreads(__tstate
);
46115 if (PyErr_Occurred()) SWIG_fail
;
46117 resultobj
= SWIG_From_int(static_cast< int >(result
));
46124 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46125 PyObject
*resultobj
= 0;
46126 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46127 wxString
*arg2
= 0 ;
46131 bool temp2
= false ;
46132 PyObject
* obj0
= 0 ;
46133 PyObject
* obj1
= 0 ;
46134 char * kwnames
[] = {
46135 (char *) "self",(char *) "s", NULL
46138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46140 if (!SWIG_IsOK(res1
)) {
46141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
46143 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46145 arg2
= wxString_in_helper(obj1
);
46146 if (arg2
== NULL
) SWIG_fail
;
46150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46151 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
46152 wxPyEndAllowThreads(__tstate
);
46153 if (PyErr_Occurred()) SWIG_fail
;
46156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46172 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46173 PyObject
*resultobj
= 0;
46174 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46178 PyObject
*swig_obj
[1] ;
46180 if (!args
) SWIG_fail
;
46181 swig_obj
[0] = args
;
46182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46183 if (!SWIG_IsOK(res1
)) {
46184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
46186 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46189 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
46190 wxPyEndAllowThreads(__tstate
);
46191 if (PyErr_Occurred()) SWIG_fail
;
46195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46206 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46207 PyObject
*resultobj
= 0;
46208 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
46214 PyObject
* obj0
= 0 ;
46215 PyObject
* obj1
= 0 ;
46216 char * kwnames
[] = {
46217 (char *) "self",(char *) "n", NULL
46220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
46222 if (!SWIG_IsOK(res1
)) {
46223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
46225 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
46226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46227 if (!SWIG_IsOK(ecode2
)) {
46228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
46230 arg2
= static_cast< int >(val2
);
46232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46233 (arg1
)->Select(arg2
);
46234 wxPyEndAllowThreads(__tstate
);
46235 if (PyErr_Occurred()) SWIG_fail
;
46237 resultobj
= SWIG_Py_Void();
46244 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46247 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
46248 return SWIG_Py_Void();
46251 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46254 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
46255 return SWIG_Py_Void();
46258 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46259 PyObject
*resultobj
= 0;
46260 wxSizerItem
*result
= 0 ;
46262 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
46264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46265 result
= (wxSizerItem
*)new wxSizerItem();
46266 wxPyEndAllowThreads(__tstate
);
46267 if (PyErr_Occurred()) SWIG_fail
;
46269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
46276 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46277 PyObject
*resultobj
= 0;
46278 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46281 PyObject
*swig_obj
[1] ;
46283 if (!args
) SWIG_fail
;
46284 swig_obj
[0] = args
;
46285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46286 if (!SWIG_IsOK(res1
)) {
46287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46289 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46294 wxPyEndAllowThreads(__tstate
);
46295 if (PyErr_Occurred()) SWIG_fail
;
46297 resultobj
= SWIG_Py_Void();
46304 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46305 PyObject
*resultobj
= 0;
46306 wxWindow
*arg1
= (wxWindow
*) 0 ;
46310 PyObject
*arg5
= (PyObject
*) NULL
;
46311 wxSizerItem
*result
= 0 ;
46320 PyObject
* obj0
= 0 ;
46321 PyObject
* obj1
= 0 ;
46322 PyObject
* obj2
= 0 ;
46323 PyObject
* obj3
= 0 ;
46324 PyObject
* obj4
= 0 ;
46325 char * kwnames
[] = {
46326 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46331 if (!SWIG_IsOK(res1
)) {
46332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
46334 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46336 if (!SWIG_IsOK(ecode2
)) {
46337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
46339 arg2
= static_cast< int >(val2
);
46340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46341 if (!SWIG_IsOK(ecode3
)) {
46342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
46344 arg3
= static_cast< int >(val3
);
46345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46346 if (!SWIG_IsOK(ecode4
)) {
46347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
46349 arg4
= static_cast< int >(val4
);
46354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46355 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
46356 wxPyEndAllowThreads(__tstate
);
46357 if (PyErr_Occurred()) SWIG_fail
;
46359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
46366 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46367 PyObject
*resultobj
= 0;
46373 PyObject
*arg6
= (PyObject
*) NULL
;
46374 wxSizerItem
*result
= 0 ;
46385 PyObject
* obj0
= 0 ;
46386 PyObject
* obj1
= 0 ;
46387 PyObject
* obj2
= 0 ;
46388 PyObject
* obj3
= 0 ;
46389 PyObject
* obj4
= 0 ;
46390 PyObject
* obj5
= 0 ;
46391 char * kwnames
[] = {
46392 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
46397 if (!SWIG_IsOK(ecode1
)) {
46398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
46400 arg1
= static_cast< int >(val1
);
46401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46402 if (!SWIG_IsOK(ecode2
)) {
46403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
46405 arg2
= static_cast< int >(val2
);
46406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46407 if (!SWIG_IsOK(ecode3
)) {
46408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
46410 arg3
= static_cast< int >(val3
);
46411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46412 if (!SWIG_IsOK(ecode4
)) {
46413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
46415 arg4
= static_cast< int >(val4
);
46416 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46417 if (!SWIG_IsOK(ecode5
)) {
46418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
46420 arg5
= static_cast< int >(val5
);
46425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46426 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46427 wxPyEndAllowThreads(__tstate
);
46428 if (PyErr_Occurred()) SWIG_fail
;
46430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
46437 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46438 PyObject
*resultobj
= 0;
46439 wxSizer
*arg1
= (wxSizer
*) 0 ;
46443 PyObject
*arg5
= (PyObject
*) NULL
;
46444 wxSizerItem
*result
= 0 ;
46452 PyObject
* obj0
= 0 ;
46453 PyObject
* obj1
= 0 ;
46454 PyObject
* obj2
= 0 ;
46455 PyObject
* obj3
= 0 ;
46456 PyObject
* obj4
= 0 ;
46457 char * kwnames
[] = {
46458 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46462 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
46463 if (!SWIG_IsOK(res1
)) {
46464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
46466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46467 if (!SWIG_IsOK(ecode2
)) {
46468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
46470 arg2
= static_cast< int >(val2
);
46471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46472 if (!SWIG_IsOK(ecode3
)) {
46473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
46475 arg3
= static_cast< int >(val3
);
46476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46477 if (!SWIG_IsOK(ecode4
)) {
46478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
46480 arg4
= static_cast< int >(val4
);
46485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46486 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
46487 wxPyEndAllowThreads(__tstate
);
46488 if (PyErr_Occurred()) SWIG_fail
;
46490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
46497 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46498 PyObject
*resultobj
= 0;
46499 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46502 PyObject
*swig_obj
[1] ;
46504 if (!args
) SWIG_fail
;
46505 swig_obj
[0] = args
;
46506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46507 if (!SWIG_IsOK(res1
)) {
46508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46510 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46513 (arg1
)->DeleteWindows();
46514 wxPyEndAllowThreads(__tstate
);
46515 if (PyErr_Occurred()) SWIG_fail
;
46517 resultobj
= SWIG_Py_Void();
46524 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46525 PyObject
*resultobj
= 0;
46526 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46529 PyObject
*swig_obj
[1] ;
46531 if (!args
) SWIG_fail
;
46532 swig_obj
[0] = args
;
46533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46534 if (!SWIG_IsOK(res1
)) {
46535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46537 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46540 (arg1
)->DetachSizer();
46541 wxPyEndAllowThreads(__tstate
);
46542 if (PyErr_Occurred()) SWIG_fail
;
46544 resultobj
= SWIG_Py_Void();
46551 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46552 PyObject
*resultobj
= 0;
46553 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46557 PyObject
*swig_obj
[1] ;
46559 if (!args
) SWIG_fail
;
46560 swig_obj
[0] = args
;
46561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46562 if (!SWIG_IsOK(res1
)) {
46563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46565 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46568 result
= (arg1
)->GetSize();
46569 wxPyEndAllowThreads(__tstate
);
46570 if (PyErr_Occurred()) SWIG_fail
;
46572 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46579 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46580 PyObject
*resultobj
= 0;
46581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46585 PyObject
*swig_obj
[1] ;
46587 if (!args
) SWIG_fail
;
46588 swig_obj
[0] = args
;
46589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46590 if (!SWIG_IsOK(res1
)) {
46591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46593 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46596 result
= (arg1
)->CalcMin();
46597 wxPyEndAllowThreads(__tstate
);
46598 if (PyErr_Occurred()) SWIG_fail
;
46600 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46607 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46608 PyObject
*resultobj
= 0;
46609 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46610 wxPoint
*arg2
= 0 ;
46616 PyObject
* obj0
= 0 ;
46617 PyObject
* obj1
= 0 ;
46618 PyObject
* obj2
= 0 ;
46619 char * kwnames
[] = {
46620 (char *) "self",(char *) "pos",(char *) "size", NULL
46623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46625 if (!SWIG_IsOK(res1
)) {
46626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46628 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
46635 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
46638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46639 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
46640 wxPyEndAllowThreads(__tstate
);
46641 if (PyErr_Occurred()) SWIG_fail
;
46643 resultobj
= SWIG_Py_Void();
46650 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46651 PyObject
*resultobj
= 0;
46652 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46656 PyObject
*swig_obj
[1] ;
46658 if (!args
) SWIG_fail
;
46659 swig_obj
[0] = args
;
46660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46661 if (!SWIG_IsOK(res1
)) {
46662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46664 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46667 result
= (arg1
)->GetMinSize();
46668 wxPyEndAllowThreads(__tstate
);
46669 if (PyErr_Occurred()) SWIG_fail
;
46671 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46678 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46679 PyObject
*resultobj
= 0;
46680 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46684 PyObject
*swig_obj
[1] ;
46686 if (!args
) SWIG_fail
;
46687 swig_obj
[0] = args
;
46688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46689 if (!SWIG_IsOK(res1
)) {
46690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
46692 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46695 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
46696 wxPyEndAllowThreads(__tstate
);
46697 if (PyErr_Occurred()) SWIG_fail
;
46699 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46706 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46707 PyObject
*resultobj
= 0;
46708 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46717 PyObject
* obj0
= 0 ;
46718 PyObject
* obj1
= 0 ;
46719 PyObject
* obj2
= 0 ;
46720 char * kwnames
[] = {
46721 (char *) "self",(char *) "x",(char *) "y", NULL
46724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46726 if (!SWIG_IsOK(res1
)) {
46727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46729 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46731 if (!SWIG_IsOK(ecode2
)) {
46732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
46734 arg2
= static_cast< int >(val2
);
46735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46736 if (!SWIG_IsOK(ecode3
)) {
46737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
46739 arg3
= static_cast< int >(val3
);
46741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46742 (arg1
)->SetInitSize(arg2
,arg3
);
46743 wxPyEndAllowThreads(__tstate
);
46744 if (PyErr_Occurred()) SWIG_fail
;
46746 resultobj
= SWIG_Py_Void();
46753 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46754 PyObject
*resultobj
= 0;
46755 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46764 PyObject
* obj0
= 0 ;
46765 PyObject
* obj1
= 0 ;
46766 PyObject
* obj2
= 0 ;
46767 char * kwnames
[] = {
46768 (char *) "self",(char *) "width",(char *) "height", NULL
46771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46773 if (!SWIG_IsOK(res1
)) {
46774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46776 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46778 if (!SWIG_IsOK(ecode2
)) {
46779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
46781 arg2
= static_cast< int >(val2
);
46782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46783 if (!SWIG_IsOK(ecode3
)) {
46784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
46786 arg3
= static_cast< int >(val3
);
46788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46789 (arg1
)->SetRatio(arg2
,arg3
);
46790 wxPyEndAllowThreads(__tstate
);
46791 if (PyErr_Occurred()) SWIG_fail
;
46793 resultobj
= SWIG_Py_Void();
46800 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46801 PyObject
*resultobj
= 0;
46802 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46807 PyObject
* obj0
= 0 ;
46808 PyObject
* obj1
= 0 ;
46809 char * kwnames
[] = {
46810 (char *) "self",(char *) "size", NULL
46813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46815 if (!SWIG_IsOK(res1
)) {
46816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46818 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46821 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46825 (arg1
)->SetRatio((wxSize
const &)*arg2
);
46826 wxPyEndAllowThreads(__tstate
);
46827 if (PyErr_Occurred()) SWIG_fail
;
46829 resultobj
= SWIG_Py_Void();
46836 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46837 PyObject
*resultobj
= 0;
46838 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46844 PyObject
* obj0
= 0 ;
46845 PyObject
* obj1
= 0 ;
46846 char * kwnames
[] = {
46847 (char *) "self",(char *) "ratio", NULL
46850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46852 if (!SWIG_IsOK(res1
)) {
46853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46855 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46856 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
46857 if (!SWIG_IsOK(ecode2
)) {
46858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
46860 arg2
= static_cast< float >(val2
);
46862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46863 (arg1
)->SetRatio(arg2
);
46864 wxPyEndAllowThreads(__tstate
);
46865 if (PyErr_Occurred()) SWIG_fail
;
46867 resultobj
= SWIG_Py_Void();
46874 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46875 PyObject
*resultobj
= 0;
46876 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46880 PyObject
*swig_obj
[1] ;
46882 if (!args
) SWIG_fail
;
46883 swig_obj
[0] = args
;
46884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46885 if (!SWIG_IsOK(res1
)) {
46886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46888 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46891 result
= (float)(arg1
)->GetRatio();
46892 wxPyEndAllowThreads(__tstate
);
46893 if (PyErr_Occurred()) SWIG_fail
;
46895 resultobj
= SWIG_From_float(static_cast< float >(result
));
46902 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46903 PyObject
*resultobj
= 0;
46904 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46908 PyObject
*swig_obj
[1] ;
46910 if (!args
) SWIG_fail
;
46911 swig_obj
[0] = args
;
46912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46913 if (!SWIG_IsOK(res1
)) {
46914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46916 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46919 result
= (arg1
)->GetRect();
46920 wxPyEndAllowThreads(__tstate
);
46921 if (PyErr_Occurred()) SWIG_fail
;
46923 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
46930 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46931 PyObject
*resultobj
= 0;
46932 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46936 PyObject
*swig_obj
[1] ;
46938 if (!args
) SWIG_fail
;
46939 swig_obj
[0] = args
;
46940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46941 if (!SWIG_IsOK(res1
)) {
46942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46944 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46947 result
= (bool)(arg1
)->IsWindow();
46948 wxPyEndAllowThreads(__tstate
);
46949 if (PyErr_Occurred()) SWIG_fail
;
46952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46960 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46961 PyObject
*resultobj
= 0;
46962 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46966 PyObject
*swig_obj
[1] ;
46968 if (!args
) SWIG_fail
;
46969 swig_obj
[0] = args
;
46970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46971 if (!SWIG_IsOK(res1
)) {
46972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46974 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46977 result
= (bool)(arg1
)->IsSizer();
46978 wxPyEndAllowThreads(__tstate
);
46979 if (PyErr_Occurred()) SWIG_fail
;
46982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46990 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46991 PyObject
*resultobj
= 0;
46992 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46996 PyObject
*swig_obj
[1] ;
46998 if (!args
) SWIG_fail
;
46999 swig_obj
[0] = args
;
47000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47001 if (!SWIG_IsOK(res1
)) {
47002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47004 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47007 result
= (bool)(arg1
)->IsSpacer();
47008 wxPyEndAllowThreads(__tstate
);
47009 if (PyErr_Occurred()) SWIG_fail
;
47012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47020 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47021 PyObject
*resultobj
= 0;
47022 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47028 PyObject
* obj0
= 0 ;
47029 PyObject
* obj1
= 0 ;
47030 char * kwnames
[] = {
47031 (char *) "self",(char *) "proportion", NULL
47034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47036 if (!SWIG_IsOK(res1
)) {
47037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47039 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47041 if (!SWIG_IsOK(ecode2
)) {
47042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
47044 arg2
= static_cast< int >(val2
);
47046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47047 (arg1
)->SetProportion(arg2
);
47048 wxPyEndAllowThreads(__tstate
);
47049 if (PyErr_Occurred()) SWIG_fail
;
47051 resultobj
= SWIG_Py_Void();
47058 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47059 PyObject
*resultobj
= 0;
47060 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47064 PyObject
*swig_obj
[1] ;
47066 if (!args
) SWIG_fail
;
47067 swig_obj
[0] = args
;
47068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47069 if (!SWIG_IsOK(res1
)) {
47070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47072 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47075 result
= (int)(arg1
)->GetProportion();
47076 wxPyEndAllowThreads(__tstate
);
47077 if (PyErr_Occurred()) SWIG_fail
;
47079 resultobj
= SWIG_From_int(static_cast< int >(result
));
47086 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47087 PyObject
*resultobj
= 0;
47088 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47094 PyObject
* obj0
= 0 ;
47095 PyObject
* obj1
= 0 ;
47096 char * kwnames
[] = {
47097 (char *) "self",(char *) "flag", NULL
47100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47102 if (!SWIG_IsOK(res1
)) {
47103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47105 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47107 if (!SWIG_IsOK(ecode2
)) {
47108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
47110 arg2
= static_cast< int >(val2
);
47112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47113 (arg1
)->SetFlag(arg2
);
47114 wxPyEndAllowThreads(__tstate
);
47115 if (PyErr_Occurred()) SWIG_fail
;
47117 resultobj
= SWIG_Py_Void();
47124 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47125 PyObject
*resultobj
= 0;
47126 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47130 PyObject
*swig_obj
[1] ;
47132 if (!args
) SWIG_fail
;
47133 swig_obj
[0] = args
;
47134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47135 if (!SWIG_IsOK(res1
)) {
47136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47138 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47141 result
= (int)(arg1
)->GetFlag();
47142 wxPyEndAllowThreads(__tstate
);
47143 if (PyErr_Occurred()) SWIG_fail
;
47145 resultobj
= SWIG_From_int(static_cast< int >(result
));
47152 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47153 PyObject
*resultobj
= 0;
47154 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47160 PyObject
* obj0
= 0 ;
47161 PyObject
* obj1
= 0 ;
47162 char * kwnames
[] = {
47163 (char *) "self",(char *) "border", NULL
47166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47168 if (!SWIG_IsOK(res1
)) {
47169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47171 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47173 if (!SWIG_IsOK(ecode2
)) {
47174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
47176 arg2
= static_cast< int >(val2
);
47178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47179 (arg1
)->SetBorder(arg2
);
47180 wxPyEndAllowThreads(__tstate
);
47181 if (PyErr_Occurred()) SWIG_fail
;
47183 resultobj
= SWIG_Py_Void();
47190 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47191 PyObject
*resultobj
= 0;
47192 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47196 PyObject
*swig_obj
[1] ;
47198 if (!args
) SWIG_fail
;
47199 swig_obj
[0] = args
;
47200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47201 if (!SWIG_IsOK(res1
)) {
47202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47204 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47207 result
= (int)(arg1
)->GetBorder();
47208 wxPyEndAllowThreads(__tstate
);
47209 if (PyErr_Occurred()) SWIG_fail
;
47211 resultobj
= SWIG_From_int(static_cast< int >(result
));
47218 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47219 PyObject
*resultobj
= 0;
47220 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47221 wxWindow
*result
= 0 ;
47224 PyObject
*swig_obj
[1] ;
47226 if (!args
) SWIG_fail
;
47227 swig_obj
[0] = args
;
47228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47229 if (!SWIG_IsOK(res1
)) {
47230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47232 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47235 result
= (wxWindow
*)(arg1
)->GetWindow();
47236 wxPyEndAllowThreads(__tstate
);
47237 if (PyErr_Occurred()) SWIG_fail
;
47240 resultobj
= wxPyMake_wxObject(result
, 0);
47248 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47249 PyObject
*resultobj
= 0;
47250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47251 wxWindow
*arg2
= (wxWindow
*) 0 ;
47256 PyObject
* obj0
= 0 ;
47257 PyObject
* obj1
= 0 ;
47258 char * kwnames
[] = {
47259 (char *) "self",(char *) "window", NULL
47262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47264 if (!SWIG_IsOK(res1
)) {
47265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47267 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47269 if (!SWIG_IsOK(res2
)) {
47270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
47272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47275 (arg1
)->SetWindow(arg2
);
47276 wxPyEndAllowThreads(__tstate
);
47277 if (PyErr_Occurred()) SWIG_fail
;
47279 resultobj
= SWIG_Py_Void();
47286 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47287 PyObject
*resultobj
= 0;
47288 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47289 wxSizer
*result
= 0 ;
47292 PyObject
*swig_obj
[1] ;
47294 if (!args
) SWIG_fail
;
47295 swig_obj
[0] = args
;
47296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47297 if (!SWIG_IsOK(res1
)) {
47298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47300 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47303 result
= (wxSizer
*)(arg1
)->GetSizer();
47304 wxPyEndAllowThreads(__tstate
);
47305 if (PyErr_Occurred()) SWIG_fail
;
47308 resultobj
= wxPyMake_wxObject(result
, (bool)0);
47316 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47317 PyObject
*resultobj
= 0;
47318 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47319 wxSizer
*arg2
= (wxSizer
*) 0 ;
47323 PyObject
* obj0
= 0 ;
47324 PyObject
* obj1
= 0 ;
47325 char * kwnames
[] = {
47326 (char *) "self",(char *) "sizer", NULL
47329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47331 if (!SWIG_IsOK(res1
)) {
47332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47334 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47335 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
47336 if (!SWIG_IsOK(res2
)) {
47337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
47340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47341 (arg1
)->SetSizer(arg2
);
47342 wxPyEndAllowThreads(__tstate
);
47343 if (PyErr_Occurred()) SWIG_fail
;
47345 resultobj
= SWIG_Py_Void();
47352 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47353 PyObject
*resultobj
= 0;
47354 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47358 PyObject
*swig_obj
[1] ;
47360 if (!args
) SWIG_fail
;
47361 swig_obj
[0] = args
;
47362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47363 if (!SWIG_IsOK(res1
)) {
47364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47366 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47369 result
= (arg1
)->GetSpacer();
47370 wxPyEndAllowThreads(__tstate
);
47371 if (PyErr_Occurred()) SWIG_fail
;
47373 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
47380 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47381 PyObject
*resultobj
= 0;
47382 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47387 PyObject
* obj0
= 0 ;
47388 PyObject
* obj1
= 0 ;
47389 char * kwnames
[] = {
47390 (char *) "self",(char *) "size", NULL
47393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47395 if (!SWIG_IsOK(res1
)) {
47396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47398 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47401 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
47404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47405 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
47406 wxPyEndAllowThreads(__tstate
);
47407 if (PyErr_Occurred()) SWIG_fail
;
47409 resultobj
= SWIG_Py_Void();
47416 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47417 PyObject
*resultobj
= 0;
47418 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47424 PyObject
* obj0
= 0 ;
47425 PyObject
* obj1
= 0 ;
47426 char * kwnames
[] = {
47427 (char *) "self",(char *) "show", NULL
47430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47432 if (!SWIG_IsOK(res1
)) {
47433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47435 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47436 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47437 if (!SWIG_IsOK(ecode2
)) {
47438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
47440 arg2
= static_cast< bool >(val2
);
47442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47443 (arg1
)->Show(arg2
);
47444 wxPyEndAllowThreads(__tstate
);
47445 if (PyErr_Occurred()) SWIG_fail
;
47447 resultobj
= SWIG_Py_Void();
47454 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47455 PyObject
*resultobj
= 0;
47456 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47460 PyObject
*swig_obj
[1] ;
47462 if (!args
) SWIG_fail
;
47463 swig_obj
[0] = args
;
47464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47465 if (!SWIG_IsOK(res1
)) {
47466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47468 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47471 result
= (bool)(arg1
)->IsShown();
47472 wxPyEndAllowThreads(__tstate
);
47473 if (PyErr_Occurred()) SWIG_fail
;
47476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47484 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47485 PyObject
*resultobj
= 0;
47486 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47490 PyObject
*swig_obj
[1] ;
47492 if (!args
) SWIG_fail
;
47493 swig_obj
[0] = args
;
47494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47495 if (!SWIG_IsOK(res1
)) {
47496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47498 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47501 result
= (arg1
)->GetPosition();
47502 wxPyEndAllowThreads(__tstate
);
47503 if (PyErr_Occurred()) SWIG_fail
;
47505 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
47512 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47513 PyObject
*resultobj
= 0;
47514 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47515 PyObject
*result
= 0 ;
47518 PyObject
*swig_obj
[1] ;
47520 if (!args
) SWIG_fail
;
47521 swig_obj
[0] = args
;
47522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47523 if (!SWIG_IsOK(res1
)) {
47524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47526 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47529 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
47530 wxPyEndAllowThreads(__tstate
);
47531 if (PyErr_Occurred()) SWIG_fail
;
47533 resultobj
= result
;
47540 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47541 PyObject
*resultobj
= 0;
47542 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
47543 PyObject
*arg2
= (PyObject
*) 0 ;
47546 PyObject
* obj0
= 0 ;
47547 PyObject
* obj1
= 0 ;
47548 char * kwnames
[] = {
47549 (char *) "self",(char *) "userData", NULL
47552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47554 if (!SWIG_IsOK(res1
)) {
47555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
47557 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
47560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47561 wxSizerItem_SetUserData(arg1
,arg2
);
47562 wxPyEndAllowThreads(__tstate
);
47563 if (PyErr_Occurred()) SWIG_fail
;
47565 resultobj
= SWIG_Py_Void();
47572 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47575 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
47576 return SWIG_Py_Void();
47579 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47580 return SWIG_Python_InitShadowInstance(args
);
47583 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47584 PyObject
*resultobj
= 0;
47585 wxSizer
*arg1
= (wxSizer
*) 0 ;
47588 PyObject
*swig_obj
[1] ;
47590 if (!args
) SWIG_fail
;
47591 swig_obj
[0] = args
;
47592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
47593 if (!SWIG_IsOK(res1
)) {
47594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
47596 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47601 wxPyEndAllowThreads(__tstate
);
47602 if (PyErr_Occurred()) SWIG_fail
;
47604 resultobj
= SWIG_Py_Void();
47611 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47612 PyObject
*resultobj
= 0;
47613 wxSizer
*arg1
= (wxSizer
*) 0 ;
47614 PyObject
*arg2
= (PyObject
*) 0 ;
47617 PyObject
* obj0
= 0 ;
47618 PyObject
* obj1
= 0 ;
47619 char * kwnames
[] = {
47620 (char *) "self",(char *) "_self", NULL
47623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47625 if (!SWIG_IsOK(res1
)) {
47626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
47628 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47632 wxSizer__setOORInfo(arg1
,arg2
);
47633 wxPyEndAllowThreads(__tstate
);
47634 if (PyErr_Occurred()) SWIG_fail
;
47636 resultobj
= SWIG_Py_Void();
47643 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47644 PyObject
*resultobj
= 0;
47645 wxSizer
*arg1
= (wxSizer
*) 0 ;
47646 PyObject
*arg2
= (PyObject
*) 0 ;
47647 int arg3
= (int) 0 ;
47648 int arg4
= (int) 0 ;
47649 int arg5
= (int) 0 ;
47650 PyObject
*arg6
= (PyObject
*) NULL
;
47651 wxSizerItem
*result
= 0 ;
47660 PyObject
* obj0
= 0 ;
47661 PyObject
* obj1
= 0 ;
47662 PyObject
* obj2
= 0 ;
47663 PyObject
* obj3
= 0 ;
47664 PyObject
* obj4
= 0 ;
47665 PyObject
* obj5
= 0 ;
47666 char * kwnames
[] = {
47667 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
47670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
47671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47672 if (!SWIG_IsOK(res1
)) {
47673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
47675 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47679 if (!SWIG_IsOK(ecode3
)) {
47680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
47682 arg3
= static_cast< int >(val3
);
47685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47686 if (!SWIG_IsOK(ecode4
)) {
47687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
47689 arg4
= static_cast< int >(val4
);
47692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
47693 if (!SWIG_IsOK(ecode5
)) {
47694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
47696 arg5
= static_cast< int >(val5
);
47702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47703 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
47704 wxPyEndAllowThreads(__tstate
);
47705 if (PyErr_Occurred()) SWIG_fail
;
47707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47714 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47715 PyObject
*resultobj
= 0;
47716 wxSizer
*arg1
= (wxSizer
*) 0 ;
47718 PyObject
*arg3
= (PyObject
*) 0 ;
47719 int arg4
= (int) 0 ;
47720 int arg5
= (int) 0 ;
47721 int arg6
= (int) 0 ;
47722 PyObject
*arg7
= (PyObject
*) NULL
;
47723 wxSizerItem
*result
= 0 ;
47734 PyObject
* obj0
= 0 ;
47735 PyObject
* obj1
= 0 ;
47736 PyObject
* obj2
= 0 ;
47737 PyObject
* obj3
= 0 ;
47738 PyObject
* obj4
= 0 ;
47739 PyObject
* obj5
= 0 ;
47740 PyObject
* obj6
= 0 ;
47741 char * kwnames
[] = {
47742 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
47745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
47746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47747 if (!SWIG_IsOK(res1
)) {
47748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
47750 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47752 if (!SWIG_IsOK(ecode2
)) {
47753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
47755 arg2
= static_cast< int >(val2
);
47758 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47759 if (!SWIG_IsOK(ecode4
)) {
47760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
47762 arg4
= static_cast< int >(val4
);
47765 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
47766 if (!SWIG_IsOK(ecode5
)) {
47767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
47769 arg5
= static_cast< int >(val5
);
47772 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
47773 if (!SWIG_IsOK(ecode6
)) {
47774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
47776 arg6
= static_cast< int >(val6
);
47782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47783 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
47784 wxPyEndAllowThreads(__tstate
);
47785 if (PyErr_Occurred()) SWIG_fail
;
47787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47794 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47795 PyObject
*resultobj
= 0;
47796 wxSizer
*arg1
= (wxSizer
*) 0 ;
47797 PyObject
*arg2
= (PyObject
*) 0 ;
47798 int arg3
= (int) 0 ;
47799 int arg4
= (int) 0 ;
47800 int arg5
= (int) 0 ;
47801 PyObject
*arg6
= (PyObject
*) NULL
;
47802 wxSizerItem
*result
= 0 ;
47811 PyObject
* obj0
= 0 ;
47812 PyObject
* obj1
= 0 ;
47813 PyObject
* obj2
= 0 ;
47814 PyObject
* obj3
= 0 ;
47815 PyObject
* obj4
= 0 ;
47816 PyObject
* obj5
= 0 ;
47817 char * kwnames
[] = {
47818 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
47821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
47822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47823 if (!SWIG_IsOK(res1
)) {
47824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
47826 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47830 if (!SWIG_IsOK(ecode3
)) {
47831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
47833 arg3
= static_cast< int >(val3
);
47836 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47837 if (!SWIG_IsOK(ecode4
)) {
47838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
47840 arg4
= static_cast< int >(val4
);
47843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
47844 if (!SWIG_IsOK(ecode5
)) {
47845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
47847 arg5
= static_cast< int >(val5
);
47853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47854 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
47855 wxPyEndAllowThreads(__tstate
);
47856 if (PyErr_Occurred()) SWIG_fail
;
47858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47865 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47866 PyObject
*resultobj
= 0;
47867 wxSizer
*arg1
= (wxSizer
*) 0 ;
47868 PyObject
*arg2
= (PyObject
*) 0 ;
47872 PyObject
* obj0
= 0 ;
47873 PyObject
* obj1
= 0 ;
47874 char * kwnames
[] = {
47875 (char *) "self",(char *) "item", NULL
47878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47880 if (!SWIG_IsOK(res1
)) {
47881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
47883 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47887 result
= (bool)wxSizer_Remove(arg1
,arg2
);
47888 wxPyEndAllowThreads(__tstate
);
47889 if (PyErr_Occurred()) SWIG_fail
;
47892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47900 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47901 PyObject
*resultobj
= 0;
47902 wxSizer
*arg1
= (wxSizer
*) 0 ;
47903 PyObject
*arg2
= (PyObject
*) 0 ;
47907 PyObject
* obj0
= 0 ;
47908 PyObject
* obj1
= 0 ;
47909 char * kwnames
[] = {
47910 (char *) "self",(char *) "item", NULL
47913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47915 if (!SWIG_IsOK(res1
)) {
47916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
47918 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47922 result
= (bool)wxSizer_Detach(arg1
,arg2
);
47923 wxPyEndAllowThreads(__tstate
);
47924 if (PyErr_Occurred()) SWIG_fail
;
47927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47935 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47936 PyObject
*resultobj
= 0;
47937 wxSizer
*arg1
= (wxSizer
*) 0 ;
47938 PyObject
*arg2
= (PyObject
*) 0 ;
47939 wxSizerItem
*result
= 0 ;
47942 PyObject
* obj0
= 0 ;
47943 PyObject
* obj1
= 0 ;
47944 char * kwnames
[] = {
47945 (char *) "self",(char *) "item", NULL
47948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47950 if (!SWIG_IsOK(res1
)) {
47951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
47953 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47957 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
47958 wxPyEndAllowThreads(__tstate
);
47959 if (PyErr_Occurred()) SWIG_fail
;
47961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
47968 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47969 PyObject
*resultobj
= 0;
47970 wxSizer
*arg1
= (wxSizer
*) 0 ;
47971 PyObject
*arg2
= (PyObject
*) 0 ;
47976 PyObject
* obj0
= 0 ;
47977 PyObject
* obj1
= 0 ;
47978 PyObject
* obj2
= 0 ;
47979 char * kwnames
[] = {
47980 (char *) "self",(char *) "item",(char *) "size", NULL
47983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47985 if (!SWIG_IsOK(res1
)) {
47986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
47988 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47992 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
47995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47996 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
47997 wxPyEndAllowThreads(__tstate
);
47998 if (PyErr_Occurred()) SWIG_fail
;
48000 resultobj
= SWIG_Py_Void();
48007 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48008 PyObject
*resultobj
= 0;
48009 wxSizer
*arg1
= (wxSizer
*) 0 ;
48010 wxWindow
*arg2
= (wxWindow
*) 0 ;
48011 wxWindow
*arg3
= (wxWindow
*) 0 ;
48012 bool arg4
= (bool) false ;
48022 PyObject
* obj0
= 0 ;
48023 PyObject
* obj1
= 0 ;
48024 PyObject
* obj2
= 0 ;
48025 PyObject
* obj3
= 0 ;
48026 char * kwnames
[] = {
48027 (char *) "self",(char *) "oldwin",(char *) "newwin",(char *) "recursive", NULL
48030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceWin",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
48031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48032 if (!SWIG_IsOK(res1
)) {
48033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceWin" "', expected argument " "1"" of type '" "wxSizer *""'");
48035 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48036 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48037 if (!SWIG_IsOK(res2
)) {
48038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceWin" "', expected argument " "2"" of type '" "wxWindow *""'");
48040 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48041 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48042 if (!SWIG_IsOK(res3
)) {
48043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceWin" "', expected argument " "3"" of type '" "wxWindow *""'");
48045 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
48047 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
48048 if (!SWIG_IsOK(ecode4
)) {
48049 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceWin" "', expected argument " "4"" of type '" "bool""'");
48051 arg4
= static_cast< bool >(val4
);
48054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48055 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
48056 wxPyEndAllowThreads(__tstate
);
48057 if (PyErr_Occurred()) SWIG_fail
;
48060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48068 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48069 PyObject
*resultobj
= 0;
48070 wxSizer
*arg1
= (wxSizer
*) 0 ;
48071 wxSizer
*arg2
= (wxSizer
*) 0 ;
48072 wxSizer
*arg3
= (wxSizer
*) 0 ;
48073 bool arg4
= (bool) false ;
48083 PyObject
* obj0
= 0 ;
48084 PyObject
* obj1
= 0 ;
48085 PyObject
* obj2
= 0 ;
48086 PyObject
* obj3
= 0 ;
48087 char * kwnames
[] = {
48088 (char *) "self",(char *) "oldsz",(char *) "newsz",(char *) "recursive", NULL
48091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Sizer__ReplaceSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
48092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48093 if (!SWIG_IsOK(res1
)) {
48094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
48096 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48098 if (!SWIG_IsOK(res2
)) {
48099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
48101 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
48102 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48103 if (!SWIG_IsOK(res3
)) {
48104 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "3"" of type '" "wxSizer *""'");
48106 arg3
= reinterpret_cast< wxSizer
* >(argp3
);
48108 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
48109 if (!SWIG_IsOK(ecode4
)) {
48110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer__ReplaceSizer" "', expected argument " "4"" of type '" "bool""'");
48112 arg4
= static_cast< bool >(val4
);
48115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48116 result
= (bool)(arg1
)->Replace(arg2
,arg3
,arg4
);
48117 wxPyEndAllowThreads(__tstate
);
48118 if (PyErr_Occurred()) SWIG_fail
;
48121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48129 SWIGINTERN PyObject
*_wrap_Sizer__ReplaceItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48130 PyObject
*resultobj
= 0;
48131 wxSizer
*arg1
= (wxSizer
*) 0 ;
48133 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
48141 PyObject
* obj0
= 0 ;
48142 PyObject
* obj1
= 0 ;
48143 PyObject
* obj2
= 0 ;
48144 char * kwnames
[] = {
48145 (char *) "self",(char *) "index",(char *) "newitem", NULL
48148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__ReplaceItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48150 if (!SWIG_IsOK(res1
)) {
48151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__ReplaceItem" "', expected argument " "1"" of type '" "wxSizer *""'");
48153 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48154 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48155 if (!SWIG_IsOK(ecode2
)) {
48156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer__ReplaceItem" "', expected argument " "2"" of type '" "size_t""'");
48158 arg2
= static_cast< size_t >(val2
);
48159 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48160 if (!SWIG_IsOK(res3
)) {
48161 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer__ReplaceItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
48163 arg3
= reinterpret_cast< wxSizerItem
* >(argp3
);
48165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48166 result
= (bool)(arg1
)->Replace(arg2
,arg3
);
48167 wxPyEndAllowThreads(__tstate
);
48168 if (PyErr_Occurred()) SWIG_fail
;
48171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48179 SWIGINTERN PyObject
*_wrap_Sizer_SetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48180 PyObject
*resultobj
= 0;
48181 wxSizer
*arg1
= (wxSizer
*) 0 ;
48182 wxWindow
*arg2
= (wxWindow
*) 0 ;
48187 PyObject
* obj0
= 0 ;
48188 PyObject
* obj1
= 0 ;
48189 char * kwnames
[] = {
48190 (char *) "self",(char *) "window", NULL
48193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetContainingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48195 if (!SWIG_IsOK(res1
)) {
48196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "1"" of type '" "wxSizer *""'");
48198 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48200 if (!SWIG_IsOK(res2
)) {
48201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetContainingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
48203 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48206 (arg1
)->SetContainingWindow(arg2
);
48207 wxPyEndAllowThreads(__tstate
);
48208 if (PyErr_Occurred()) SWIG_fail
;
48210 resultobj
= SWIG_Py_Void();
48217 SWIGINTERN PyObject
*_wrap_Sizer_GetContainingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48218 PyObject
*resultobj
= 0;
48219 wxSizer
*arg1
= (wxSizer
*) 0 ;
48220 wxWindow
*result
= 0 ;
48223 PyObject
*swig_obj
[1] ;
48225 if (!args
) SWIG_fail
;
48226 swig_obj
[0] = args
;
48227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48228 if (!SWIG_IsOK(res1
)) {
48229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetContainingWindow" "', expected argument " "1"" of type '" "wxSizer const *""'");
48231 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48234 result
= (wxWindow
*)((wxSizer
const *)arg1
)->GetContainingWindow();
48235 wxPyEndAllowThreads(__tstate
);
48236 if (PyErr_Occurred()) SWIG_fail
;
48239 resultobj
= wxPyMake_wxObject(result
, 0);
48247 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48248 PyObject
*resultobj
= 0;
48249 wxSizer
*arg1
= (wxSizer
*) 0 ;
48250 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
48251 wxSizerItem
*result
= 0 ;
48255 PyObject
* obj0
= 0 ;
48256 PyObject
* obj1
= 0 ;
48257 char * kwnames
[] = {
48258 (char *) "self",(char *) "item", NULL
48261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48263 if (!SWIG_IsOK(res1
)) {
48264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
48266 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48267 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
48268 if (!SWIG_IsOK(res2
)) {
48269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
48272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48273 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
48274 wxPyEndAllowThreads(__tstate
);
48275 if (PyErr_Occurred()) SWIG_fail
;
48277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48284 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48285 PyObject
*resultobj
= 0;
48286 wxSizer
*arg1
= (wxSizer
*) 0 ;
48288 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
48289 wxSizerItem
*result
= 0 ;
48295 PyObject
* obj0
= 0 ;
48296 PyObject
* obj1
= 0 ;
48297 PyObject
* obj2
= 0 ;
48298 char * kwnames
[] = {
48299 (char *) "self",(char *) "index",(char *) "item", NULL
48302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48304 if (!SWIG_IsOK(res1
)) {
48305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
48307 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48308 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48309 if (!SWIG_IsOK(ecode2
)) {
48310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
48312 arg2
= static_cast< size_t >(val2
);
48313 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
48314 if (!SWIG_IsOK(res3
)) {
48315 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
48318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48319 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
48320 wxPyEndAllowThreads(__tstate
);
48321 if (PyErr_Occurred()) SWIG_fail
;
48323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48330 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48331 PyObject
*resultobj
= 0;
48332 wxSizer
*arg1
= (wxSizer
*) 0 ;
48333 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
48334 wxSizerItem
*result
= 0 ;
48338 PyObject
* obj0
= 0 ;
48339 PyObject
* obj1
= 0 ;
48340 char * kwnames
[] = {
48341 (char *) "self",(char *) "item", NULL
48344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48346 if (!SWIG_IsOK(res1
)) {
48347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
48349 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48350 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
48351 if (!SWIG_IsOK(res2
)) {
48352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
48355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48356 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
48357 wxPyEndAllowThreads(__tstate
);
48358 if (PyErr_Occurred()) SWIG_fail
;
48360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
48367 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48368 PyObject
*resultobj
= 0;
48369 wxSizer
*arg1
= (wxSizer
*) 0 ;
48384 PyObject
* obj0
= 0 ;
48385 PyObject
* obj1
= 0 ;
48386 PyObject
* obj2
= 0 ;
48387 PyObject
* obj3
= 0 ;
48388 PyObject
* obj4
= 0 ;
48389 char * kwnames
[] = {
48390 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
48393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
48394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48395 if (!SWIG_IsOK(res1
)) {
48396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
48398 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48400 if (!SWIG_IsOK(ecode2
)) {
48401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
48403 arg2
= static_cast< int >(val2
);
48404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48405 if (!SWIG_IsOK(ecode3
)) {
48406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
48408 arg3
= static_cast< int >(val3
);
48409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48410 if (!SWIG_IsOK(ecode4
)) {
48411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
48413 arg4
= static_cast< int >(val4
);
48414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
48415 if (!SWIG_IsOK(ecode5
)) {
48416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
48418 arg5
= static_cast< int >(val5
);
48420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48421 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
48422 wxPyEndAllowThreads(__tstate
);
48423 if (PyErr_Occurred()) SWIG_fail
;
48425 resultobj
= SWIG_Py_Void();
48432 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48433 PyObject
*resultobj
= 0;
48434 wxSizer
*arg1
= (wxSizer
*) 0 ;
48439 PyObject
* obj0
= 0 ;
48440 PyObject
* obj1
= 0 ;
48441 char * kwnames
[] = {
48442 (char *) "self",(char *) "size", NULL
48445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48447 if (!SWIG_IsOK(res1
)) {
48448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
48450 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
48456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48457 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
48458 wxPyEndAllowThreads(__tstate
);
48459 if (PyErr_Occurred()) SWIG_fail
;
48461 resultobj
= SWIG_Py_Void();
48468 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48469 PyObject
*resultobj
= 0;
48470 wxSizer
*arg1
= (wxSizer
*) 0 ;
48474 PyObject
*swig_obj
[1] ;
48476 if (!args
) SWIG_fail
;
48477 swig_obj
[0] = args
;
48478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48479 if (!SWIG_IsOK(res1
)) {
48480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
48482 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48485 result
= (arg1
)->GetSize();
48486 wxPyEndAllowThreads(__tstate
);
48487 if (PyErr_Occurred()) SWIG_fail
;
48489 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48496 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48497 PyObject
*resultobj
= 0;
48498 wxSizer
*arg1
= (wxSizer
*) 0 ;
48502 PyObject
*swig_obj
[1] ;
48504 if (!args
) SWIG_fail
;
48505 swig_obj
[0] = args
;
48506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48507 if (!SWIG_IsOK(res1
)) {
48508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
48510 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48513 result
= (arg1
)->GetPosition();
48514 wxPyEndAllowThreads(__tstate
);
48515 if (PyErr_Occurred()) SWIG_fail
;
48517 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
48524 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48525 PyObject
*resultobj
= 0;
48526 wxSizer
*arg1
= (wxSizer
*) 0 ;
48530 PyObject
*swig_obj
[1] ;
48532 if (!args
) SWIG_fail
;
48533 swig_obj
[0] = args
;
48534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48535 if (!SWIG_IsOK(res1
)) {
48536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
48538 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48541 result
= (arg1
)->GetMinSize();
48542 wxPyEndAllowThreads(__tstate
);
48543 if (PyErr_Occurred()) SWIG_fail
;
48545 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48552 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48553 PyObject
*resultobj
= 0;
48554 wxSizer
*arg1
= (wxSizer
*) 0 ;
48557 PyObject
*swig_obj
[1] ;
48559 if (!args
) SWIG_fail
;
48560 swig_obj
[0] = args
;
48561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48562 if (!SWIG_IsOK(res1
)) {
48563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
48565 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48568 (arg1
)->RecalcSizes();
48569 wxPyEndAllowThreads(__tstate
);
48570 if (PyErr_Occurred()) SWIG_fail
;
48572 resultobj
= SWIG_Py_Void();
48579 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48580 PyObject
*resultobj
= 0;
48581 wxSizer
*arg1
= (wxSizer
*) 0 ;
48585 PyObject
*swig_obj
[1] ;
48587 if (!args
) SWIG_fail
;
48588 swig_obj
[0] = args
;
48589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48590 if (!SWIG_IsOK(res1
)) {
48591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
48593 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48596 result
= (arg1
)->CalcMin();
48597 wxPyEndAllowThreads(__tstate
);
48598 if (PyErr_Occurred()) SWIG_fail
;
48600 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48607 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48608 PyObject
*resultobj
= 0;
48609 wxSizer
*arg1
= (wxSizer
*) 0 ;
48612 PyObject
*swig_obj
[1] ;
48614 if (!args
) SWIG_fail
;
48615 swig_obj
[0] = args
;
48616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48617 if (!SWIG_IsOK(res1
)) {
48618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
48620 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48624 wxPyEndAllowThreads(__tstate
);
48625 if (PyErr_Occurred()) SWIG_fail
;
48627 resultobj
= SWIG_Py_Void();
48634 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48635 PyObject
*resultobj
= 0;
48636 wxSizer
*arg1
= (wxSizer
*) 0 ;
48637 wxWindow
*arg2
= (wxWindow
*) 0 ;
48643 PyObject
* obj0
= 0 ;
48644 PyObject
* obj1
= 0 ;
48645 char * kwnames
[] = {
48646 (char *) "self",(char *) "window", NULL
48649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48651 if (!SWIG_IsOK(res1
)) {
48652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
48654 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48656 if (!SWIG_IsOK(res2
)) {
48657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
48659 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48662 result
= (arg1
)->Fit(arg2
);
48663 wxPyEndAllowThreads(__tstate
);
48664 if (PyErr_Occurred()) SWIG_fail
;
48666 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
48673 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48674 PyObject
*resultobj
= 0;
48675 wxSizer
*arg1
= (wxSizer
*) 0 ;
48676 wxWindow
*arg2
= (wxWindow
*) 0 ;
48681 PyObject
* obj0
= 0 ;
48682 PyObject
* obj1
= 0 ;
48683 char * kwnames
[] = {
48684 (char *) "self",(char *) "window", NULL
48687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48689 if (!SWIG_IsOK(res1
)) {
48690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
48692 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48694 if (!SWIG_IsOK(res2
)) {
48695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
48697 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48700 (arg1
)->FitInside(arg2
);
48701 wxPyEndAllowThreads(__tstate
);
48702 if (PyErr_Occurred()) SWIG_fail
;
48704 resultobj
= SWIG_Py_Void();
48711 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48712 PyObject
*resultobj
= 0;
48713 wxSizer
*arg1
= (wxSizer
*) 0 ;
48714 wxWindow
*arg2
= (wxWindow
*) 0 ;
48719 PyObject
* obj0
= 0 ;
48720 PyObject
* obj1
= 0 ;
48721 char * kwnames
[] = {
48722 (char *) "self",(char *) "window", NULL
48725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48727 if (!SWIG_IsOK(res1
)) {
48728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
48730 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48732 if (!SWIG_IsOK(res2
)) {
48733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
48735 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48738 (arg1
)->SetSizeHints(arg2
);
48739 wxPyEndAllowThreads(__tstate
);
48740 if (PyErr_Occurred()) SWIG_fail
;
48742 resultobj
= SWIG_Py_Void();
48749 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48750 PyObject
*resultobj
= 0;
48751 wxSizer
*arg1
= (wxSizer
*) 0 ;
48752 wxWindow
*arg2
= (wxWindow
*) 0 ;
48757 PyObject
* obj0
= 0 ;
48758 PyObject
* obj1
= 0 ;
48759 char * kwnames
[] = {
48760 (char *) "self",(char *) "window", NULL
48763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48765 if (!SWIG_IsOK(res1
)) {
48766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
48768 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
48770 if (!SWIG_IsOK(res2
)) {
48771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
48773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
48775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48776 (arg1
)->SetVirtualSizeHints(arg2
);
48777 wxPyEndAllowThreads(__tstate
);
48778 if (PyErr_Occurred()) SWIG_fail
;
48780 resultobj
= SWIG_Py_Void();
48787 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48788 PyObject
*resultobj
= 0;
48789 wxSizer
*arg1
= (wxSizer
*) 0 ;
48790 bool arg2
= (bool) false ;
48795 PyObject
* obj0
= 0 ;
48796 PyObject
* obj1
= 0 ;
48797 char * kwnames
[] = {
48798 (char *) "self",(char *) "deleteWindows", NULL
48801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48803 if (!SWIG_IsOK(res1
)) {
48804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
48806 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
48809 if (!SWIG_IsOK(ecode2
)) {
48810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
48812 arg2
= static_cast< bool >(val2
);
48815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48816 (arg1
)->Clear(arg2
);
48817 wxPyEndAllowThreads(__tstate
);
48818 if (PyErr_Occurred()) SWIG_fail
;
48820 resultobj
= SWIG_Py_Void();
48827 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48828 PyObject
*resultobj
= 0;
48829 wxSizer
*arg1
= (wxSizer
*) 0 ;
48832 PyObject
*swig_obj
[1] ;
48834 if (!args
) SWIG_fail
;
48835 swig_obj
[0] = args
;
48836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48837 if (!SWIG_IsOK(res1
)) {
48838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
48840 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48843 (arg1
)->DeleteWindows();
48844 wxPyEndAllowThreads(__tstate
);
48845 if (PyErr_Occurred()) SWIG_fail
;
48847 resultobj
= SWIG_Py_Void();
48854 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48855 PyObject
*resultobj
= 0;
48856 wxSizer
*arg1
= (wxSizer
*) 0 ;
48857 PyObject
*result
= 0 ;
48860 PyObject
*swig_obj
[1] ;
48862 if (!args
) SWIG_fail
;
48863 swig_obj
[0] = args
;
48864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48865 if (!SWIG_IsOK(res1
)) {
48866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
48868 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48871 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
48872 wxPyEndAllowThreads(__tstate
);
48873 if (PyErr_Occurred()) SWIG_fail
;
48875 resultobj
= result
;
48882 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48883 PyObject
*resultobj
= 0;
48884 wxSizer
*arg1
= (wxSizer
*) 0 ;
48885 PyObject
*arg2
= (PyObject
*) 0 ;
48886 bool arg3
= (bool) true ;
48887 bool arg4
= (bool) false ;
48895 PyObject
* obj0
= 0 ;
48896 PyObject
* obj1
= 0 ;
48897 PyObject
* obj2
= 0 ;
48898 PyObject
* obj3
= 0 ;
48899 char * kwnames
[] = {
48900 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
48903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
48904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48905 if (!SWIG_IsOK(res1
)) {
48906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
48908 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48911 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
48912 if (!SWIG_IsOK(ecode3
)) {
48913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
48915 arg3
= static_cast< bool >(val3
);
48918 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
48919 if (!SWIG_IsOK(ecode4
)) {
48920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
48922 arg4
= static_cast< bool >(val4
);
48925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48926 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
48927 wxPyEndAllowThreads(__tstate
);
48928 if (PyErr_Occurred()) SWIG_fail
;
48931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48939 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48940 PyObject
*resultobj
= 0;
48941 wxSizer
*arg1
= (wxSizer
*) 0 ;
48942 PyObject
*arg2
= (PyObject
*) 0 ;
48946 PyObject
* obj0
= 0 ;
48947 PyObject
* obj1
= 0 ;
48948 char * kwnames
[] = {
48949 (char *) "self",(char *) "item", NULL
48952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48954 if (!SWIG_IsOK(res1
)) {
48955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
48957 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48961 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
48962 wxPyEndAllowThreads(__tstate
);
48963 if (PyErr_Occurred()) SWIG_fail
;
48966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48974 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48975 PyObject
*resultobj
= 0;
48976 wxSizer
*arg1
= (wxSizer
*) 0 ;
48982 PyObject
* obj0
= 0 ;
48983 PyObject
* obj1
= 0 ;
48984 char * kwnames
[] = {
48985 (char *) "self",(char *) "show", NULL
48988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
48990 if (!SWIG_IsOK(res1
)) {
48991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
48993 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
48994 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
48995 if (!SWIG_IsOK(ecode2
)) {
48996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
48998 arg2
= static_cast< bool >(val2
);
49000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49001 (arg1
)->ShowItems(arg2
);
49002 wxPyEndAllowThreads(__tstate
);
49003 if (PyErr_Occurred()) SWIG_fail
;
49005 resultobj
= SWIG_Py_Void();
49012 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49015 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
49016 return SWIG_Py_Void();
49019 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49020 PyObject
*resultobj
= 0;
49021 wxPySizer
*result
= 0 ;
49023 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
49025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49026 result
= (wxPySizer
*)new wxPySizer();
49027 wxPyEndAllowThreads(__tstate
);
49028 if (PyErr_Occurred()) SWIG_fail
;
49030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
49037 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49038 PyObject
*resultobj
= 0;
49039 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
49040 PyObject
*arg2
= (PyObject
*) 0 ;
49041 PyObject
*arg3
= (PyObject
*) 0 ;
49044 PyObject
* obj0
= 0 ;
49045 PyObject
* obj1
= 0 ;
49046 PyObject
* obj2
= 0 ;
49047 char * kwnames
[] = {
49048 (char *) "self",(char *) "self",(char *) "_class", NULL
49051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
49053 if (!SWIG_IsOK(res1
)) {
49054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
49056 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
49060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49061 (arg1
)->_setCallbackInfo(arg2
,arg3
);
49062 wxPyEndAllowThreads(__tstate
);
49063 if (PyErr_Occurred()) SWIG_fail
;
49065 resultobj
= SWIG_Py_Void();
49072 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
49076 return SWIG_Py_Void();
49079 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49080 return SWIG_Python_InitShadowInstance(args
);
49083 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49084 PyObject
*resultobj
= 0;
49085 int arg1
= (int) wxHORIZONTAL
;
49086 wxBoxSizer
*result
= 0 ;
49089 PyObject
* obj0
= 0 ;
49090 char * kwnames
[] = {
49091 (char *) "orient", NULL
49094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
49096 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49097 if (!SWIG_IsOK(ecode1
)) {
49098 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
49100 arg1
= static_cast< int >(val1
);
49103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49104 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
49105 wxPyEndAllowThreads(__tstate
);
49106 if (PyErr_Occurred()) SWIG_fail
;
49108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
49115 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49116 PyObject
*resultobj
= 0;
49117 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
49121 PyObject
*swig_obj
[1] ;
49123 if (!args
) SWIG_fail
;
49124 swig_obj
[0] = args
;
49125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
49126 if (!SWIG_IsOK(res1
)) {
49127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
49129 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
49131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49132 result
= (int)(arg1
)->GetOrientation();
49133 wxPyEndAllowThreads(__tstate
);
49134 if (PyErr_Occurred()) SWIG_fail
;
49136 resultobj
= SWIG_From_int(static_cast< int >(result
));
49143 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49144 PyObject
*resultobj
= 0;
49145 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
49151 PyObject
* obj0
= 0 ;
49152 PyObject
* obj1
= 0 ;
49153 char * kwnames
[] = {
49154 (char *) "self",(char *) "orient", NULL
49157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
49159 if (!SWIG_IsOK(res1
)) {
49160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
49162 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
49163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49164 if (!SWIG_IsOK(ecode2
)) {
49165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
49167 arg2
= static_cast< int >(val2
);
49169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49170 (arg1
)->SetOrientation(arg2
);
49171 wxPyEndAllowThreads(__tstate
);
49172 if (PyErr_Occurred()) SWIG_fail
;
49174 resultobj
= SWIG_Py_Void();
49181 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49184 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
49185 return SWIG_Py_Void();
49188 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49189 return SWIG_Python_InitShadowInstance(args
);
49192 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49193 PyObject
*resultobj
= 0;
49194 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
49195 int arg2
= (int) wxHORIZONTAL
;
49196 wxStaticBoxSizer
*result
= 0 ;
49201 PyObject
* obj0
= 0 ;
49202 PyObject
* obj1
= 0 ;
49203 char * kwnames
[] = {
49204 (char *) "box",(char *) "orient", NULL
49207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
49209 if (!SWIG_IsOK(res1
)) {
49210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
49212 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
49214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49215 if (!SWIG_IsOK(ecode2
)) {
49216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
49218 arg2
= static_cast< int >(val2
);
49221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49222 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
49223 wxPyEndAllowThreads(__tstate
);
49224 if (PyErr_Occurred()) SWIG_fail
;
49226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
49233 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49234 PyObject
*resultobj
= 0;
49235 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
49236 wxStaticBox
*result
= 0 ;
49239 PyObject
*swig_obj
[1] ;
49241 if (!args
) SWIG_fail
;
49242 swig_obj
[0] = args
;
49243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
49244 if (!SWIG_IsOK(res1
)) {
49245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
49247 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
49249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49250 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
49251 wxPyEndAllowThreads(__tstate
);
49252 if (PyErr_Occurred()) SWIG_fail
;
49255 resultobj
= wxPyMake_wxObject(result
, (bool)0);
49263 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49266 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
49267 return SWIG_Py_Void();
49270 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49271 return SWIG_Python_InitShadowInstance(args
);
49274 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49275 PyObject
*resultobj
= 0;
49276 int arg1
= (int) 1 ;
49277 int arg2
= (int) 0 ;
49278 int arg3
= (int) 0 ;
49279 int arg4
= (int) 0 ;
49280 wxGridSizer
*result
= 0 ;
49289 PyObject
* obj0
= 0 ;
49290 PyObject
* obj1
= 0 ;
49291 PyObject
* obj2
= 0 ;
49292 PyObject
* obj3
= 0 ;
49293 char * kwnames
[] = {
49294 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
49297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
49299 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49300 if (!SWIG_IsOK(ecode1
)) {
49301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
49303 arg1
= static_cast< int >(val1
);
49306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49307 if (!SWIG_IsOK(ecode2
)) {
49308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
49310 arg2
= static_cast< int >(val2
);
49313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49314 if (!SWIG_IsOK(ecode3
)) {
49315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
49317 arg3
= static_cast< int >(val3
);
49320 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49321 if (!SWIG_IsOK(ecode4
)) {
49322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
49324 arg4
= static_cast< int >(val4
);
49327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49328 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
49329 wxPyEndAllowThreads(__tstate
);
49330 if (PyErr_Occurred()) SWIG_fail
;
49332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
49339 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49340 PyObject
*resultobj
= 0;
49341 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49347 PyObject
* obj0
= 0 ;
49348 PyObject
* obj1
= 0 ;
49349 char * kwnames
[] = {
49350 (char *) "self",(char *) "cols", NULL
49353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49355 if (!SWIG_IsOK(res1
)) {
49356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49358 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49360 if (!SWIG_IsOK(ecode2
)) {
49361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
49363 arg2
= static_cast< int >(val2
);
49365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49366 (arg1
)->SetCols(arg2
);
49367 wxPyEndAllowThreads(__tstate
);
49368 if (PyErr_Occurred()) SWIG_fail
;
49370 resultobj
= SWIG_Py_Void();
49377 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49378 PyObject
*resultobj
= 0;
49379 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49385 PyObject
* obj0
= 0 ;
49386 PyObject
* obj1
= 0 ;
49387 char * kwnames
[] = {
49388 (char *) "self",(char *) "rows", NULL
49391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49393 if (!SWIG_IsOK(res1
)) {
49394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49396 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49398 if (!SWIG_IsOK(ecode2
)) {
49399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
49401 arg2
= static_cast< int >(val2
);
49403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49404 (arg1
)->SetRows(arg2
);
49405 wxPyEndAllowThreads(__tstate
);
49406 if (PyErr_Occurred()) SWIG_fail
;
49408 resultobj
= SWIG_Py_Void();
49415 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49416 PyObject
*resultobj
= 0;
49417 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49423 PyObject
* obj0
= 0 ;
49424 PyObject
* obj1
= 0 ;
49425 char * kwnames
[] = {
49426 (char *) "self",(char *) "gap", NULL
49429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49431 if (!SWIG_IsOK(res1
)) {
49432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49434 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49436 if (!SWIG_IsOK(ecode2
)) {
49437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
49439 arg2
= static_cast< int >(val2
);
49441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49442 (arg1
)->SetVGap(arg2
);
49443 wxPyEndAllowThreads(__tstate
);
49444 if (PyErr_Occurred()) SWIG_fail
;
49446 resultobj
= SWIG_Py_Void();
49453 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49454 PyObject
*resultobj
= 0;
49455 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49461 PyObject
* obj0
= 0 ;
49462 PyObject
* obj1
= 0 ;
49463 char * kwnames
[] = {
49464 (char *) "self",(char *) "gap", NULL
49467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49469 if (!SWIG_IsOK(res1
)) {
49470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49472 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49474 if (!SWIG_IsOK(ecode2
)) {
49475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
49477 arg2
= static_cast< int >(val2
);
49479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49480 (arg1
)->SetHGap(arg2
);
49481 wxPyEndAllowThreads(__tstate
);
49482 if (PyErr_Occurred()) SWIG_fail
;
49484 resultobj
= SWIG_Py_Void();
49491 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49492 PyObject
*resultobj
= 0;
49493 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49497 PyObject
*swig_obj
[1] ;
49499 if (!args
) SWIG_fail
;
49500 swig_obj
[0] = args
;
49501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49502 if (!SWIG_IsOK(res1
)) {
49503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49505 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49508 result
= (int)(arg1
)->GetCols();
49509 wxPyEndAllowThreads(__tstate
);
49510 if (PyErr_Occurred()) SWIG_fail
;
49512 resultobj
= SWIG_From_int(static_cast< int >(result
));
49519 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49520 PyObject
*resultobj
= 0;
49521 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49525 PyObject
*swig_obj
[1] ;
49527 if (!args
) SWIG_fail
;
49528 swig_obj
[0] = args
;
49529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49530 if (!SWIG_IsOK(res1
)) {
49531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49533 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49536 result
= (int)(arg1
)->GetRows();
49537 wxPyEndAllowThreads(__tstate
);
49538 if (PyErr_Occurred()) SWIG_fail
;
49540 resultobj
= SWIG_From_int(static_cast< int >(result
));
49547 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49548 PyObject
*resultobj
= 0;
49549 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49553 PyObject
*swig_obj
[1] ;
49555 if (!args
) SWIG_fail
;
49556 swig_obj
[0] = args
;
49557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49558 if (!SWIG_IsOK(res1
)) {
49559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49561 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49564 result
= (int)(arg1
)->GetVGap();
49565 wxPyEndAllowThreads(__tstate
);
49566 if (PyErr_Occurred()) SWIG_fail
;
49568 resultobj
= SWIG_From_int(static_cast< int >(result
));
49575 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49576 PyObject
*resultobj
= 0;
49577 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
49581 PyObject
*swig_obj
[1] ;
49583 if (!args
) SWIG_fail
;
49584 swig_obj
[0] = args
;
49585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
49586 if (!SWIG_IsOK(res1
)) {
49587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
49589 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
49591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49592 result
= (int)(arg1
)->GetHGap();
49593 wxPyEndAllowThreads(__tstate
);
49594 if (PyErr_Occurred()) SWIG_fail
;
49596 resultobj
= SWIG_From_int(static_cast< int >(result
));
49603 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49606 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
49607 return SWIG_Py_Void();
49610 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49611 return SWIG_Python_InitShadowInstance(args
);
49614 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49615 PyObject
*resultobj
= 0;
49616 int arg1
= (int) 1 ;
49617 int arg2
= (int) 0 ;
49618 int arg3
= (int) 0 ;
49619 int arg4
= (int) 0 ;
49620 wxFlexGridSizer
*result
= 0 ;
49629 PyObject
* obj0
= 0 ;
49630 PyObject
* obj1
= 0 ;
49631 PyObject
* obj2
= 0 ;
49632 PyObject
* obj3
= 0 ;
49633 char * kwnames
[] = {
49634 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
49637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
49639 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49640 if (!SWIG_IsOK(ecode1
)) {
49641 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
49643 arg1
= static_cast< int >(val1
);
49646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49647 if (!SWIG_IsOK(ecode2
)) {
49648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
49650 arg2
= static_cast< int >(val2
);
49653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49654 if (!SWIG_IsOK(ecode3
)) {
49655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
49657 arg3
= static_cast< int >(val3
);
49660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49661 if (!SWIG_IsOK(ecode4
)) {
49662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
49664 arg4
= static_cast< int >(val4
);
49667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49668 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
49669 wxPyEndAllowThreads(__tstate
);
49670 if (PyErr_Occurred()) SWIG_fail
;
49672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
49679 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49680 PyObject
*resultobj
= 0;
49681 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49683 int arg3
= (int) 0 ;
49690 PyObject
* obj0
= 0 ;
49691 PyObject
* obj1
= 0 ;
49692 PyObject
* obj2
= 0 ;
49693 char * kwnames
[] = {
49694 (char *) "self",(char *) "idx",(char *) "proportion", NULL
49697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49699 if (!SWIG_IsOK(res1
)) {
49700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49702 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49703 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
49704 if (!SWIG_IsOK(ecode2
)) {
49705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
49707 arg2
= static_cast< size_t >(val2
);
49709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49710 if (!SWIG_IsOK(ecode3
)) {
49711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
49713 arg3
= static_cast< int >(val3
);
49716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49717 (arg1
)->AddGrowableRow(arg2
,arg3
);
49718 wxPyEndAllowThreads(__tstate
);
49719 if (PyErr_Occurred()) SWIG_fail
;
49721 resultobj
= SWIG_Py_Void();
49728 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49729 PyObject
*resultobj
= 0;
49730 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49736 PyObject
* obj0
= 0 ;
49737 PyObject
* obj1
= 0 ;
49738 char * kwnames
[] = {
49739 (char *) "self",(char *) "idx", NULL
49742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49744 if (!SWIG_IsOK(res1
)) {
49745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49747 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49748 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
49749 if (!SWIG_IsOK(ecode2
)) {
49750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
49752 arg2
= static_cast< size_t >(val2
);
49754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49755 (arg1
)->RemoveGrowableRow(arg2
);
49756 wxPyEndAllowThreads(__tstate
);
49757 if (PyErr_Occurred()) SWIG_fail
;
49759 resultobj
= SWIG_Py_Void();
49766 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49767 PyObject
*resultobj
= 0;
49768 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49770 int arg3
= (int) 0 ;
49777 PyObject
* obj0
= 0 ;
49778 PyObject
* obj1
= 0 ;
49779 PyObject
* obj2
= 0 ;
49780 char * kwnames
[] = {
49781 (char *) "self",(char *) "idx",(char *) "proportion", NULL
49784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49786 if (!SWIG_IsOK(res1
)) {
49787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49789 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49790 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
49791 if (!SWIG_IsOK(ecode2
)) {
49792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
49794 arg2
= static_cast< size_t >(val2
);
49796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49797 if (!SWIG_IsOK(ecode3
)) {
49798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
49800 arg3
= static_cast< int >(val3
);
49803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49804 (arg1
)->AddGrowableCol(arg2
,arg3
);
49805 wxPyEndAllowThreads(__tstate
);
49806 if (PyErr_Occurred()) SWIG_fail
;
49808 resultobj
= SWIG_Py_Void();
49815 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49816 PyObject
*resultobj
= 0;
49817 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49823 PyObject
* obj0
= 0 ;
49824 PyObject
* obj1
= 0 ;
49825 char * kwnames
[] = {
49826 (char *) "self",(char *) "idx", NULL
49829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49831 if (!SWIG_IsOK(res1
)) {
49832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49834 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49835 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
49836 if (!SWIG_IsOK(ecode2
)) {
49837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
49839 arg2
= static_cast< size_t >(val2
);
49841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49842 (arg1
)->RemoveGrowableCol(arg2
);
49843 wxPyEndAllowThreads(__tstate
);
49844 if (PyErr_Occurred()) SWIG_fail
;
49846 resultobj
= SWIG_Py_Void();
49853 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49854 PyObject
*resultobj
= 0;
49855 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49861 PyObject
* obj0
= 0 ;
49862 PyObject
* obj1
= 0 ;
49863 char * kwnames
[] = {
49864 (char *) "self",(char *) "direction", NULL
49867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49869 if (!SWIG_IsOK(res1
)) {
49870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49872 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49874 if (!SWIG_IsOK(ecode2
)) {
49875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
49877 arg2
= static_cast< int >(val2
);
49879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49880 (arg1
)->SetFlexibleDirection(arg2
);
49881 wxPyEndAllowThreads(__tstate
);
49882 if (PyErr_Occurred()) SWIG_fail
;
49884 resultobj
= SWIG_Py_Void();
49891 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49892 PyObject
*resultobj
= 0;
49893 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49897 PyObject
*swig_obj
[1] ;
49899 if (!args
) SWIG_fail
;
49900 swig_obj
[0] = args
;
49901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49902 if (!SWIG_IsOK(res1
)) {
49903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49905 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49908 result
= (int)(arg1
)->GetFlexibleDirection();
49909 wxPyEndAllowThreads(__tstate
);
49910 if (PyErr_Occurred()) SWIG_fail
;
49912 resultobj
= SWIG_From_int(static_cast< int >(result
));
49919 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49920 PyObject
*resultobj
= 0;
49921 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49922 wxFlexSizerGrowMode arg2
;
49927 PyObject
* obj0
= 0 ;
49928 PyObject
* obj1
= 0 ;
49929 char * kwnames
[] = {
49930 (char *) "self",(char *) "mode", NULL
49933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49935 if (!SWIG_IsOK(res1
)) {
49936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49938 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49940 if (!SWIG_IsOK(ecode2
)) {
49941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
49943 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
49945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49946 (arg1
)->SetNonFlexibleGrowMode(arg2
);
49947 wxPyEndAllowThreads(__tstate
);
49948 if (PyErr_Occurred()) SWIG_fail
;
49950 resultobj
= SWIG_Py_Void();
49957 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49958 PyObject
*resultobj
= 0;
49959 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49960 wxFlexSizerGrowMode result
;
49963 PyObject
*swig_obj
[1] ;
49965 if (!args
) SWIG_fail
;
49966 swig_obj
[0] = args
;
49967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49968 if (!SWIG_IsOK(res1
)) {
49969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
49971 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
49973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49974 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
49975 wxPyEndAllowThreads(__tstate
);
49976 if (PyErr_Occurred()) SWIG_fail
;
49978 resultobj
= SWIG_From_int(static_cast< int >(result
));
49985 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49986 PyObject
*resultobj
= 0;
49987 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
49988 wxArrayInt
*result
= 0 ;
49991 PyObject
*swig_obj
[1] ;
49993 if (!args
) SWIG_fail
;
49994 swig_obj
[0] = args
;
49995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
49996 if (!SWIG_IsOK(res1
)) {
49997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
49999 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
50001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50003 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
50004 result
= (wxArrayInt
*) &_result_ref
;
50006 wxPyEndAllowThreads(__tstate
);
50007 if (PyErr_Occurred()) SWIG_fail
;
50010 resultobj
= wxArrayInt2PyList_helper(*result
);
50018 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50019 PyObject
*resultobj
= 0;
50020 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
50021 wxArrayInt
*result
= 0 ;
50024 PyObject
*swig_obj
[1] ;
50026 if (!args
) SWIG_fail
;
50027 swig_obj
[0] = args
;
50028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
50029 if (!SWIG_IsOK(res1
)) {
50030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
50032 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
50034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50036 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
50037 result
= (wxArrayInt
*) &_result_ref
;
50039 wxPyEndAllowThreads(__tstate
);
50040 if (PyErr_Occurred()) SWIG_fail
;
50043 resultobj
= wxArrayInt2PyList_helper(*result
);
50051 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50054 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
50055 return SWIG_Py_Void();
50058 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50059 return SWIG_Python_InitShadowInstance(args
);
50062 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50063 PyObject
*resultobj
= 0;
50064 wxStdDialogButtonSizer
*result
= 0 ;
50066 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
50068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50069 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
50070 wxPyEndAllowThreads(__tstate
);
50071 if (PyErr_Occurred()) SWIG_fail
;
50073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
50080 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50081 PyObject
*resultobj
= 0;
50082 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50083 wxButton
*arg2
= (wxButton
*) 0 ;
50088 PyObject
* obj0
= 0 ;
50089 PyObject
* obj1
= 0 ;
50090 char * kwnames
[] = {
50091 (char *) "self",(char *) "button", NULL
50094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50096 if (!SWIG_IsOK(res1
)) {
50097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50099 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
50101 if (!SWIG_IsOK(res2
)) {
50102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
50104 arg2
= reinterpret_cast< wxButton
* >(argp2
);
50106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50107 (arg1
)->AddButton(arg2
);
50108 wxPyEndAllowThreads(__tstate
);
50109 if (PyErr_Occurred()) SWIG_fail
;
50111 resultobj
= SWIG_Py_Void();
50118 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50119 PyObject
*resultobj
= 0;
50120 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50123 PyObject
*swig_obj
[1] ;
50125 if (!args
) SWIG_fail
;
50126 swig_obj
[0] = args
;
50127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50128 if (!SWIG_IsOK(res1
)) {
50129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50131 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50135 wxPyEndAllowThreads(__tstate
);
50136 if (PyErr_Occurred()) SWIG_fail
;
50138 resultobj
= SWIG_Py_Void();
50145 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50146 PyObject
*resultobj
= 0;
50147 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50148 wxButton
*arg2
= (wxButton
*) 0 ;
50153 PyObject
* obj0
= 0 ;
50154 PyObject
* obj1
= 0 ;
50155 char * kwnames
[] = {
50156 (char *) "self",(char *) "button", NULL
50159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50161 if (!SWIG_IsOK(res1
)) {
50162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50164 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
50166 if (!SWIG_IsOK(res2
)) {
50167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
50169 arg2
= reinterpret_cast< wxButton
* >(argp2
);
50171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50172 (arg1
)->SetAffirmativeButton(arg2
);
50173 wxPyEndAllowThreads(__tstate
);
50174 if (PyErr_Occurred()) SWIG_fail
;
50176 resultobj
= SWIG_Py_Void();
50183 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50184 PyObject
*resultobj
= 0;
50185 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50186 wxButton
*arg2
= (wxButton
*) 0 ;
50191 PyObject
* obj0
= 0 ;
50192 PyObject
* obj1
= 0 ;
50193 char * kwnames
[] = {
50194 (char *) "self",(char *) "button", NULL
50197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50199 if (!SWIG_IsOK(res1
)) {
50200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50202 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
50204 if (!SWIG_IsOK(res2
)) {
50205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
50207 arg2
= reinterpret_cast< wxButton
* >(argp2
);
50209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50210 (arg1
)->SetNegativeButton(arg2
);
50211 wxPyEndAllowThreads(__tstate
);
50212 if (PyErr_Occurred()) SWIG_fail
;
50214 resultobj
= SWIG_Py_Void();
50221 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50222 PyObject
*resultobj
= 0;
50223 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50224 wxButton
*arg2
= (wxButton
*) 0 ;
50229 PyObject
* obj0
= 0 ;
50230 PyObject
* obj1
= 0 ;
50231 char * kwnames
[] = {
50232 (char *) "self",(char *) "button", NULL
50235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50237 if (!SWIG_IsOK(res1
)) {
50238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
50240 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
50242 if (!SWIG_IsOK(res2
)) {
50243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
50245 arg2
= reinterpret_cast< wxButton
* >(argp2
);
50247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50248 (arg1
)->SetCancelButton(arg2
);
50249 wxPyEndAllowThreads(__tstate
);
50250 if (PyErr_Occurred()) SWIG_fail
;
50252 resultobj
= SWIG_Py_Void();
50259 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50260 PyObject
*resultobj
= 0;
50261 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50262 wxButton
*result
= 0 ;
50265 PyObject
*swig_obj
[1] ;
50267 if (!args
) SWIG_fail
;
50268 swig_obj
[0] = args
;
50269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50270 if (!SWIG_IsOK(res1
)) {
50271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50273 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50276 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
50277 wxPyEndAllowThreads(__tstate
);
50278 if (PyErr_Occurred()) SWIG_fail
;
50281 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50289 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50290 PyObject
*resultobj
= 0;
50291 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50292 wxButton
*result
= 0 ;
50295 PyObject
*swig_obj
[1] ;
50297 if (!args
) SWIG_fail
;
50298 swig_obj
[0] = args
;
50299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50300 if (!SWIG_IsOK(res1
)) {
50301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50303 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50306 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
50307 wxPyEndAllowThreads(__tstate
);
50308 if (PyErr_Occurred()) SWIG_fail
;
50311 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50319 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50320 PyObject
*resultobj
= 0;
50321 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50322 wxButton
*result
= 0 ;
50325 PyObject
*swig_obj
[1] ;
50327 if (!args
) SWIG_fail
;
50328 swig_obj
[0] = args
;
50329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50330 if (!SWIG_IsOK(res1
)) {
50331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50333 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50336 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
50337 wxPyEndAllowThreads(__tstate
);
50338 if (PyErr_Occurred()) SWIG_fail
;
50341 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50349 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50350 PyObject
*resultobj
= 0;
50351 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50352 wxButton
*result
= 0 ;
50355 PyObject
*swig_obj
[1] ;
50357 if (!args
) SWIG_fail
;
50358 swig_obj
[0] = args
;
50359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50360 if (!SWIG_IsOK(res1
)) {
50361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50363 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50366 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
50367 wxPyEndAllowThreads(__tstate
);
50368 if (PyErr_Occurred()) SWIG_fail
;
50371 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50379 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50380 PyObject
*resultobj
= 0;
50381 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
50382 wxButton
*result
= 0 ;
50385 PyObject
*swig_obj
[1] ;
50387 if (!args
) SWIG_fail
;
50388 swig_obj
[0] = args
;
50389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
50390 if (!SWIG_IsOK(res1
)) {
50391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
50393 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
50395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50396 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
50397 wxPyEndAllowThreads(__tstate
);
50398 if (PyErr_Occurred()) SWIG_fail
;
50401 resultobj
= wxPyMake_wxObject(result
, (bool)0);
50409 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50412 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
50413 return SWIG_Py_Void();
50416 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50417 return SWIG_Python_InitShadowInstance(args
);
50420 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50421 PyObject
*resultobj
= 0;
50422 int arg1
= (int) 0 ;
50423 int arg2
= (int) 0 ;
50424 wxGBPosition
*result
= 0 ;
50429 PyObject
* obj0
= 0 ;
50430 PyObject
* obj1
= 0 ;
50431 char * kwnames
[] = {
50432 (char *) "row",(char *) "col", NULL
50435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
50438 if (!SWIG_IsOK(ecode1
)) {
50439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
50441 arg1
= static_cast< int >(val1
);
50444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50445 if (!SWIG_IsOK(ecode2
)) {
50446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
50448 arg2
= static_cast< int >(val2
);
50451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50452 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
50453 wxPyEndAllowThreads(__tstate
);
50454 if (PyErr_Occurred()) SWIG_fail
;
50456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
50463 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50464 PyObject
*resultobj
= 0;
50465 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50468 PyObject
*swig_obj
[1] ;
50470 if (!args
) SWIG_fail
;
50471 swig_obj
[0] = args
;
50472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
50473 if (!SWIG_IsOK(res1
)) {
50474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50476 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50481 wxPyEndAllowThreads(__tstate
);
50482 if (PyErr_Occurred()) SWIG_fail
;
50484 resultobj
= SWIG_Py_Void();
50491 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50492 PyObject
*resultobj
= 0;
50493 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50497 PyObject
*swig_obj
[1] ;
50499 if (!args
) SWIG_fail
;
50500 swig_obj
[0] = args
;
50501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50502 if (!SWIG_IsOK(res1
)) {
50503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
50505 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50508 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
50509 wxPyEndAllowThreads(__tstate
);
50510 if (PyErr_Occurred()) SWIG_fail
;
50512 resultobj
= SWIG_From_int(static_cast< int >(result
));
50519 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50520 PyObject
*resultobj
= 0;
50521 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50525 PyObject
*swig_obj
[1] ;
50527 if (!args
) SWIG_fail
;
50528 swig_obj
[0] = args
;
50529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50530 if (!SWIG_IsOK(res1
)) {
50531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
50533 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50536 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
50537 wxPyEndAllowThreads(__tstate
);
50538 if (PyErr_Occurred()) SWIG_fail
;
50540 resultobj
= SWIG_From_int(static_cast< int >(result
));
50547 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50548 PyObject
*resultobj
= 0;
50549 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50555 PyObject
* obj0
= 0 ;
50556 PyObject
* obj1
= 0 ;
50557 char * kwnames
[] = {
50558 (char *) "self",(char *) "row", NULL
50561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50563 if (!SWIG_IsOK(res1
)) {
50564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50566 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50568 if (!SWIG_IsOK(ecode2
)) {
50569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
50571 arg2
= static_cast< int >(val2
);
50573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50574 (arg1
)->SetRow(arg2
);
50575 wxPyEndAllowThreads(__tstate
);
50576 if (PyErr_Occurred()) SWIG_fail
;
50578 resultobj
= SWIG_Py_Void();
50585 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50586 PyObject
*resultobj
= 0;
50587 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50593 PyObject
* obj0
= 0 ;
50594 PyObject
* obj1
= 0 ;
50595 char * kwnames
[] = {
50596 (char *) "self",(char *) "col", NULL
50599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50601 if (!SWIG_IsOK(res1
)) {
50602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50604 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50606 if (!SWIG_IsOK(ecode2
)) {
50607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
50609 arg2
= static_cast< int >(val2
);
50611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50612 (arg1
)->SetCol(arg2
);
50613 wxPyEndAllowThreads(__tstate
);
50614 if (PyErr_Occurred()) SWIG_fail
;
50616 resultobj
= SWIG_Py_Void();
50623 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50624 PyObject
*resultobj
= 0;
50625 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50626 PyObject
*arg2
= (PyObject
*) 0 ;
50630 PyObject
* obj0
= 0 ;
50631 PyObject
* obj1
= 0 ;
50632 char * kwnames
[] = {
50633 (char *) "self",(char *) "other", NULL
50636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50638 if (!SWIG_IsOK(res1
)) {
50639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50641 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50644 result
= (bool)wxGBPosition___eq__(arg1
,arg2
);
50645 if (PyErr_Occurred()) SWIG_fail
;
50648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50656 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50657 PyObject
*resultobj
= 0;
50658 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50659 PyObject
*arg2
= (PyObject
*) 0 ;
50663 PyObject
* obj0
= 0 ;
50664 PyObject
* obj1
= 0 ;
50665 char * kwnames
[] = {
50666 (char *) "self",(char *) "other", NULL
50669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50671 if (!SWIG_IsOK(res1
)) {
50672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50674 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50677 result
= (bool)wxGBPosition___ne__(arg1
,arg2
);
50678 if (PyErr_Occurred()) SWIG_fail
;
50681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50689 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50690 PyObject
*resultobj
= 0;
50691 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50692 int arg2
= (int) 0 ;
50693 int arg3
= (int) 0 ;
50700 PyObject
* obj0
= 0 ;
50701 PyObject
* obj1
= 0 ;
50702 PyObject
* obj2
= 0 ;
50703 char * kwnames
[] = {
50704 (char *) "self",(char *) "row",(char *) "col", NULL
50707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50709 if (!SWIG_IsOK(res1
)) {
50710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50712 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50715 if (!SWIG_IsOK(ecode2
)) {
50716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
50718 arg2
= static_cast< int >(val2
);
50721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50722 if (!SWIG_IsOK(ecode3
)) {
50723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
50725 arg3
= static_cast< int >(val3
);
50728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50729 wxGBPosition_Set(arg1
,arg2
,arg3
);
50730 wxPyEndAllowThreads(__tstate
);
50731 if (PyErr_Occurred()) SWIG_fail
;
50733 resultobj
= SWIG_Py_Void();
50740 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50741 PyObject
*resultobj
= 0;
50742 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
50743 PyObject
*result
= 0 ;
50746 PyObject
*swig_obj
[1] ;
50748 if (!args
) SWIG_fail
;
50749 swig_obj
[0] = args
;
50750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
50751 if (!SWIG_IsOK(res1
)) {
50752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
50754 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
50756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50757 result
= (PyObject
*)wxGBPosition_Get(arg1
);
50758 wxPyEndAllowThreads(__tstate
);
50759 if (PyErr_Occurred()) SWIG_fail
;
50761 resultobj
= result
;
50768 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50771 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
50772 return SWIG_Py_Void();
50775 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50776 return SWIG_Python_InitShadowInstance(args
);
50779 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50780 PyObject
*resultobj
= 0;
50781 int arg1
= (int) 1 ;
50782 int arg2
= (int) 1 ;
50783 wxGBSpan
*result
= 0 ;
50788 PyObject
* obj0
= 0 ;
50789 PyObject
* obj1
= 0 ;
50790 char * kwnames
[] = {
50791 (char *) "rowspan",(char *) "colspan", NULL
50794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
50797 if (!SWIG_IsOK(ecode1
)) {
50798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
50800 arg1
= static_cast< int >(val1
);
50803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50804 if (!SWIG_IsOK(ecode2
)) {
50805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
50807 arg2
= static_cast< int >(val2
);
50810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50811 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
50812 wxPyEndAllowThreads(__tstate
);
50813 if (PyErr_Occurred()) SWIG_fail
;
50815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
50822 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50823 PyObject
*resultobj
= 0;
50824 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50827 PyObject
*swig_obj
[1] ;
50829 if (!args
) SWIG_fail
;
50830 swig_obj
[0] = args
;
50831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
50832 if (!SWIG_IsOK(res1
)) {
50833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
50835 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50840 wxPyEndAllowThreads(__tstate
);
50841 if (PyErr_Occurred()) SWIG_fail
;
50843 resultobj
= SWIG_Py_Void();
50850 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50851 PyObject
*resultobj
= 0;
50852 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50856 PyObject
*swig_obj
[1] ;
50858 if (!args
) SWIG_fail
;
50859 swig_obj
[0] = args
;
50860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50861 if (!SWIG_IsOK(res1
)) {
50862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
50864 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50867 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
50868 wxPyEndAllowThreads(__tstate
);
50869 if (PyErr_Occurred()) SWIG_fail
;
50871 resultobj
= SWIG_From_int(static_cast< int >(result
));
50878 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50879 PyObject
*resultobj
= 0;
50880 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50884 PyObject
*swig_obj
[1] ;
50886 if (!args
) SWIG_fail
;
50887 swig_obj
[0] = args
;
50888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50889 if (!SWIG_IsOK(res1
)) {
50890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
50892 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50895 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
50896 wxPyEndAllowThreads(__tstate
);
50897 if (PyErr_Occurred()) SWIG_fail
;
50899 resultobj
= SWIG_From_int(static_cast< int >(result
));
50906 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50907 PyObject
*resultobj
= 0;
50908 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50914 PyObject
* obj0
= 0 ;
50915 PyObject
* obj1
= 0 ;
50916 char * kwnames
[] = {
50917 (char *) "self",(char *) "rowspan", NULL
50920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50922 if (!SWIG_IsOK(res1
)) {
50923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
50925 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50927 if (!SWIG_IsOK(ecode2
)) {
50928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
50930 arg2
= static_cast< int >(val2
);
50932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50933 (arg1
)->SetRowspan(arg2
);
50934 wxPyEndAllowThreads(__tstate
);
50935 if (PyErr_Occurred()) SWIG_fail
;
50937 resultobj
= SWIG_Py_Void();
50944 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50945 PyObject
*resultobj
= 0;
50946 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50952 PyObject
* obj0
= 0 ;
50953 PyObject
* obj1
= 0 ;
50954 char * kwnames
[] = {
50955 (char *) "self",(char *) "colspan", NULL
50958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50960 if (!SWIG_IsOK(res1
)) {
50961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
50963 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
50964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50965 if (!SWIG_IsOK(ecode2
)) {
50966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
50968 arg2
= static_cast< int >(val2
);
50970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50971 (arg1
)->SetColspan(arg2
);
50972 wxPyEndAllowThreads(__tstate
);
50973 if (PyErr_Occurred()) SWIG_fail
;
50975 resultobj
= SWIG_Py_Void();
50982 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50983 PyObject
*resultobj
= 0;
50984 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
50985 PyObject
*arg2
= (PyObject
*) 0 ;
50989 PyObject
* obj0
= 0 ;
50990 PyObject
* obj1
= 0 ;
50991 char * kwnames
[] = {
50992 (char *) "self",(char *) "other", NULL
50995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
50997 if (!SWIG_IsOK(res1
)) {
50998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
51000 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
51003 result
= (bool)wxGBSpan___eq__(arg1
,arg2
);
51004 if (PyErr_Occurred()) SWIG_fail
;
51007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51015 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51016 PyObject
*resultobj
= 0;
51017 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
51018 PyObject
*arg2
= (PyObject
*) 0 ;
51022 PyObject
* obj0
= 0 ;
51023 PyObject
* obj1
= 0 ;
51024 char * kwnames
[] = {
51025 (char *) "self",(char *) "other", NULL
51028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
51030 if (!SWIG_IsOK(res1
)) {
51031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
51033 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
51036 result
= (bool)wxGBSpan___ne__(arg1
,arg2
);
51037 if (PyErr_Occurred()) SWIG_fail
;
51040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51048 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51049 PyObject
*resultobj
= 0;
51050 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
51051 int arg2
= (int) 1 ;
51052 int arg3
= (int) 1 ;
51059 PyObject
* obj0
= 0 ;
51060 PyObject
* obj1
= 0 ;
51061 PyObject
* obj2
= 0 ;
51062 char * kwnames
[] = {
51063 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
51066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
51068 if (!SWIG_IsOK(res1
)) {
51069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
51071 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
51073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51074 if (!SWIG_IsOK(ecode2
)) {
51075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
51077 arg2
= static_cast< int >(val2
);
51080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51081 if (!SWIG_IsOK(ecode3
)) {
51082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
51084 arg3
= static_cast< int >(val3
);
51087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51088 wxGBSpan_Set(arg1
,arg2
,arg3
);
51089 wxPyEndAllowThreads(__tstate
);
51090 if (PyErr_Occurred()) SWIG_fail
;
51092 resultobj
= SWIG_Py_Void();
51099 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51100 PyObject
*resultobj
= 0;
51101 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
51102 PyObject
*result
= 0 ;
51105 PyObject
*swig_obj
[1] ;
51107 if (!args
) SWIG_fail
;
51108 swig_obj
[0] = args
;
51109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
51110 if (!SWIG_IsOK(res1
)) {
51111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
51113 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
51115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51116 result
= (PyObject
*)wxGBSpan_Get(arg1
);
51117 wxPyEndAllowThreads(__tstate
);
51118 if (PyErr_Occurred()) SWIG_fail
;
51120 resultobj
= result
;
51127 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51130 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
51131 return SWIG_Py_Void();
51134 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51135 return SWIG_Python_InitShadowInstance(args
);
51138 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
51139 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
51144 SWIGINTERN PyObject
*DefaultSpan_get(void) {
51145 PyObject
*pyobj
= 0;
51147 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
51152 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51153 PyObject
*resultobj
= 0;
51154 wxGBSizerItem
*result
= 0 ;
51156 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
51158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51159 result
= (wxGBSizerItem
*)new wxGBSizerItem();
51160 wxPyEndAllowThreads(__tstate
);
51161 if (PyErr_Occurred()) SWIG_fail
;
51163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
51170 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51171 PyObject
*resultobj
= 0;
51172 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51175 PyObject
*swig_obj
[1] ;
51177 if (!args
) SWIG_fail
;
51178 swig_obj
[0] = args
;
51179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
51180 if (!SWIG_IsOK(res1
)) {
51181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51183 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51188 wxPyEndAllowThreads(__tstate
);
51189 if (PyErr_Occurred()) SWIG_fail
;
51191 resultobj
= SWIG_Py_Void();
51198 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51199 PyObject
*resultobj
= 0;
51200 wxWindow
*arg1
= (wxWindow
*) 0 ;
51201 wxGBPosition
*arg2
= 0 ;
51202 wxGBSpan
*arg3
= 0 ;
51205 PyObject
*arg6
= (PyObject
*) NULL
;
51206 wxGBSizerItem
*result
= 0 ;
51209 wxGBPosition temp2
;
51215 PyObject
* obj0
= 0 ;
51216 PyObject
* obj1
= 0 ;
51217 PyObject
* obj2
= 0 ;
51218 PyObject
* obj3
= 0 ;
51219 PyObject
* obj4
= 0 ;
51220 PyObject
* obj5
= 0 ;
51221 char * kwnames
[] = {
51222 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
51225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51227 if (!SWIG_IsOK(res1
)) {
51228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
51230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
51233 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51237 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51240 if (!SWIG_IsOK(ecode4
)) {
51241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
51243 arg4
= static_cast< int >(val4
);
51244 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51245 if (!SWIG_IsOK(ecode5
)) {
51246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
51248 arg5
= static_cast< int >(val5
);
51253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51254 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
51255 wxPyEndAllowThreads(__tstate
);
51256 if (PyErr_Occurred()) SWIG_fail
;
51258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
51265 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51266 PyObject
*resultobj
= 0;
51267 wxSizer
*arg1
= (wxSizer
*) 0 ;
51268 wxGBPosition
*arg2
= 0 ;
51269 wxGBSpan
*arg3
= 0 ;
51272 PyObject
*arg6
= (PyObject
*) NULL
;
51273 wxGBSizerItem
*result
= 0 ;
51275 wxGBPosition temp2
;
51281 PyObject
* obj0
= 0 ;
51282 PyObject
* obj1
= 0 ;
51283 PyObject
* obj2
= 0 ;
51284 PyObject
* obj3
= 0 ;
51285 PyObject
* obj4
= 0 ;
51286 PyObject
* obj5
= 0 ;
51287 char * kwnames
[] = {
51288 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
51291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51292 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
51293 if (!SWIG_IsOK(res1
)) {
51294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
51298 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51302 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51304 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51305 if (!SWIG_IsOK(ecode4
)) {
51306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
51308 arg4
= static_cast< int >(val4
);
51309 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51310 if (!SWIG_IsOK(ecode5
)) {
51311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
51313 arg5
= static_cast< int >(val5
);
51318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51319 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
51320 wxPyEndAllowThreads(__tstate
);
51321 if (PyErr_Occurred()) SWIG_fail
;
51323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
51330 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51331 PyObject
*resultobj
= 0;
51334 wxGBPosition
*arg3
= 0 ;
51335 wxGBSpan
*arg4
= 0 ;
51338 PyObject
*arg7
= (PyObject
*) NULL
;
51339 wxGBSizerItem
*result
= 0 ;
51344 wxGBPosition temp3
;
51350 PyObject
* obj0
= 0 ;
51351 PyObject
* obj1
= 0 ;
51352 PyObject
* obj2
= 0 ;
51353 PyObject
* obj3
= 0 ;
51354 PyObject
* obj4
= 0 ;
51355 PyObject
* obj5
= 0 ;
51356 PyObject
* obj6
= 0 ;
51357 char * kwnames
[] = {
51358 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
51361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
51362 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51363 if (!SWIG_IsOK(ecode1
)) {
51364 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
51366 arg1
= static_cast< int >(val1
);
51367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51368 if (!SWIG_IsOK(ecode2
)) {
51369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
51371 arg2
= static_cast< int >(val2
);
51374 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
51378 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
51380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51381 if (!SWIG_IsOK(ecode5
)) {
51382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
51384 arg5
= static_cast< int >(val5
);
51385 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51386 if (!SWIG_IsOK(ecode6
)) {
51387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
51389 arg6
= static_cast< int >(val6
);
51394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51395 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
51396 wxPyEndAllowThreads(__tstate
);
51397 if (PyErr_Occurred()) SWIG_fail
;
51399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
51406 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51407 PyObject
*resultobj
= 0;
51408 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51409 wxGBPosition result
;
51412 PyObject
*swig_obj
[1] ;
51414 if (!args
) SWIG_fail
;
51415 swig_obj
[0] = args
;
51416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51417 if (!SWIG_IsOK(res1
)) {
51418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
51420 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51423 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
51424 wxPyEndAllowThreads(__tstate
);
51425 if (PyErr_Occurred()) SWIG_fail
;
51427 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
51434 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51435 PyObject
*resultobj
= 0;
51436 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51440 PyObject
*swig_obj
[1] ;
51442 if (!args
) SWIG_fail
;
51443 swig_obj
[0] = args
;
51444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51445 if (!SWIG_IsOK(res1
)) {
51446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
51448 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51451 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
51452 wxPyEndAllowThreads(__tstate
);
51453 if (PyErr_Occurred()) SWIG_fail
;
51455 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
51462 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51463 PyObject
*resultobj
= 0;
51464 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51465 wxGBPosition
*arg2
= 0 ;
51469 wxGBPosition temp2
;
51470 PyObject
* obj0
= 0 ;
51471 PyObject
* obj1
= 0 ;
51472 char * kwnames
[] = {
51473 (char *) "self",(char *) "pos", NULL
51476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51478 if (!SWIG_IsOK(res1
)) {
51479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51481 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51484 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51488 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
51489 wxPyEndAllowThreads(__tstate
);
51490 if (PyErr_Occurred()) SWIG_fail
;
51493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51501 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51502 PyObject
*resultobj
= 0;
51503 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51504 wxGBSpan
*arg2
= 0 ;
51509 PyObject
* obj0
= 0 ;
51510 PyObject
* obj1
= 0 ;
51511 char * kwnames
[] = {
51512 (char *) "self",(char *) "span", NULL
51515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51517 if (!SWIG_IsOK(res1
)) {
51518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51520 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51523 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
51526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51527 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
51528 wxPyEndAllowThreads(__tstate
);
51529 if (PyErr_Occurred()) SWIG_fail
;
51532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51540 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51541 PyObject
*resultobj
= 0;
51542 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51543 wxGBSizerItem
*arg2
= 0 ;
51549 PyObject
* obj0
= 0 ;
51550 PyObject
* obj1
= 0 ;
51551 char * kwnames
[] = {
51552 (char *) "self",(char *) "other", NULL
51555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51557 if (!SWIG_IsOK(res1
)) {
51558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51560 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
51562 if (!SWIG_IsOK(res2
)) {
51563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
51566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
51568 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
51570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51571 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
51572 wxPyEndAllowThreads(__tstate
);
51573 if (PyErr_Occurred()) SWIG_fail
;
51576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51584 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51585 PyObject
*resultobj
= 0;
51586 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51587 wxGBPosition
*arg2
= 0 ;
51588 wxGBSpan
*arg3
= 0 ;
51592 wxGBPosition temp2
;
51594 PyObject
* obj0
= 0 ;
51595 PyObject
* obj1
= 0 ;
51596 PyObject
* obj2
= 0 ;
51597 char * kwnames
[] = {
51598 (char *) "self",(char *) "pos",(char *) "span", NULL
51601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51603 if (!SWIG_IsOK(res1
)) {
51604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51606 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51609 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51613 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51617 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
51618 wxPyEndAllowThreads(__tstate
);
51619 if (PyErr_Occurred()) SWIG_fail
;
51622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51630 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51631 PyObject
*resultobj
= 0;
51632 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51633 wxGBPosition result
;
51636 PyObject
*swig_obj
[1] ;
51638 if (!args
) SWIG_fail
;
51639 swig_obj
[0] = args
;
51640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51641 if (!SWIG_IsOK(res1
)) {
51642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51644 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51647 result
= wxGBSizerItem_GetEndPos(arg1
);
51648 wxPyEndAllowThreads(__tstate
);
51649 if (PyErr_Occurred()) SWIG_fail
;
51651 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
51658 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51659 PyObject
*resultobj
= 0;
51660 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51661 wxGridBagSizer
*result
= 0 ;
51664 PyObject
*swig_obj
[1] ;
51666 if (!args
) SWIG_fail
;
51667 swig_obj
[0] = args
;
51668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51669 if (!SWIG_IsOK(res1
)) {
51670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
51672 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51675 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
51676 wxPyEndAllowThreads(__tstate
);
51677 if (PyErr_Occurred()) SWIG_fail
;
51679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51686 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51687 PyObject
*resultobj
= 0;
51688 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
51689 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
51694 PyObject
* obj0
= 0 ;
51695 PyObject
* obj1
= 0 ;
51696 char * kwnames
[] = {
51697 (char *) "self",(char *) "sizer", NULL
51700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51702 if (!SWIG_IsOK(res1
)) {
51703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
51705 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
51706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51707 if (!SWIG_IsOK(res2
)) {
51708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
51710 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
51712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51713 (arg1
)->SetGBSizer(arg2
);
51714 wxPyEndAllowThreads(__tstate
);
51715 if (PyErr_Occurred()) SWIG_fail
;
51717 resultobj
= SWIG_Py_Void();
51724 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51727 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
51728 return SWIG_Py_Void();
51731 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51732 return SWIG_Python_InitShadowInstance(args
);
51735 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51736 PyObject
*resultobj
= 0;
51737 int arg1
= (int) 0 ;
51738 int arg2
= (int) 0 ;
51739 wxGridBagSizer
*result
= 0 ;
51744 PyObject
* obj0
= 0 ;
51745 PyObject
* obj1
= 0 ;
51746 char * kwnames
[] = {
51747 (char *) "vgap",(char *) "hgap", NULL
51750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
51753 if (!SWIG_IsOK(ecode1
)) {
51754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
51756 arg1
= static_cast< int >(val1
);
51759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51760 if (!SWIG_IsOK(ecode2
)) {
51761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
51763 arg2
= static_cast< int >(val2
);
51766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51767 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
51768 wxPyEndAllowThreads(__tstate
);
51769 if (PyErr_Occurred()) SWIG_fail
;
51771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
51778 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51779 PyObject
*resultobj
= 0;
51780 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51781 PyObject
*arg2
= (PyObject
*) 0 ;
51782 wxGBPosition
*arg3
= 0 ;
51783 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
51784 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
51785 int arg5
= (int) 0 ;
51786 int arg6
= (int) 0 ;
51787 PyObject
*arg7
= (PyObject
*) NULL
;
51788 wxGBSizerItem
*result
= 0 ;
51791 wxGBPosition temp3
;
51797 PyObject
* obj0
= 0 ;
51798 PyObject
* obj1
= 0 ;
51799 PyObject
* obj2
= 0 ;
51800 PyObject
* obj3
= 0 ;
51801 PyObject
* obj4
= 0 ;
51802 PyObject
* obj5
= 0 ;
51803 PyObject
* obj6
= 0 ;
51804 char * kwnames
[] = {
51805 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
51808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
51809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51810 if (!SWIG_IsOK(res1
)) {
51811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51813 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51817 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
51822 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
51826 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51827 if (!SWIG_IsOK(ecode5
)) {
51828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
51830 arg5
= static_cast< int >(val5
);
51833 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51834 if (!SWIG_IsOK(ecode6
)) {
51835 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
51837 arg6
= static_cast< int >(val6
);
51843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51844 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
51845 wxPyEndAllowThreads(__tstate
);
51846 if (PyErr_Occurred()) SWIG_fail
;
51848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51855 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51856 PyObject
*resultobj
= 0;
51857 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51858 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
51859 wxGBSizerItem
*result
= 0 ;
51863 PyObject
* obj0
= 0 ;
51864 PyObject
* obj1
= 0 ;
51865 char * kwnames
[] = {
51866 (char *) "self",(char *) "item", NULL
51869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51871 if (!SWIG_IsOK(res1
)) {
51872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51874 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51875 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
51876 if (!SWIG_IsOK(res2
)) {
51877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
51880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51881 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
51882 wxPyEndAllowThreads(__tstate
);
51883 if (PyErr_Occurred()) SWIG_fail
;
51885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51892 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51893 PyObject
*resultobj
= 0;
51894 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51904 PyObject
* obj0
= 0 ;
51905 PyObject
* obj1
= 0 ;
51906 PyObject
* obj2
= 0 ;
51907 char * kwnames
[] = {
51908 (char *) "self",(char *) "row",(char *) "col", NULL
51911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51913 if (!SWIG_IsOK(res1
)) {
51914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
51916 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51918 if (!SWIG_IsOK(ecode2
)) {
51919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
51921 arg2
= static_cast< int >(val2
);
51922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51923 if (!SWIG_IsOK(ecode3
)) {
51924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
51926 arg3
= static_cast< int >(val3
);
51928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51929 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
51930 wxPyEndAllowThreads(__tstate
);
51931 if (PyErr_Occurred()) SWIG_fail
;
51933 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
51940 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51941 PyObject
*resultobj
= 0;
51942 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51946 PyObject
*swig_obj
[1] ;
51948 if (!args
) SWIG_fail
;
51949 swig_obj
[0] = args
;
51950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51951 if (!SWIG_IsOK(res1
)) {
51952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
51954 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51957 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
51958 wxPyEndAllowThreads(__tstate
);
51959 if (PyErr_Occurred()) SWIG_fail
;
51961 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
51968 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51969 PyObject
*resultobj
= 0;
51970 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51975 PyObject
* obj0
= 0 ;
51976 PyObject
* obj1
= 0 ;
51977 char * kwnames
[] = {
51978 (char *) "self",(char *) "sz", NULL
51981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51983 if (!SWIG_IsOK(res1
)) {
51984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51986 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51989 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
51992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51993 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
51994 wxPyEndAllowThreads(__tstate
);
51995 if (PyErr_Occurred()) SWIG_fail
;
51997 resultobj
= SWIG_Py_Void();
52004 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52005 PyObject
*resultobj
= 0;
52006 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52007 wxWindow
*arg2
= (wxWindow
*) 0 ;
52008 wxGBPosition result
;
52014 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52016 if (!SWIG_IsOK(res1
)) {
52017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52019 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52020 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52021 if (!SWIG_IsOK(res2
)) {
52022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
52024 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52027 result
= (arg1
)->GetItemPosition(arg2
);
52028 wxPyEndAllowThreads(__tstate
);
52029 if (PyErr_Occurred()) SWIG_fail
;
52031 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
52038 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52039 PyObject
*resultobj
= 0;
52040 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52041 wxSizer
*arg2
= (wxSizer
*) 0 ;
52042 wxGBPosition result
;
52048 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52050 if (!SWIG_IsOK(res1
)) {
52051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52053 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52054 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52055 if (!SWIG_IsOK(res2
)) {
52056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
52058 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52061 result
= (arg1
)->GetItemPosition(arg2
);
52062 wxPyEndAllowThreads(__tstate
);
52063 if (PyErr_Occurred()) SWIG_fail
;
52065 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
52072 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52073 PyObject
*resultobj
= 0;
52074 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52076 wxGBPosition result
;
52082 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52084 if (!SWIG_IsOK(res1
)) {
52085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52087 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52088 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
52089 if (!SWIG_IsOK(ecode2
)) {
52090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
52092 arg2
= static_cast< size_t >(val2
);
52094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52095 result
= (arg1
)->GetItemPosition(arg2
);
52096 wxPyEndAllowThreads(__tstate
);
52097 if (PyErr_Occurred()) SWIG_fail
;
52099 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
52106 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
52110 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
52116 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52117 _v
= SWIG_CheckState(res
);
52119 if (!_v
) goto check_1
;
52120 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
52128 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
52129 _v
= SWIG_CheckState(res
);
52131 if (!_v
) goto check_2
;
52132 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
52137 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
52141 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
52146 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52147 PyObject
*resultobj
= 0;
52148 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52149 wxWindow
*arg2
= (wxWindow
*) 0 ;
52150 wxGBPosition
*arg3
= 0 ;
52156 wxGBPosition temp3
;
52158 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52160 if (!SWIG_IsOK(res1
)) {
52161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52163 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52164 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52165 if (!SWIG_IsOK(res2
)) {
52166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
52168 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52171 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52175 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
52176 wxPyEndAllowThreads(__tstate
);
52177 if (PyErr_Occurred()) SWIG_fail
;
52180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52188 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52189 PyObject
*resultobj
= 0;
52190 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52191 wxSizer
*arg2
= (wxSizer
*) 0 ;
52192 wxGBPosition
*arg3
= 0 ;
52198 wxGBPosition temp3
;
52200 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52202 if (!SWIG_IsOK(res1
)) {
52203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52205 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52206 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52207 if (!SWIG_IsOK(res2
)) {
52208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
52210 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52213 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52217 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
52218 wxPyEndAllowThreads(__tstate
);
52219 if (PyErr_Occurred()) SWIG_fail
;
52222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52230 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52231 PyObject
*resultobj
= 0;
52232 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52234 wxGBPosition
*arg3
= 0 ;
52240 wxGBPosition temp3
;
52242 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52244 if (!SWIG_IsOK(res1
)) {
52245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52247 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52248 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
52249 if (!SWIG_IsOK(ecode2
)) {
52250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
52252 arg2
= static_cast< size_t >(val2
);
52255 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52259 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
52260 wxPyEndAllowThreads(__tstate
);
52261 if (PyErr_Occurred()) SWIG_fail
;
52264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52272 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
52276 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
52282 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52283 _v
= SWIG_CheckState(res
);
52285 if (!_v
) goto check_1
;
52286 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
52294 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
52295 _v
= SWIG_CheckState(res
);
52297 if (!_v
) goto check_2
;
52298 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
52303 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
52307 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
52312 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52313 PyObject
*resultobj
= 0;
52314 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52315 wxWindow
*arg2
= (wxWindow
*) 0 ;
52322 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52324 if (!SWIG_IsOK(res1
)) {
52325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52327 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52328 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52329 if (!SWIG_IsOK(res2
)) {
52330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
52332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52335 result
= (arg1
)->GetItemSpan(arg2
);
52336 wxPyEndAllowThreads(__tstate
);
52337 if (PyErr_Occurred()) SWIG_fail
;
52339 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
52346 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52347 PyObject
*resultobj
= 0;
52348 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52349 wxSizer
*arg2
= (wxSizer
*) 0 ;
52356 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52358 if (!SWIG_IsOK(res1
)) {
52359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52361 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52362 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52363 if (!SWIG_IsOK(res2
)) {
52364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
52366 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52369 result
= (arg1
)->GetItemSpan(arg2
);
52370 wxPyEndAllowThreads(__tstate
);
52371 if (PyErr_Occurred()) SWIG_fail
;
52373 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
52380 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52381 PyObject
*resultobj
= 0;
52382 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52390 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52392 if (!SWIG_IsOK(res1
)) {
52393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52395 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52396 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
52397 if (!SWIG_IsOK(ecode2
)) {
52398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
52400 arg2
= static_cast< size_t >(val2
);
52402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52403 result
= (arg1
)->GetItemSpan(arg2
);
52404 wxPyEndAllowThreads(__tstate
);
52405 if (PyErr_Occurred()) SWIG_fail
;
52407 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
52414 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
52418 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
52424 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52425 _v
= SWIG_CheckState(res
);
52427 if (!_v
) goto check_1
;
52428 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
52436 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
52437 _v
= SWIG_CheckState(res
);
52439 if (!_v
) goto check_2
;
52440 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
52445 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
52449 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
52454 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52455 PyObject
*resultobj
= 0;
52456 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52457 wxWindow
*arg2
= (wxWindow
*) 0 ;
52458 wxGBSpan
*arg3
= 0 ;
52466 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52468 if (!SWIG_IsOK(res1
)) {
52469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52471 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52472 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52473 if (!SWIG_IsOK(res2
)) {
52474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
52476 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52479 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52483 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
52484 wxPyEndAllowThreads(__tstate
);
52485 if (PyErr_Occurred()) SWIG_fail
;
52488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52496 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52497 PyObject
*resultobj
= 0;
52498 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52499 wxSizer
*arg2
= (wxSizer
*) 0 ;
52500 wxGBSpan
*arg3
= 0 ;
52508 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52510 if (!SWIG_IsOK(res1
)) {
52511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52513 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52514 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52515 if (!SWIG_IsOK(res2
)) {
52516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
52518 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52521 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52525 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
52526 wxPyEndAllowThreads(__tstate
);
52527 if (PyErr_Occurred()) SWIG_fail
;
52530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52538 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52539 PyObject
*resultobj
= 0;
52540 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52542 wxGBSpan
*arg3
= 0 ;
52550 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
52551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52552 if (!SWIG_IsOK(res1
)) {
52553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52555 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52556 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
52557 if (!SWIG_IsOK(ecode2
)) {
52558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
52560 arg2
= static_cast< size_t >(val2
);
52563 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
52566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52567 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
52568 wxPyEndAllowThreads(__tstate
);
52569 if (PyErr_Occurred()) SWIG_fail
;
52572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52580 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
52584 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
52590 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52591 _v
= SWIG_CheckState(res
);
52593 if (!_v
) goto check_1
;
52594 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
52602 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
52603 _v
= SWIG_CheckState(res
);
52605 if (!_v
) goto check_2
;
52606 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
52611 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
52615 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
52620 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52621 PyObject
*resultobj
= 0;
52622 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52623 wxWindow
*arg2
= (wxWindow
*) 0 ;
52624 wxGBSizerItem
*result
= 0 ;
52630 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52632 if (!SWIG_IsOK(res1
)) {
52633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52635 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52636 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52637 if (!SWIG_IsOK(res2
)) {
52638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
52640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52643 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
52644 wxPyEndAllowThreads(__tstate
);
52645 if (PyErr_Occurred()) SWIG_fail
;
52647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52654 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
52655 PyObject
*resultobj
= 0;
52656 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52657 wxSizer
*arg2
= (wxSizer
*) 0 ;
52658 wxGBSizerItem
*result
= 0 ;
52664 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
52665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52666 if (!SWIG_IsOK(res1
)) {
52667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52669 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52670 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
52671 if (!SWIG_IsOK(res2
)) {
52672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
52674 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
52676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52677 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
52678 wxPyEndAllowThreads(__tstate
);
52679 if (PyErr_Occurred()) SWIG_fail
;
52681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52688 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
52692 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
52698 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
52699 _v
= SWIG_CheckState(res
);
52701 if (!_v
) goto check_1
;
52702 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
52707 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
52711 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
52716 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52717 PyObject
*resultobj
= 0;
52718 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52719 wxGBPosition
*arg2
= 0 ;
52720 wxGBSizerItem
*result
= 0 ;
52723 wxGBPosition temp2
;
52724 PyObject
* obj0
= 0 ;
52725 PyObject
* obj1
= 0 ;
52726 char * kwnames
[] = {
52727 (char *) "self",(char *) "pos", NULL
52730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52732 if (!SWIG_IsOK(res1
)) {
52733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52735 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52738 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
52741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52742 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
52743 wxPyEndAllowThreads(__tstate
);
52744 if (PyErr_Occurred()) SWIG_fail
;
52746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52753 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52754 PyObject
*resultobj
= 0;
52755 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52756 wxPoint
*arg2
= 0 ;
52757 wxGBSizerItem
*result
= 0 ;
52761 PyObject
* obj0
= 0 ;
52762 PyObject
* obj1
= 0 ;
52763 char * kwnames
[] = {
52764 (char *) "self",(char *) "pt", NULL
52767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52769 if (!SWIG_IsOK(res1
)) {
52770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52772 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
52778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52779 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
52780 wxPyEndAllowThreads(__tstate
);
52781 if (PyErr_Occurred()) SWIG_fail
;
52783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52790 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52791 PyObject
*resultobj
= 0;
52792 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52793 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
52794 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
52802 PyObject
* obj0
= 0 ;
52803 PyObject
* obj1
= 0 ;
52804 PyObject
* obj2
= 0 ;
52805 char * kwnames
[] = {
52806 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
52809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52811 if (!SWIG_IsOK(res1
)) {
52812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52814 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52816 if (!SWIG_IsOK(res2
)) {
52817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
52819 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
52821 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52822 if (!SWIG_IsOK(res3
)) {
52823 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
52825 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
52828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52829 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
52830 wxPyEndAllowThreads(__tstate
);
52831 if (PyErr_Occurred()) SWIG_fail
;
52834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52842 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52843 PyObject
*resultobj
= 0;
52844 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
52845 wxGBPosition
*arg2
= 0 ;
52846 wxGBSpan
*arg3
= 0 ;
52847 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
52851 wxGBPosition temp2
;
52855 PyObject
* obj0
= 0 ;
52856 PyObject
* obj1
= 0 ;
52857 PyObject
* obj2
= 0 ;
52858 PyObject
* obj3
= 0 ;
52859 char * kwnames
[] = {
52860 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
52863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
52864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
52865 if (!SWIG_IsOK(res1
)) {
52866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
52868 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
52871 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
52875 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
52878 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
52879 if (!SWIG_IsOK(res4
)) {
52880 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
52882 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
52885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52886 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
52887 wxPyEndAllowThreads(__tstate
);
52888 if (PyErr_Occurred()) SWIG_fail
;
52891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52899 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52902 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
52903 return SWIG_Py_Void();
52906 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52907 return SWIG_Python_InitShadowInstance(args
);
52910 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52911 PyObject
*resultobj
= 0;
52912 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52913 wxRelationship arg2
;
52914 wxWindow
*arg3
= (wxWindow
*) 0 ;
52916 int arg5
= (int) 0 ;
52917 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
52930 PyObject
* obj0
= 0 ;
52931 PyObject
* obj1
= 0 ;
52932 PyObject
* obj2
= 0 ;
52933 PyObject
* obj3
= 0 ;
52934 PyObject
* obj4
= 0 ;
52935 PyObject
* obj5
= 0 ;
52936 char * kwnames
[] = {
52937 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
52940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
52941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52942 if (!SWIG_IsOK(res1
)) {
52943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52945 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52947 if (!SWIG_IsOK(ecode2
)) {
52948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
52950 arg2
= static_cast< wxRelationship
>(val2
);
52951 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52952 if (!SWIG_IsOK(res3
)) {
52953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
52955 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
52957 if (!SWIG_IsOK(ecode4
)) {
52958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
52960 arg4
= static_cast< wxEdge
>(val4
);
52962 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
52963 if (!SWIG_IsOK(ecode5
)) {
52964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
52966 arg5
= static_cast< int >(val5
);
52969 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
52970 if (!SWIG_IsOK(ecode6
)) {
52971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
52973 arg6
= static_cast< int >(val6
);
52976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52977 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
52978 wxPyEndAllowThreads(__tstate
);
52979 if (PyErr_Occurred()) SWIG_fail
;
52981 resultobj
= SWIG_Py_Void();
52988 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52989 PyObject
*resultobj
= 0;
52990 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52991 wxWindow
*arg2
= (wxWindow
*) 0 ;
52992 int arg3
= (int) 0 ;
52999 PyObject
* obj0
= 0 ;
53000 PyObject
* obj1
= 0 ;
53001 PyObject
* obj2
= 0 ;
53002 char * kwnames
[] = {
53003 (char *) "self",(char *) "sibling",(char *) "marg", NULL
53006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53008 if (!SWIG_IsOK(res1
)) {
53009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53011 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53013 if (!SWIG_IsOK(res2
)) {
53014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
53016 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53019 if (!SWIG_IsOK(ecode3
)) {
53020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
53022 arg3
= static_cast< int >(val3
);
53025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53026 (arg1
)->LeftOf(arg2
,arg3
);
53027 wxPyEndAllowThreads(__tstate
);
53028 if (PyErr_Occurred()) SWIG_fail
;
53030 resultobj
= SWIG_Py_Void();
53037 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53038 PyObject
*resultobj
= 0;
53039 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53040 wxWindow
*arg2
= (wxWindow
*) 0 ;
53041 int arg3
= (int) 0 ;
53048 PyObject
* obj0
= 0 ;
53049 PyObject
* obj1
= 0 ;
53050 PyObject
* obj2
= 0 ;
53051 char * kwnames
[] = {
53052 (char *) "self",(char *) "sibling",(char *) "marg", NULL
53055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53057 if (!SWIG_IsOK(res1
)) {
53058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53060 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53062 if (!SWIG_IsOK(res2
)) {
53063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
53065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53068 if (!SWIG_IsOK(ecode3
)) {
53069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
53071 arg3
= static_cast< int >(val3
);
53074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53075 (arg1
)->RightOf(arg2
,arg3
);
53076 wxPyEndAllowThreads(__tstate
);
53077 if (PyErr_Occurred()) SWIG_fail
;
53079 resultobj
= SWIG_Py_Void();
53086 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53087 PyObject
*resultobj
= 0;
53088 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53089 wxWindow
*arg2
= (wxWindow
*) 0 ;
53090 int arg3
= (int) 0 ;
53097 PyObject
* obj0
= 0 ;
53098 PyObject
* obj1
= 0 ;
53099 PyObject
* obj2
= 0 ;
53100 char * kwnames
[] = {
53101 (char *) "self",(char *) "sibling",(char *) "marg", NULL
53104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53106 if (!SWIG_IsOK(res1
)) {
53107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53109 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53111 if (!SWIG_IsOK(res2
)) {
53112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
53114 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53117 if (!SWIG_IsOK(ecode3
)) {
53118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
53120 arg3
= static_cast< int >(val3
);
53123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53124 (arg1
)->Above(arg2
,arg3
);
53125 wxPyEndAllowThreads(__tstate
);
53126 if (PyErr_Occurred()) SWIG_fail
;
53128 resultobj
= SWIG_Py_Void();
53135 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53136 PyObject
*resultobj
= 0;
53137 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53138 wxWindow
*arg2
= (wxWindow
*) 0 ;
53139 int arg3
= (int) 0 ;
53146 PyObject
* obj0
= 0 ;
53147 PyObject
* obj1
= 0 ;
53148 PyObject
* obj2
= 0 ;
53149 char * kwnames
[] = {
53150 (char *) "self",(char *) "sibling",(char *) "marg", NULL
53153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53155 if (!SWIG_IsOK(res1
)) {
53156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53158 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53160 if (!SWIG_IsOK(res2
)) {
53161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
53163 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53166 if (!SWIG_IsOK(ecode3
)) {
53167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
53169 arg3
= static_cast< int >(val3
);
53172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53173 (arg1
)->Below(arg2
,arg3
);
53174 wxPyEndAllowThreads(__tstate
);
53175 if (PyErr_Occurred()) SWIG_fail
;
53177 resultobj
= SWIG_Py_Void();
53184 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53185 PyObject
*resultobj
= 0;
53186 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53187 wxWindow
*arg2
= (wxWindow
*) 0 ;
53189 int arg4
= (int) 0 ;
53198 PyObject
* obj0
= 0 ;
53199 PyObject
* obj1
= 0 ;
53200 PyObject
* obj2
= 0 ;
53201 PyObject
* obj3
= 0 ;
53202 char * kwnames
[] = {
53203 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
53206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
53207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53208 if (!SWIG_IsOK(res1
)) {
53209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53211 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53213 if (!SWIG_IsOK(res2
)) {
53214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
53216 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53218 if (!SWIG_IsOK(ecode3
)) {
53219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
53221 arg3
= static_cast< wxEdge
>(val3
);
53223 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53224 if (!SWIG_IsOK(ecode4
)) {
53225 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
53227 arg4
= static_cast< int >(val4
);
53230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53231 (arg1
)->SameAs(arg2
,arg3
,arg4
);
53232 wxPyEndAllowThreads(__tstate
);
53233 if (PyErr_Occurred()) SWIG_fail
;
53235 resultobj
= SWIG_Py_Void();
53242 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53243 PyObject
*resultobj
= 0;
53244 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53245 wxWindow
*arg2
= (wxWindow
*) 0 ;
53256 PyObject
* obj0
= 0 ;
53257 PyObject
* obj1
= 0 ;
53258 PyObject
* obj2
= 0 ;
53259 PyObject
* obj3
= 0 ;
53260 char * kwnames
[] = {
53261 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
53264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
53265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53266 if (!SWIG_IsOK(res1
)) {
53267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53269 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53271 if (!SWIG_IsOK(res2
)) {
53272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
53274 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
53276 if (!SWIG_IsOK(ecode3
)) {
53277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
53279 arg3
= static_cast< wxEdge
>(val3
);
53280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
53281 if (!SWIG_IsOK(ecode4
)) {
53282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
53284 arg4
= static_cast< int >(val4
);
53286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53287 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
53288 wxPyEndAllowThreads(__tstate
);
53289 if (PyErr_Occurred()) SWIG_fail
;
53291 resultobj
= SWIG_Py_Void();
53298 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53299 PyObject
*resultobj
= 0;
53300 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53306 PyObject
* obj0
= 0 ;
53307 PyObject
* obj1
= 0 ;
53308 char * kwnames
[] = {
53309 (char *) "self",(char *) "val", NULL
53312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53314 if (!SWIG_IsOK(res1
)) {
53315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53317 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53319 if (!SWIG_IsOK(ecode2
)) {
53320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
53322 arg2
= static_cast< int >(val2
);
53324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53325 (arg1
)->Absolute(arg2
);
53326 wxPyEndAllowThreads(__tstate
);
53327 if (PyErr_Occurred()) SWIG_fail
;
53329 resultobj
= SWIG_Py_Void();
53336 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53337 PyObject
*resultobj
= 0;
53338 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53341 PyObject
*swig_obj
[1] ;
53343 if (!args
) SWIG_fail
;
53344 swig_obj
[0] = args
;
53345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53346 if (!SWIG_IsOK(res1
)) {
53347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53349 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53352 (arg1
)->Unconstrained();
53353 wxPyEndAllowThreads(__tstate
);
53354 if (PyErr_Occurred()) SWIG_fail
;
53356 resultobj
= SWIG_Py_Void();
53363 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53364 PyObject
*resultobj
= 0;
53365 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53368 PyObject
*swig_obj
[1] ;
53370 if (!args
) SWIG_fail
;
53371 swig_obj
[0] = args
;
53372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53373 if (!SWIG_IsOK(res1
)) {
53374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53376 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53380 wxPyEndAllowThreads(__tstate
);
53381 if (PyErr_Occurred()) SWIG_fail
;
53383 resultobj
= SWIG_Py_Void();
53390 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53391 PyObject
*resultobj
= 0;
53392 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53393 wxWindow
*result
= 0 ;
53396 PyObject
*swig_obj
[1] ;
53398 if (!args
) SWIG_fail
;
53399 swig_obj
[0] = args
;
53400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53401 if (!SWIG_IsOK(res1
)) {
53402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53404 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53407 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
53408 wxPyEndAllowThreads(__tstate
);
53409 if (PyErr_Occurred()) SWIG_fail
;
53412 resultobj
= wxPyMake_wxObject(result
, 0);
53420 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53421 PyObject
*resultobj
= 0;
53422 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53426 PyObject
*swig_obj
[1] ;
53428 if (!args
) SWIG_fail
;
53429 swig_obj
[0] = args
;
53430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53431 if (!SWIG_IsOK(res1
)) {
53432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53434 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53437 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
53438 wxPyEndAllowThreads(__tstate
);
53439 if (PyErr_Occurred()) SWIG_fail
;
53441 resultobj
= SWIG_From_int(static_cast< int >(result
));
53448 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53449 PyObject
*resultobj
= 0;
53450 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53456 PyObject
* obj0
= 0 ;
53457 PyObject
* obj1
= 0 ;
53458 char * kwnames
[] = {
53459 (char *) "self",(char *) "which", NULL
53462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53464 if (!SWIG_IsOK(res1
)) {
53465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53467 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53469 if (!SWIG_IsOK(ecode2
)) {
53470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
53472 arg2
= static_cast< wxEdge
>(val2
);
53474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53475 (arg1
)->SetEdge(arg2
);
53476 wxPyEndAllowThreads(__tstate
);
53477 if (PyErr_Occurred()) SWIG_fail
;
53479 resultobj
= SWIG_Py_Void();
53486 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53487 PyObject
*resultobj
= 0;
53488 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53494 PyObject
* obj0
= 0 ;
53495 PyObject
* obj1
= 0 ;
53496 char * kwnames
[] = {
53497 (char *) "self",(char *) "v", NULL
53500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53502 if (!SWIG_IsOK(res1
)) {
53503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53505 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53507 if (!SWIG_IsOK(ecode2
)) {
53508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
53510 arg2
= static_cast< int >(val2
);
53512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53513 (arg1
)->SetValue(arg2
);
53514 wxPyEndAllowThreads(__tstate
);
53515 if (PyErr_Occurred()) SWIG_fail
;
53517 resultobj
= SWIG_Py_Void();
53524 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53525 PyObject
*resultobj
= 0;
53526 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53530 PyObject
*swig_obj
[1] ;
53532 if (!args
) SWIG_fail
;
53533 swig_obj
[0] = args
;
53534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53535 if (!SWIG_IsOK(res1
)) {
53536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53538 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53541 result
= (int)(arg1
)->GetMargin();
53542 wxPyEndAllowThreads(__tstate
);
53543 if (PyErr_Occurred()) SWIG_fail
;
53545 resultobj
= SWIG_From_int(static_cast< int >(result
));
53552 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53553 PyObject
*resultobj
= 0;
53554 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53560 PyObject
* obj0
= 0 ;
53561 PyObject
* obj1
= 0 ;
53562 char * kwnames
[] = {
53563 (char *) "self",(char *) "m", NULL
53566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53568 if (!SWIG_IsOK(res1
)) {
53569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53571 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53573 if (!SWIG_IsOK(ecode2
)) {
53574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
53576 arg2
= static_cast< int >(val2
);
53578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53579 (arg1
)->SetMargin(arg2
);
53580 wxPyEndAllowThreads(__tstate
);
53581 if (PyErr_Occurred()) SWIG_fail
;
53583 resultobj
= SWIG_Py_Void();
53590 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53591 PyObject
*resultobj
= 0;
53592 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53596 PyObject
*swig_obj
[1] ;
53598 if (!args
) SWIG_fail
;
53599 swig_obj
[0] = args
;
53600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53601 if (!SWIG_IsOK(res1
)) {
53602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53604 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53607 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
53608 wxPyEndAllowThreads(__tstate
);
53609 if (PyErr_Occurred()) SWIG_fail
;
53611 resultobj
= SWIG_From_int(static_cast< int >(result
));
53618 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53619 PyObject
*resultobj
= 0;
53620 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53624 PyObject
*swig_obj
[1] ;
53626 if (!args
) SWIG_fail
;
53627 swig_obj
[0] = args
;
53628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53629 if (!SWIG_IsOK(res1
)) {
53630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53632 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53635 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
53636 wxPyEndAllowThreads(__tstate
);
53637 if (PyErr_Occurred()) SWIG_fail
;
53639 resultobj
= SWIG_From_int(static_cast< int >(result
));
53646 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53647 PyObject
*resultobj
= 0;
53648 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53652 PyObject
*swig_obj
[1] ;
53654 if (!args
) SWIG_fail
;
53655 swig_obj
[0] = args
;
53656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53657 if (!SWIG_IsOK(res1
)) {
53658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53660 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53663 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
53664 wxPyEndAllowThreads(__tstate
);
53665 if (PyErr_Occurred()) SWIG_fail
;
53667 resultobj
= SWIG_From_int(static_cast< int >(result
));
53674 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53675 PyObject
*resultobj
= 0;
53676 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53680 PyObject
*swig_obj
[1] ;
53682 if (!args
) SWIG_fail
;
53683 swig_obj
[0] = args
;
53684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53685 if (!SWIG_IsOK(res1
)) {
53686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53688 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53691 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
53692 wxPyEndAllowThreads(__tstate
);
53693 if (PyErr_Occurred()) SWIG_fail
;
53696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53704 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53705 PyObject
*resultobj
= 0;
53706 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53712 PyObject
* obj0
= 0 ;
53713 PyObject
* obj1
= 0 ;
53714 char * kwnames
[] = {
53715 (char *) "self",(char *) "d", NULL
53718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53720 if (!SWIG_IsOK(res1
)) {
53721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53723 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
53725 if (!SWIG_IsOK(ecode2
)) {
53726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
53728 arg2
= static_cast< bool >(val2
);
53730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53731 (arg1
)->SetDone(arg2
);
53732 wxPyEndAllowThreads(__tstate
);
53733 if (PyErr_Occurred()) SWIG_fail
;
53735 resultobj
= SWIG_Py_Void();
53742 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53743 PyObject
*resultobj
= 0;
53744 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53745 wxRelationship result
;
53748 PyObject
*swig_obj
[1] ;
53750 if (!args
) SWIG_fail
;
53751 swig_obj
[0] = args
;
53752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53753 if (!SWIG_IsOK(res1
)) {
53754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53756 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53759 result
= (wxRelationship
)(arg1
)->GetRelationship();
53760 wxPyEndAllowThreads(__tstate
);
53761 if (PyErr_Occurred()) SWIG_fail
;
53763 resultobj
= SWIG_From_int(static_cast< int >(result
));
53770 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53771 PyObject
*resultobj
= 0;
53772 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53773 wxRelationship arg2
;
53778 PyObject
* obj0
= 0 ;
53779 PyObject
* obj1
= 0 ;
53780 char * kwnames
[] = {
53781 (char *) "self",(char *) "r", NULL
53784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53786 if (!SWIG_IsOK(res1
)) {
53787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53789 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53791 if (!SWIG_IsOK(ecode2
)) {
53792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
53794 arg2
= static_cast< wxRelationship
>(val2
);
53796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53797 (arg1
)->SetRelationship(arg2
);
53798 wxPyEndAllowThreads(__tstate
);
53799 if (PyErr_Occurred()) SWIG_fail
;
53801 resultobj
= SWIG_Py_Void();
53808 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53809 PyObject
*resultobj
= 0;
53810 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53811 wxWindow
*arg2
= (wxWindow
*) 0 ;
53817 PyObject
* obj0
= 0 ;
53818 PyObject
* obj1
= 0 ;
53819 char * kwnames
[] = {
53820 (char *) "self",(char *) "otherW", NULL
53823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
53824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53825 if (!SWIG_IsOK(res1
)) {
53826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53828 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53830 if (!SWIG_IsOK(res2
)) {
53831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
53833 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
53835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53836 result
= (bool)(arg1
)->ResetIfWin(arg2
);
53837 wxPyEndAllowThreads(__tstate
);
53838 if (PyErr_Occurred()) SWIG_fail
;
53841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53849 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53850 PyObject
*resultobj
= 0;
53851 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53852 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
53853 wxWindow
*arg3
= (wxWindow
*) 0 ;
53861 PyObject
* obj0
= 0 ;
53862 PyObject
* obj1
= 0 ;
53863 PyObject
* obj2
= 0 ;
53864 char * kwnames
[] = {
53865 (char *) "self",(char *) "constraints",(char *) "win", NULL
53868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
53869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53870 if (!SWIG_IsOK(res1
)) {
53871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
53873 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
53875 if (!SWIG_IsOK(res2
)) {
53876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
53878 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
53879 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53880 if (!SWIG_IsOK(res3
)) {
53881 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
53883 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
53885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53886 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
53887 wxPyEndAllowThreads(__tstate
);
53888 if (PyErr_Occurred()) SWIG_fail
;
53891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
53899 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
53900 PyObject
*resultobj
= 0;
53901 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
53903 wxWindow
*arg3
= (wxWindow
*) 0 ;
53904 wxWindow
*arg4
= (wxWindow
*) 0 ;
53914 PyObject
* obj0
= 0 ;
53915 PyObject
* obj1
= 0 ;
53916 PyObject
* obj2
= 0 ;
53917 PyObject
* obj3
= 0 ;
53918 char * kwnames
[] = {
53919 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
53922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
53923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53924 if (!SWIG_IsOK(res1
)) {
53925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
53927 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
53928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
53929 if (!SWIG_IsOK(ecode2
)) {
53930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
53932 arg2
= static_cast< wxEdge
>(val2
);
53933 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53934 if (!SWIG_IsOK(res3
)) {
53935 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
53937 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
53938 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
53939 if (!SWIG_IsOK(res4
)) {
53940 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
53942 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
53944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
53945 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
53946 wxPyEndAllowThreads(__tstate
);
53947 if (PyErr_Occurred()) SWIG_fail
;
53949 resultobj
= SWIG_From_int(static_cast< int >(result
));
53956 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
53959 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
53960 return SWIG_Py_Void();
53963 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53964 PyObject
*resultobj
= 0;
53965 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
53966 wxIndividualLayoutConstraint
*result
= 0 ;
53969 PyObject
*swig_obj
[1] ;
53971 if (!args
) SWIG_fail
;
53972 swig_obj
[0] = args
;
53973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
53974 if (!SWIG_IsOK(res1
)) {
53975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
53977 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
53978 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
53979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
53986 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
53987 PyObject
*resultobj
= 0;
53988 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
53989 wxIndividualLayoutConstraint
*result
= 0 ;
53992 PyObject
*swig_obj
[1] ;
53994 if (!args
) SWIG_fail
;
53995 swig_obj
[0] = args
;
53996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
53997 if (!SWIG_IsOK(res1
)) {
53998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54000 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54001 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
54002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54009 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54010 PyObject
*resultobj
= 0;
54011 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54012 wxIndividualLayoutConstraint
*result
= 0 ;
54015 PyObject
*swig_obj
[1] ;
54017 if (!args
) SWIG_fail
;
54018 swig_obj
[0] = args
;
54019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54020 if (!SWIG_IsOK(res1
)) {
54021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54023 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54024 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
54025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54032 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54033 PyObject
*resultobj
= 0;
54034 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54035 wxIndividualLayoutConstraint
*result
= 0 ;
54038 PyObject
*swig_obj
[1] ;
54040 if (!args
) SWIG_fail
;
54041 swig_obj
[0] = args
;
54042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54043 if (!SWIG_IsOK(res1
)) {
54044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54046 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54047 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
54048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54055 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54056 PyObject
*resultobj
= 0;
54057 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54058 wxIndividualLayoutConstraint
*result
= 0 ;
54061 PyObject
*swig_obj
[1] ;
54063 if (!args
) SWIG_fail
;
54064 swig_obj
[0] = args
;
54065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54066 if (!SWIG_IsOK(res1
)) {
54067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54069 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54070 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
54071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54078 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54079 PyObject
*resultobj
= 0;
54080 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54081 wxIndividualLayoutConstraint
*result
= 0 ;
54084 PyObject
*swig_obj
[1] ;
54086 if (!args
) SWIG_fail
;
54087 swig_obj
[0] = args
;
54088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54089 if (!SWIG_IsOK(res1
)) {
54090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54092 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54093 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
54094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54101 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54102 PyObject
*resultobj
= 0;
54103 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54104 wxIndividualLayoutConstraint
*result
= 0 ;
54107 PyObject
*swig_obj
[1] ;
54109 if (!args
) SWIG_fail
;
54110 swig_obj
[0] = args
;
54111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54112 if (!SWIG_IsOK(res1
)) {
54113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54115 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54116 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
54117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54124 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54125 PyObject
*resultobj
= 0;
54126 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54127 wxIndividualLayoutConstraint
*result
= 0 ;
54130 PyObject
*swig_obj
[1] ;
54132 if (!args
) SWIG_fail
;
54133 swig_obj
[0] = args
;
54134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54135 if (!SWIG_IsOK(res1
)) {
54136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54138 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54139 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
54140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
54147 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54148 PyObject
*resultobj
= 0;
54149 wxLayoutConstraints
*result
= 0 ;
54151 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
54153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54154 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
54155 wxPyEndAllowThreads(__tstate
);
54156 if (PyErr_Occurred()) SWIG_fail
;
54158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
54165 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54166 PyObject
*resultobj
= 0;
54167 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54170 PyObject
*swig_obj
[1] ;
54172 if (!args
) SWIG_fail
;
54173 swig_obj
[0] = args
;
54174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
54175 if (!SWIG_IsOK(res1
)) {
54176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54178 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54183 wxPyEndAllowThreads(__tstate
);
54184 if (PyErr_Occurred()) SWIG_fail
;
54186 resultobj
= SWIG_Py_Void();
54193 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
54194 PyObject
*resultobj
= 0;
54195 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54196 wxWindow
*arg2
= (wxWindow
*) 0 ;
54197 int *arg3
= (int *) 0 ;
54204 int res3
= SWIG_TMPOBJ
;
54205 PyObject
* obj0
= 0 ;
54206 PyObject
* obj1
= 0 ;
54207 char * kwnames
[] = {
54208 (char *) "self",(char *) "win", NULL
54212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
54213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54214 if (!SWIG_IsOK(res1
)) {
54215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
54217 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
54219 if (!SWIG_IsOK(res2
)) {
54220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
54222 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
54224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54225 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
54226 wxPyEndAllowThreads(__tstate
);
54227 if (PyErr_Occurred()) SWIG_fail
;
54230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54232 if (SWIG_IsTmpObj(res3
)) {
54233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
54235 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
54236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
54244 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54245 PyObject
*resultobj
= 0;
54246 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
54250 PyObject
*swig_obj
[1] ;
54252 if (!args
) SWIG_fail
;
54253 swig_obj
[0] = args
;
54254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
54255 if (!SWIG_IsOK(res1
)) {
54256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
54258 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
54260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
54261 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
54262 wxPyEndAllowThreads(__tstate
);
54263 if (PyErr_Occurred()) SWIG_fail
;
54266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
54274 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
54277 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
54278 return SWIG_Py_Void();
54281 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
54282 return SWIG_Python_InitShadowInstance(args
);
54285 static PyMethodDef SwigMethods
[] = {
54286 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
54287 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
54288 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
54289 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
54290 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
54291 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
54292 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
54293 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
54294 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54295 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
54296 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54297 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54298 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54299 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54300 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54301 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54302 { (char *)"Size_IncBy", (PyCFunction
) _wrap_Size_IncBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54303 { (char *)"Size_DecBy", (PyCFunction
) _wrap_Size_DecBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54304 { (char *)"Size_Scale", (PyCFunction
) _wrap_Size_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54305 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54306 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54307 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54308 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
54309 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
54310 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
54311 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54312 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
54313 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
54314 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
54315 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
54316 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
54317 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
54318 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
54319 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54320 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
54321 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54322 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54323 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54324 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54325 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54326 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
54327 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
54328 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
54329 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
54330 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
54331 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
54332 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
54333 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54334 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
54335 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54336 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54337 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54338 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54339 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54340 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54341 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54342 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
54343 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
54344 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
54345 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54346 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54347 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54348 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54349 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
54350 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
54351 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54352 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
54353 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54354 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
54355 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54356 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
54357 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54358 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
54359 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54360 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
54361 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54362 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
54363 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
54364 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54365 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
54366 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54367 { (char *)"Rect_GetTopRight", (PyCFunction
)_wrap_Rect_GetTopRight
, METH_O
, NULL
},
54368 { (char *)"Rect_SetTopRight", (PyCFunction
) _wrap_Rect_SetTopRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54369 { (char *)"Rect_GetBottomLeft", (PyCFunction
)_wrap_Rect_GetBottomLeft
, METH_O
, NULL
},
54370 { (char *)"Rect_SetBottomLeft", (PyCFunction
) _wrap_Rect_SetBottomLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54371 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
54372 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
54373 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
54374 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
54375 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54376 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54377 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54378 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54379 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54380 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54381 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54382 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54383 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54384 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54385 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54386 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54387 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54388 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54389 { (char *)"Rect_ContainsXY", (PyCFunction
) _wrap_Rect_ContainsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54390 { (char *)"Rect_Contains", (PyCFunction
) _wrap_Rect_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54391 { (char *)"Rect_ContainsRect", (PyCFunction
) _wrap_Rect_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54392 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54393 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54394 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
54395 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
54396 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
54397 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
54398 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
54399 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
54400 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
54401 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
54402 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54403 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
54404 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
54405 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
54406 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54407 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54408 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54409 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54410 { (char *)"delete_Point2D", (PyCFunction
)_wrap_delete_Point2D
, METH_O
, NULL
},
54411 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
54412 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
54413 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
54414 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
54415 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54416 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54417 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54418 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54419 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54420 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54421 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
54422 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54423 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54424 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54425 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54426 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54427 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54428 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
54429 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
54430 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
54431 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
54432 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54433 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
54434 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
54435 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
54436 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54437 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
54438 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
54439 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
54440 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
54441 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54442 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54443 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54444 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54445 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
54446 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
54447 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
54448 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
54449 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
54450 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
54451 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54452 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54453 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
54454 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
54455 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
54456 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54457 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
54458 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
54459 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54460 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
54461 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
54462 { (char *)"FSFile_DetachStream", (PyCFunction
)_wrap_FSFile_DetachStream
, METH_O
, NULL
},
54463 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
54464 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
54465 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
54466 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
54467 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
54468 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
54469 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
54470 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
54471 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
54472 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54473 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54474 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54475 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54476 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
54477 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54478 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54479 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54480 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54481 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54482 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
54483 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
54484 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
54485 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
54486 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54487 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
54488 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54489 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54490 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
54491 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54492 { (char *)"FileSystem_RemoveHandler", (PyCFunction
) _wrap_FileSystem_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54493 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
54494 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54495 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54496 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
54497 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
54498 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
54499 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54500 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54501 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
54502 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
54503 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
54504 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54505 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54506 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54507 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
54508 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
54509 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
54510 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54511 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54512 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54513 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
54514 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54515 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54516 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54517 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54518 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
54519 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
54520 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
54521 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
54522 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
54523 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
54524 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
54525 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54526 { (char *)"ImageHandler_CanReadStream", (PyCFunction
) _wrap_ImageHandler_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54527 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54528 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54529 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54530 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54531 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
54532 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
54533 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54534 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
54535 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
54536 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
54537 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54538 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54539 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54540 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54541 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54542 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
54543 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
54544 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54545 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
54546 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
54547 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
54548 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
54549 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
54550 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
54551 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
54552 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
54553 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54554 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
54555 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
54556 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
54557 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
54558 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
54559 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
54560 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
54561 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
54562 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54563 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
54564 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54565 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54566 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54567 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54568 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54569 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54570 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54571 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54572 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
54573 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54574 { (char *)"Image_ResampleBox", (PyCFunction
) _wrap_Image_ResampleBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54575 { (char *)"Image_ResampleBicubic", (PyCFunction
) _wrap_Image_ResampleBicubic
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54576 { (char *)"Image_Blur", (PyCFunction
) _wrap_Image_Blur
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54577 { (char *)"Image_BlurHorizontal", (PyCFunction
) _wrap_Image_BlurHorizontal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54578 { (char *)"Image_BlurVertical", (PyCFunction
) _wrap_Image_BlurVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54579 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54580 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54581 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54582 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54583 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54584 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54585 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54586 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54587 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54588 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54589 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
54590 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
54591 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54592 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54593 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54594 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54595 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54596 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54597 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54598 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54599 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54600 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54601 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54602 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54603 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54604 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54605 { (char *)"Image_IsOk", (PyCFunction
)_wrap_Image_IsOk
, METH_O
, NULL
},
54606 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
54607 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
54608 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
54609 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54610 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54611 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
54612 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54613 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
54614 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54615 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
54616 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54617 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
54618 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54619 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
54620 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54621 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54622 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
54623 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
54624 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
54625 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
54626 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54627 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
54628 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54629 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54630 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54631 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54632 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54633 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54634 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54635 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54636 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54637 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54638 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54639 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54640 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54641 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54642 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54643 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54644 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
54645 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
54646 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54647 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54648 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54649 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54650 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54651 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
54652 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
54653 { (char *)"_ImageFromBuffer", (PyCFunction
) _wrap__ImageFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54654 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
54655 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
54656 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
54657 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
54658 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
54659 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
54660 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
54661 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
54662 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
54663 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
54664 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
54665 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
54666 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
54667 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
54668 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
54669 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
54670 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
54671 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
54672 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
54673 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
54674 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
54675 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
54676 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
54677 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
54678 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
54679 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
54680 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
54681 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
54682 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
54683 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
54684 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
54685 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
54686 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
54687 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54688 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
54689 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
54690 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
54691 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
54692 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54693 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54694 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
54695 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54696 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54697 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54698 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
54699 { (char *)"EvtHandler_AllowReentrance", (PyCFunction
) _wrap_EvtHandler_AllowReentrance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54700 { (char *)"EvtHandler_IsReentranceAllowed", (PyCFunction
)_wrap_EvtHandler_IsReentranceAllowed
, METH_O
, NULL
},
54701 { (char *)"EvtHandler_IsEventHandlingInProgress", (PyCFunction
)_wrap_EvtHandler_IsEventHandlingInProgress
, METH_O
, NULL
},
54702 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54703 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54704 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54705 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
54706 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
54707 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
54708 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
54709 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54710 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
54711 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
54712 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54713 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
54714 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54715 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
54716 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54717 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
54718 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54719 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
54720 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
54721 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
54722 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54723 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
54724 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
54725 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54726 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
54727 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
54728 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
54729 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54730 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
54731 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
54732 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
54733 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54734 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
54735 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54736 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
54737 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
54738 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
54739 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54740 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
54741 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54742 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
54743 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
54744 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54745 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
54746 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
54747 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
54748 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54749 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
54750 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
54751 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
54752 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
54753 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
54754 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54755 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
54756 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
54757 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54758 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54759 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
54760 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
54761 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54762 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
54763 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
54764 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54765 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54766 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
54767 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
54768 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54769 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
54770 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54771 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54772 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54773 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54774 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54775 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
54776 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
54777 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
54778 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
54779 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
54780 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
54781 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
54782 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
54783 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
54784 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
54785 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
54786 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
54787 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
54788 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
54789 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
54790 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
54791 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
54792 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
54793 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
54794 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
54795 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
54796 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
54797 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
54798 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
54799 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54800 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
54801 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
54802 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
54803 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
54804 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
54805 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
54806 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
54807 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
54808 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
54809 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
54810 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
54811 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
54812 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
54813 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
54814 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
54815 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
54816 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
54817 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
54818 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
54819 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
54820 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
54821 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
54822 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
54823 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
54824 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
54825 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
54826 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
54827 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
54828 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
54829 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
54830 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
54831 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
54832 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54833 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
54834 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
54835 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54836 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
54837 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
54838 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
54839 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
54840 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54841 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
54842 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
54843 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
54844 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
54845 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
54846 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
54847 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
54848 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
54849 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
54850 { (char *)"KeyEvent_SetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_SetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54851 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
54852 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
54853 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
54854 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
54855 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
54856 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
54857 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
54858 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
54859 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
54860 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
54861 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
54862 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
54863 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
54864 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
54865 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
54866 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
54867 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
54868 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
54869 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
54870 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
54871 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
54872 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
54873 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
54874 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
54875 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
54876 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
54877 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
54878 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
54879 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54880 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
54881 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
54882 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54883 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54884 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
54885 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
54886 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
54887 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
54888 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
54889 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
54890 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54891 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
54892 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
54893 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54894 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54895 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
54896 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
54897 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54898 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
54899 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
54900 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54901 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
54902 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
54903 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54904 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
54905 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
54906 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
54907 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54908 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
54909 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54910 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
54911 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
54912 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54913 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
54914 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
54915 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
54916 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54917 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
54918 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
54919 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
54920 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54921 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
54922 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
54923 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54924 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
54925 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
54926 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
54927 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
54928 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
54929 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54930 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54931 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
54932 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54933 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
54934 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54935 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
54936 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
54937 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
54938 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54939 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54940 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
54941 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
54942 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
54943 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54944 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
54945 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
54946 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
54947 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54948 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
54949 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
54950 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
54951 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
54952 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
54953 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
54954 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54955 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
54956 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
54957 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
54958 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
54959 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
54960 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
54961 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
54962 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
54963 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54964 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54965 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54966 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54967 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54968 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
54969 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54970 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
54971 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54972 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
54973 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
54974 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
54975 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
54976 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
54977 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
54978 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54979 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
54980 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
54981 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
54982 { (char *)"new_MouseCaptureLostEvent", (PyCFunction
) _wrap_new_MouseCaptureLostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54983 { (char *)"MouseCaptureLostEvent_swigregister", MouseCaptureLostEvent_swigregister
, METH_VARARGS
, NULL
},
54984 { (char *)"MouseCaptureLostEvent_swiginit", MouseCaptureLostEvent_swiginit
, METH_VARARGS
, NULL
},
54985 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
54986 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
54987 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
54988 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54989 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54990 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
54991 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
54992 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
54993 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54994 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54995 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
54996 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
54997 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
54998 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
54999 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
55000 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55001 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
55002 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55003 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
55004 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55005 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55006 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
55007 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55008 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
55009 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
55010 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55011 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
55012 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
55013 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
55014 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55015 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
55016 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
55017 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
55018 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55019 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
55020 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55021 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
55022 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
55023 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
55024 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55025 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
55026 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55027 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
55028 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55029 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
55030 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
55031 { (char *)"new_ClipboardTextEvent", (PyCFunction
) _wrap_new_ClipboardTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55032 { (char *)"ClipboardTextEvent_swigregister", ClipboardTextEvent_swigregister
, METH_VARARGS
, NULL
},
55033 { (char *)"ClipboardTextEvent_swiginit", ClipboardTextEvent_swiginit
, METH_VARARGS
, NULL
},
55034 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55035 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
55036 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55037 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
55038 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
55039 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
55040 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55041 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
55042 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55043 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
55044 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
55045 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
55046 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55047 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
55048 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55049 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
55050 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
55051 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
55052 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
55053 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55054 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
55055 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55056 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
55057 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55058 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
55059 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55060 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
55061 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
55062 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55063 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
55064 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
55065 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
55066 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
55067 { (char *)"PyApp_GetLayoutDirection", (PyCFunction
)_wrap_PyApp_GetLayoutDirection
, METH_O
, NULL
},
55068 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
55069 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
55070 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
55071 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
55072 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55073 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
55074 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55075 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
55076 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55077 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
55078 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55079 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
55080 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55081 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
55082 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55083 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
55084 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
55085 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
55086 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
55087 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
55088 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
55089 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55090 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55091 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55092 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55093 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55094 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
55095 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
55096 { (char *)"PyApp_IsDisplayAvailable", (PyCFunction
)_wrap_PyApp_IsDisplayAvailable
, METH_NOARGS
, NULL
},
55097 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
55098 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
55099 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
55100 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
55101 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
55102 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55103 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
55104 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55105 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
55106 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
55107 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55108 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
55109 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
55110 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
55111 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
55112 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55113 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
55114 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
55115 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
55116 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
55117 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55118 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
55119 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
55120 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55121 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
55122 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
55123 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
55124 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55125 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
55126 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55127 { (char *)"AcceleratorEntry_Create", (PyCFunction
) _wrap_AcceleratorEntry_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55128 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
55129 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
55130 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
55131 { (char *)"AcceleratorEntry_IsOk", (PyCFunction
)_wrap_AcceleratorEntry_IsOk
, METH_O
, NULL
},
55132 { (char *)"AcceleratorEntry_ToString", (PyCFunction
)_wrap_AcceleratorEntry_ToString
, METH_O
, NULL
},
55133 { (char *)"AcceleratorEntry_FromString", (PyCFunction
) _wrap_AcceleratorEntry_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55134 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
55135 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
55136 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55137 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
55138 { (char *)"AcceleratorTable_IsOk", (PyCFunction
)_wrap_AcceleratorTable_IsOk
, METH_O
, NULL
},
55139 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
55140 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
55141 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55142 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
55143 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
55144 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
55145 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
55146 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
55147 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
55148 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
55149 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
55150 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
55151 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
55152 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55153 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
55154 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55155 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55156 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
55157 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
55158 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
55159 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55160 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
55161 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55162 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
55163 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55164 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
55165 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55166 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
55167 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
55168 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55169 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55170 { (char *)"Window_GetLayoutDirection", (PyCFunction
)_wrap_Window_GetLayoutDirection
, METH_O
, NULL
},
55171 { (char *)"Window_SetLayoutDirection", (PyCFunction
) _wrap_Window_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55172 { (char *)"Window_AdjustForLayoutDirection", (PyCFunction
) _wrap_Window_AdjustForLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55173 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55174 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55175 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55176 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55177 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55178 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55179 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55180 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
55181 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
55182 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55183 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55184 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55185 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
55186 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
55187 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
55188 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
55189 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
55190 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
55191 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
55192 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
55193 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
55194 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
55195 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
55196 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
55197 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
55198 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
55199 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
55200 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55201 { (char *)"Window_GetBestFittingSize", (PyCFunction
)_wrap_Window_GetBestFittingSize
, METH_O
, NULL
},
55202 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
)_wrap_Window_GetAdjustedBestSize
, METH_O
, NULL
},
55203 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55204 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55205 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
55206 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
55207 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55208 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55209 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55210 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55211 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
55212 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
55213 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55214 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55215 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
55216 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
55217 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
55218 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
55219 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55220 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55221 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
55222 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
55223 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
55224 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55225 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
55226 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55227 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
55228 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
55229 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
55230 { (char *)"Window_IsShownOnScreen", (PyCFunction
)_wrap_Window_IsShownOnScreen
, METH_O
, NULL
},
55231 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55232 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
55233 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55234 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
55235 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55236 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
55237 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55238 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55239 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
55240 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
55241 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
55242 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
55243 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
55244 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
55245 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55246 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55247 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55248 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
55249 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
55250 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
55251 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
55252 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55253 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55254 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55255 { (char *)"Window_SetDoubleBuffered", (PyCFunction
) _wrap_Window_SetDoubleBuffered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55256 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55257 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55258 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
55259 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55260 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55261 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55262 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55263 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55264 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
55265 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
55266 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
55267 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
55268 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
55269 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55270 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
55271 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55272 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55273 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55274 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55275 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55276 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55277 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55278 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55279 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55280 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
55281 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
55282 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
55283 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
55284 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55285 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55286 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
55287 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
55288 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
55289 { (char *)"Window_IsFrozen", (PyCFunction
)_wrap_Window_IsFrozen
, METH_O
, NULL
},
55290 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
55291 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55292 { (char *)"Window_IsDoubleBuffered", (PyCFunction
)_wrap_Window_IsDoubleBuffered
, METH_O
, NULL
},
55293 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
55294 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
55295 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55296 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55297 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55298 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
55299 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55300 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55301 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55302 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55303 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55304 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
55305 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
55306 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
55307 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
55308 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55309 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
55310 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
55311 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55312 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
55313 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55314 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55315 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
55316 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55317 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
55318 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
55319 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
55320 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55321 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55322 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55323 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55324 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55325 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55326 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55327 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55328 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
55329 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55330 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55331 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55332 { (char *)"Window_HasMultiplePages", (PyCFunction
)_wrap_Window_HasMultiplePages
, METH_O
, NULL
},
55333 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
55334 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55335 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
55336 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55337 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55338 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55339 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55340 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55341 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55342 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55343 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55344 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55345 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
55346 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
55347 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
55348 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
55349 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55350 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55351 { (char *)"Window_GetHelpTextAtPoint", (PyCFunction
) _wrap_Window_GetHelpTextAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55352 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
55353 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55354 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55355 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
55356 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55357 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
55358 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55359 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55360 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
55361 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55362 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
55363 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
55364 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55365 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55366 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
55367 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55368 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
55369 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
55370 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
55371 { (char *)"Window_CanSetTransparent", (PyCFunction
)_wrap_Window_CanSetTransparent
, METH_O
, NULL
},
55372 { (char *)"Window_SetTransparent", (PyCFunction
) _wrap_Window_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55373 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
55374 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
55375 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55376 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55377 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55378 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55379 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
55380 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
55381 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
55382 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55383 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
55384 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
55385 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
55386 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55387 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
55388 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55389 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
55390 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
55391 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
55392 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55393 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
55394 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
55395 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55396 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55397 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
55398 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55399 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55400 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55401 { (char *)"Menu_AppendSubMenu", (PyCFunction
) _wrap_Menu_AppendSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55402 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55403 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55404 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55405 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
55406 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55407 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55408 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55409 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55410 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55411 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55412 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
55413 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55414 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55415 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55416 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55417 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55418 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55419 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55420 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
55421 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55422 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55423 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
55424 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
55425 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55426 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55427 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55428 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55429 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55430 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55431 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55432 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55433 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55434 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55435 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55436 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55437 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
55438 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55439 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
55440 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55441 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
55442 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
55443 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55444 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
55445 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55446 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
55447 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
55448 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55449 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
55450 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
55451 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
55452 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55453 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55454 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55455 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
55456 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55457 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55458 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55459 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55460 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55461 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55462 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55463 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55464 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55465 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55466 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55467 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55468 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55469 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55470 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55471 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55472 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55473 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55474 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
55475 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
55476 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55477 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
55478 { (char *)"MenuBar_UpdateMenus", (PyCFunction
)_wrap_MenuBar_UpdateMenus
, METH_O
, NULL
},
55479 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55480 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
55481 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
55482 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
55483 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55484 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
55485 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
55486 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55487 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55488 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
55489 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
55490 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55491 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
55492 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
55493 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55494 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
55495 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55496 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55497 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
55498 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
55499 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55500 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
55501 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55502 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
55503 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55504 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
55505 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
55506 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55507 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
55508 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
55509 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55510 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55511 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
55512 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55513 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
55514 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55515 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
55516 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55517 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
55518 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55519 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55520 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
55521 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55522 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
55523 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
55524 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
55525 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55526 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
55527 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
55528 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
55529 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55530 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
55531 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55532 { (char *)"Control_GetAlignment", (PyCFunction
)_wrap_Control_GetAlignment
, METH_O
, NULL
},
55533 { (char *)"Control_GetLabelText", (PyCFunction
)_wrap_Control_GetLabelText
, METH_O
, NULL
},
55534 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55535 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55536 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
55537 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
55538 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55539 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55540 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55541 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
55542 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55543 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55544 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55545 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
55546 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
55547 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55548 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
55549 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55550 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55551 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55552 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
55553 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55554 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
55555 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55556 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
55557 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
55558 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
55559 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
55560 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55561 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55562 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55563 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
55564 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
55565 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
55566 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
55567 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55568 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
55569 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
55570 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55571 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55572 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55573 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55574 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
55575 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
55576 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
55577 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
55578 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
55579 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55580 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
55581 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55582 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
55583 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55584 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
55585 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
55586 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55587 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
55588 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55589 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
55590 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55591 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55592 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
55593 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
55594 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
55595 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55596 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
55597 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
55598 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
55599 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55600 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55601 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55602 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55603 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55604 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55605 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55606 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55607 { (char *)"Sizer__ReplaceWin", (PyCFunction
) _wrap_Sizer__ReplaceWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55608 { (char *)"Sizer__ReplaceSizer", (PyCFunction
) _wrap_Sizer__ReplaceSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55609 { (char *)"Sizer__ReplaceItem", (PyCFunction
) _wrap_Sizer__ReplaceItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55610 { (char *)"Sizer_SetContainingWindow", (PyCFunction
) _wrap_Sizer_SetContainingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55611 { (char *)"Sizer_GetContainingWindow", (PyCFunction
)_wrap_Sizer_GetContainingWindow
, METH_O
, NULL
},
55612 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55613 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55614 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55615 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55616 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55617 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
55618 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
55619 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
55620 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
55621 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
55622 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
55623 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55624 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55625 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55626 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55627 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55628 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
55629 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
55630 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55631 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55632 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55633 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
55634 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
55635 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55636 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
55637 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
55638 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55639 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
55640 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55641 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
55642 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
55643 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55644 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
55645 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
55646 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
55647 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55648 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55649 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55650 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55651 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55652 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
55653 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
55654 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
55655 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
55656 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
55657 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
55658 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55659 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55660 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55661 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55662 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55663 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55664 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
55665 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55666 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
55667 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
55668 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
55669 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
55670 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
55671 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
55672 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55673 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
55674 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55675 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55676 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55677 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
55678 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
55679 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
55680 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
55681 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
55682 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
55683 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
55684 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55685 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
55686 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
55687 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
55688 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55689 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55690 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55691 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55692 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55693 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
55694 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
55695 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
55696 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55697 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
55698 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
55699 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
55700 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55701 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55702 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55703 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55704 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55705 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
55706 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
55707 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
55708 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
55709 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
55710 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55711 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55712 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55713 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
55714 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
55715 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55716 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55717 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55718 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55719 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
55720 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
55721 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55722 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
55723 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
55724 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55725 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55726 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55727 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55728 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
55729 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55730 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
55731 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
55732 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
55733 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
55734 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
55735 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55736 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55737 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55738 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55739 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
55740 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
55741 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55742 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55743 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55744 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55745 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55746 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55747 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55748 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55749 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
55750 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
55751 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
55752 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
55753 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55754 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55755 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
55756 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55757 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
55758 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
55759 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
55760 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
55761 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55762 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
55763 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55764 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55765 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55766 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55767 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
55768 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
55769 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
55770 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
55771 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
55772 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
55773 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
55774 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
55775 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
55776 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
55777 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
55778 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
55779 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
55780 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
55781 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
55782 { NULL
, NULL
, 0, NULL
}
55786 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
55788 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
55789 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
55791 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
55792 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
55794 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
55795 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
55797 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
55798 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
55800 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
55801 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
55803 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
55804 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
55806 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
55807 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
55809 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
55810 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
55812 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
55813 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
55815 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
55816 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
55818 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
55819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
55821 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
55822 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
55824 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
55825 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
55827 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
55828 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
55830 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
55831 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
55833 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
55834 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
55836 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
55837 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
55839 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
55840 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
55842 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
55843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
55845 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
55846 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
55848 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
55849 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
55851 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
55852 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
55854 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
55855 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
55857 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
55858 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
55860 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
55861 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
55863 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
55864 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
55866 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
55867 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
55869 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
55870 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
55872 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
55873 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
55875 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
55876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
55878 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
55879 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
55881 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
55882 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
55884 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
55885 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
55887 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
55888 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
55890 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
55891 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
55893 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
55894 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
55896 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
55897 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
55899 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
55900 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
55902 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
55903 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
55905 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
55906 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
55908 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
55909 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
55911 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
55912 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
55914 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
55915 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
55917 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
55918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
55920 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
55921 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
55923 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
55924 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
55926 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
55927 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
55929 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
55930 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
55932 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
55933 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
55935 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
55936 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
55938 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
55939 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
55941 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
55942 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
55944 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
55945 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
55947 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
55948 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
55950 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
55951 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
55953 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
55954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
55956 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
55957 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
55959 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
55960 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
55962 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
55963 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
55965 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
55966 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
55968 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
55969 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
55971 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
55972 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
55974 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
55975 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
55977 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
55978 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
55980 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
55981 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
55983 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
55984 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
55986 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
55987 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
55989 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
55990 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
55992 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
55993 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
55995 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
55996 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
55998 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
55999 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
56001 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
56002 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
56004 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
56005 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
56007 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
56008 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
56010 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
56011 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
56013 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
56014 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
56016 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
56017 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
56019 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
56020 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
56022 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
56023 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
56025 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
56026 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
56028 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
56029 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
56031 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
56032 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
56034 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
56035 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
56037 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
56038 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
56040 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
56041 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
56043 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
56044 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
56046 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
56047 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
56049 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
56050 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
56052 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
56053 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
56055 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
56056 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
56058 static void *_p_wxSizerTo_p_wxObject(void *x
) {
56059 return (void *)((wxObject
*) ((wxSizer
*) x
));
56061 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
56062 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
56064 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
56065 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
56067 static void *_p_wxEventTo_p_wxObject(void *x
) {
56068 return (void *)((wxObject
*) ((wxEvent
*) x
));
56070 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
56071 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
56073 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
56074 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
56076 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
56077 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
56079 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
56080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
56082 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
56083 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
56085 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
56086 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
56088 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
56089 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
56091 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
56092 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
56094 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
56095 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
56097 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
56098 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
56100 static void *_p_wxControlTo_p_wxObject(void *x
) {
56101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
56103 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
56104 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
56106 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
56107 return (void *)((wxObject
*) ((wxFSFile
*) x
));
56109 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
56110 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
56112 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
56113 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
56115 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
56116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
56118 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
56119 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
56121 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
56122 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
56124 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
56125 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
56127 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
56128 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
56130 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
56131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
56133 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
56134 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
56136 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
56137 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
56139 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
56140 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
56142 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
56143 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
56145 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
56146 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
56148 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
56149 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
56151 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
56152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
56154 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
56155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
56157 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
56158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
56160 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
56161 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
56163 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
56164 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
56166 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
56167 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
56169 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
56170 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
56172 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
56173 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
56175 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
56176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
56178 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
56179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
56181 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
56182 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
56184 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
56185 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
56187 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
56188 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
56190 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
56191 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
56193 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
56194 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
56196 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
56197 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
56199 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
56200 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
56202 static void *_p_wxImageTo_p_wxObject(void *x
) {
56203 return (void *)((wxObject
*) ((wxImage
*) x
));
56205 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
56206 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
56208 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
56209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
56211 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
56212 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
56214 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
56215 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
56217 static void *_p_wxWindowTo_p_wxObject(void *x
) {
56218 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
56220 static void *_p_wxMenuTo_p_wxObject(void *x
) {
56221 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
56223 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
56224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
56226 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
56227 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
56229 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
56230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
56232 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
56233 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
56235 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
56236 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
56238 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
56239 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
56241 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
56242 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
56244 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
56245 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
56247 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
56248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
56250 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
56251 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
56253 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
56254 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
56256 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
56257 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
56259 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
56260 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
56262 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
56263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
56265 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
56266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
56268 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
56269 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
56271 static void *_p_wxControlTo_p_wxWindow(void *x
) {
56272 return (void *)((wxWindow
*) ((wxControl
*) x
));
56274 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
56275 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
56277 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
56278 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
56280 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
56281 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
56283 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
56284 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
56286 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
56287 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
56289 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
56290 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
56292 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
56293 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
56295 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
56296 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
56298 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
56299 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
56301 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
56302 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
56304 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
56305 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
56307 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
56308 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
56310 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
56311 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
56313 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
56314 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
56315 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};
56316 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
56317 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
56318 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
56319 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
56320 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
56321 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
56322 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
56323 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
56324 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
56325 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
56326 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
56327 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
56328 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
56329 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
56330 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
56331 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
56332 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
56333 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
56334 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", "wxClipboardTextEvent *", 0, 0, (void*)0, 0};
56335 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
56336 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
56337 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
56338 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
56339 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
56340 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
56341 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
56342 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
56343 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
56344 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
56345 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
56346 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
56347 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
56348 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
56349 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
56350 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
56351 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
56352 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
56353 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
56354 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
56355 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
56356 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
56357 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
56358 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
56359 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
56360 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
56361 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
56362 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
56363 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
56364 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
56365 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
56366 static swig_type_info _swigt__p_wxHelpEvent__Origin
= {"_p_wxHelpEvent__Origin", "wxHelpEvent::Origin *", 0, 0, (void*)0, 0};
56367 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
56368 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
56369 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
56370 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
56371 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
56372 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
56373 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
56374 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
56375 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
56376 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
56377 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
56378 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
56379 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
56380 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
56381 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
56382 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
56383 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
56384 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
56385 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
56386 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
56387 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
56388 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
56389 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
56390 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
56391 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", "wxMouseCaptureLostEvent *", 0, 0, (void*)0, 0};
56392 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
56393 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
56394 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
56395 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
56396 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
56397 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
56398 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
56399 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
56400 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
56401 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
56402 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
56403 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
56404 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
56405 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
56406 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
56407 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
56408 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
56409 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
56410 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
56411 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
56412 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
56413 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
56414 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
56415 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
56416 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
56417 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
56418 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
56419 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
56420 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
56421 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
56422 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
56423 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
56424 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
56425 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
56426 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
56427 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
56428 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
56429 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
56430 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
56431 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
56432 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
56433 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
56434 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
56435 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
56436 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
56437 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
56438 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
56439 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
56440 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
56441 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
56442 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
56443 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
56444 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
56446 static swig_type_info
*swig_type_initial
[] = {
56449 &_swigt__p_form_ops_t
,
56452 &_swigt__p_unsigned_char
,
56453 &_swigt__p_unsigned_int
,
56454 &_swigt__p_unsigned_long
,
56455 &_swigt__p_wxANIHandler
,
56456 &_swigt__p_wxAcceleratorEntry
,
56457 &_swigt__p_wxAcceleratorTable
,
56458 &_swigt__p_wxActivateEvent
,
56459 &_swigt__p_wxAppTraits
,
56460 &_swigt__p_wxArrayString
,
56461 &_swigt__p_wxBMPHandler
,
56462 &_swigt__p_wxBitmap
,
56463 &_swigt__p_wxBoxSizer
,
56464 &_swigt__p_wxButton
,
56465 &_swigt__p_wxCURHandler
,
56466 &_swigt__p_wxCaret
,
56467 &_swigt__p_wxChildFocusEvent
,
56468 &_swigt__p_wxClipboardTextEvent
,
56469 &_swigt__p_wxCloseEvent
,
56470 &_swigt__p_wxColour
,
56471 &_swigt__p_wxCommandEvent
,
56472 &_swigt__p_wxContextMenuEvent
,
56473 &_swigt__p_wxControl
,
56474 &_swigt__p_wxControlWithItems
,
56475 &_swigt__p_wxCursor
,
56477 &_swigt__p_wxDateEvent
,
56478 &_swigt__p_wxDateTime
,
56479 &_swigt__p_wxDisplayChangedEvent
,
56480 &_swigt__p_wxDropFilesEvent
,
56481 &_swigt__p_wxDuplexMode
,
56482 &_swigt__p_wxEraseEvent
,
56483 &_swigt__p_wxEvent
,
56484 &_swigt__p_wxEventLoop
,
56485 &_swigt__p_wxEventLoopActivator
,
56486 &_swigt__p_wxEvtHandler
,
56487 &_swigt__p_wxFSFile
,
56488 &_swigt__p_wxFileSystem
,
56489 &_swigt__p_wxFileSystemHandler
,
56490 &_swigt__p_wxFlexGridSizer
,
56491 &_swigt__p_wxFocusEvent
,
56493 &_swigt__p_wxFrame
,
56494 &_swigt__p_wxGBPosition
,
56495 &_swigt__p_wxGBSizerItem
,
56496 &_swigt__p_wxGBSpan
,
56497 &_swigt__p_wxGIFHandler
,
56498 &_swigt__p_wxGridBagSizer
,
56499 &_swigt__p_wxGridSizer
,
56500 &_swigt__p_wxHelpEvent__Origin
,
56501 &_swigt__p_wxICOHandler
,
56502 &_swigt__p_wxIconizeEvent
,
56503 &_swigt__p_wxIdleEvent
,
56504 &_swigt__p_wxImage
,
56505 &_swigt__p_wxImageHandler
,
56506 &_swigt__p_wxImageHistogram
,
56507 &_swigt__p_wxImage_HSVValue
,
56508 &_swigt__p_wxImage_RGBValue
,
56509 &_swigt__p_wxIndividualLayoutConstraint
,
56510 &_swigt__p_wxInitDialogEvent
,
56511 &_swigt__p_wxInputStream
,
56512 &_swigt__p_wxInternetFSHandler
,
56513 &_swigt__p_wxItemContainer
,
56514 &_swigt__p_wxJPEGHandler
,
56515 &_swigt__p_wxKeyEvent
,
56516 &_swigt__p_wxLayoutConstraints
,
56517 &_swigt__p_wxMaximizeEvent
,
56518 &_swigt__p_wxMemoryFSHandler
,
56520 &_swigt__p_wxMenuBar
,
56521 &_swigt__p_wxMenuBarBase
,
56522 &_swigt__p_wxMenuEvent
,
56523 &_swigt__p_wxMenuItem
,
56524 &_swigt__p_wxMouseCaptureChangedEvent
,
56525 &_swigt__p_wxMouseCaptureLostEvent
,
56526 &_swigt__p_wxMouseEvent
,
56527 &_swigt__p_wxMoveEvent
,
56528 &_swigt__p_wxNavigationKeyEvent
,
56529 &_swigt__p_wxNcPaintEvent
,
56530 &_swigt__p_wxNotifyEvent
,
56531 &_swigt__p_wxObject
,
56532 &_swigt__p_wxOutputStream
,
56533 &_swigt__p_wxPCXHandler
,
56534 &_swigt__p_wxPNGHandler
,
56535 &_swigt__p_wxPNMHandler
,
56536 &_swigt__p_wxPaintEvent
,
56537 &_swigt__p_wxPaletteChangedEvent
,
56538 &_swigt__p_wxPaperSize
,
56539 &_swigt__p_wxPoint
,
56540 &_swigt__p_wxPoint2D
,
56541 &_swigt__p_wxPropagateOnce
,
56542 &_swigt__p_wxPropagationDisabler
,
56543 &_swigt__p_wxPyApp
,
56544 &_swigt__p_wxPyCommandEvent
,
56545 &_swigt__p_wxPyDropTarget
,
56546 &_swigt__p_wxPyEvent
,
56547 &_swigt__p_wxPyFileSystemHandler
,
56548 &_swigt__p_wxPyImageHandler
,
56549 &_swigt__p_wxPyInputStream
,
56550 &_swigt__p_wxPySizer
,
56551 &_swigt__p_wxPyValidator
,
56552 &_swigt__p_wxQuantize
,
56553 &_swigt__p_wxQueryNewPaletteEvent
,
56554 &_swigt__p_wxRealPoint
,
56556 &_swigt__p_wxRegion
,
56557 &_swigt__p_wxScrollEvent
,
56558 &_swigt__p_wxScrollWinEvent
,
56559 &_swigt__p_wxSetCursorEvent
,
56560 &_swigt__p_wxShowEvent
,
56562 &_swigt__p_wxSizeEvent
,
56563 &_swigt__p_wxSizer
,
56564 &_swigt__p_wxSizerItem
,
56565 &_swigt__p_wxStaticBox
,
56566 &_swigt__p_wxStaticBoxSizer
,
56567 &_swigt__p_wxStdDialogButtonSizer
,
56568 &_swigt__p_wxSysColourChangedEvent
,
56569 &_swigt__p_wxTIFFHandler
,
56570 &_swigt__p_wxToolTip
,
56571 &_swigt__p_wxUpdateUIEvent
,
56572 &_swigt__p_wxValidator
,
56573 &_swigt__p_wxVisualAttributes
,
56574 &_swigt__p_wxWindow
,
56575 &_swigt__p_wxWindowCreateEvent
,
56576 &_swigt__p_wxWindowDestroyEvent
,
56577 &_swigt__p_wxXPMHandler
,
56578 &_swigt__p_wxZipFSHandler
,
56581 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
56582 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
56583 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
56584 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
56585 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
56586 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
56587 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
56588 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
56589 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
56590 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
56591 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
56592 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
56593 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
56594 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
56595 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}};
56596 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
56597 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}};
56598 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
56599 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}};
56600 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
56601 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
56602 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = { {&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
56603 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
56604 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
56605 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
56606 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
56607 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}};
56608 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
56609 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
56610 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
56611 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
56612 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
56613 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
56614 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
56615 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
56616 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
56617 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
56618 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
56619 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
56620 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}};
56621 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
56622 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
56623 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}};
56624 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}};
56625 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
56626 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
56627 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
56628 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
56629 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
56630 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
56631 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
56632 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
56633 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}};
56634 static swig_cast_info _swigc__p_wxHelpEvent__Origin
[] = { {&_swigt__p_wxHelpEvent__Origin
, 0, 0, 0},{0, 0, 0, 0}};
56635 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}};
56636 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
56637 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
56638 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
56639 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}};
56640 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
56641 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
56642 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
56643 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
56644 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
56645 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
56646 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
56647 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}};
56648 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
56649 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56650 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
56651 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
56652 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
56653 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
56654 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
56655 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
56656 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
56657 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
56658 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
56659 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = { {&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
56660 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
56661 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
56662 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56663 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
56664 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56665 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
56666 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
56667 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
56668 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
56669 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
56670 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
56671 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
56672 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
56673 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
56674 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
56675 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
56676 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
56677 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
56678 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
56679 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
56680 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56681 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
56682 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
56683 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
56684 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
56685 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
56686 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
56687 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
56688 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
56689 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
56690 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
56691 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
56692 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
56693 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
56694 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
56695 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
56696 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
56697 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}};
56698 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}};
56699 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
56700 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
56701 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
56702 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
56703 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
56704 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
56705 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
56706 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}};
56707 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
56708 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}};
56709 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
56710 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
56711 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
56712 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
56714 static swig_cast_info
*swig_cast_initial
[] = {
56717 _swigc__p_form_ops_t
,
56720 _swigc__p_unsigned_char
,
56721 _swigc__p_unsigned_int
,
56722 _swigc__p_unsigned_long
,
56723 _swigc__p_wxANIHandler
,
56724 _swigc__p_wxAcceleratorEntry
,
56725 _swigc__p_wxAcceleratorTable
,
56726 _swigc__p_wxActivateEvent
,
56727 _swigc__p_wxAppTraits
,
56728 _swigc__p_wxArrayString
,
56729 _swigc__p_wxBMPHandler
,
56730 _swigc__p_wxBitmap
,
56731 _swigc__p_wxBoxSizer
,
56732 _swigc__p_wxButton
,
56733 _swigc__p_wxCURHandler
,
56735 _swigc__p_wxChildFocusEvent
,
56736 _swigc__p_wxClipboardTextEvent
,
56737 _swigc__p_wxCloseEvent
,
56738 _swigc__p_wxColour
,
56739 _swigc__p_wxCommandEvent
,
56740 _swigc__p_wxContextMenuEvent
,
56741 _swigc__p_wxControl
,
56742 _swigc__p_wxControlWithItems
,
56743 _swigc__p_wxCursor
,
56745 _swigc__p_wxDateEvent
,
56746 _swigc__p_wxDateTime
,
56747 _swigc__p_wxDisplayChangedEvent
,
56748 _swigc__p_wxDropFilesEvent
,
56749 _swigc__p_wxDuplexMode
,
56750 _swigc__p_wxEraseEvent
,
56752 _swigc__p_wxEventLoop
,
56753 _swigc__p_wxEventLoopActivator
,
56754 _swigc__p_wxEvtHandler
,
56755 _swigc__p_wxFSFile
,
56756 _swigc__p_wxFileSystem
,
56757 _swigc__p_wxFileSystemHandler
,
56758 _swigc__p_wxFlexGridSizer
,
56759 _swigc__p_wxFocusEvent
,
56762 _swigc__p_wxGBPosition
,
56763 _swigc__p_wxGBSizerItem
,
56764 _swigc__p_wxGBSpan
,
56765 _swigc__p_wxGIFHandler
,
56766 _swigc__p_wxGridBagSizer
,
56767 _swigc__p_wxGridSizer
,
56768 _swigc__p_wxHelpEvent__Origin
,
56769 _swigc__p_wxICOHandler
,
56770 _swigc__p_wxIconizeEvent
,
56771 _swigc__p_wxIdleEvent
,
56773 _swigc__p_wxImageHandler
,
56774 _swigc__p_wxImageHistogram
,
56775 _swigc__p_wxImage_HSVValue
,
56776 _swigc__p_wxImage_RGBValue
,
56777 _swigc__p_wxIndividualLayoutConstraint
,
56778 _swigc__p_wxInitDialogEvent
,
56779 _swigc__p_wxInputStream
,
56780 _swigc__p_wxInternetFSHandler
,
56781 _swigc__p_wxItemContainer
,
56782 _swigc__p_wxJPEGHandler
,
56783 _swigc__p_wxKeyEvent
,
56784 _swigc__p_wxLayoutConstraints
,
56785 _swigc__p_wxMaximizeEvent
,
56786 _swigc__p_wxMemoryFSHandler
,
56788 _swigc__p_wxMenuBar
,
56789 _swigc__p_wxMenuBarBase
,
56790 _swigc__p_wxMenuEvent
,
56791 _swigc__p_wxMenuItem
,
56792 _swigc__p_wxMouseCaptureChangedEvent
,
56793 _swigc__p_wxMouseCaptureLostEvent
,
56794 _swigc__p_wxMouseEvent
,
56795 _swigc__p_wxMoveEvent
,
56796 _swigc__p_wxNavigationKeyEvent
,
56797 _swigc__p_wxNcPaintEvent
,
56798 _swigc__p_wxNotifyEvent
,
56799 _swigc__p_wxObject
,
56800 _swigc__p_wxOutputStream
,
56801 _swigc__p_wxPCXHandler
,
56802 _swigc__p_wxPNGHandler
,
56803 _swigc__p_wxPNMHandler
,
56804 _swigc__p_wxPaintEvent
,
56805 _swigc__p_wxPaletteChangedEvent
,
56806 _swigc__p_wxPaperSize
,
56808 _swigc__p_wxPoint2D
,
56809 _swigc__p_wxPropagateOnce
,
56810 _swigc__p_wxPropagationDisabler
,
56812 _swigc__p_wxPyCommandEvent
,
56813 _swigc__p_wxPyDropTarget
,
56814 _swigc__p_wxPyEvent
,
56815 _swigc__p_wxPyFileSystemHandler
,
56816 _swigc__p_wxPyImageHandler
,
56817 _swigc__p_wxPyInputStream
,
56818 _swigc__p_wxPySizer
,
56819 _swigc__p_wxPyValidator
,
56820 _swigc__p_wxQuantize
,
56821 _swigc__p_wxQueryNewPaletteEvent
,
56822 _swigc__p_wxRealPoint
,
56824 _swigc__p_wxRegion
,
56825 _swigc__p_wxScrollEvent
,
56826 _swigc__p_wxScrollWinEvent
,
56827 _swigc__p_wxSetCursorEvent
,
56828 _swigc__p_wxShowEvent
,
56830 _swigc__p_wxSizeEvent
,
56832 _swigc__p_wxSizerItem
,
56833 _swigc__p_wxStaticBox
,
56834 _swigc__p_wxStaticBoxSizer
,
56835 _swigc__p_wxStdDialogButtonSizer
,
56836 _swigc__p_wxSysColourChangedEvent
,
56837 _swigc__p_wxTIFFHandler
,
56838 _swigc__p_wxToolTip
,
56839 _swigc__p_wxUpdateUIEvent
,
56840 _swigc__p_wxValidator
,
56841 _swigc__p_wxVisualAttributes
,
56842 _swigc__p_wxWindow
,
56843 _swigc__p_wxWindowCreateEvent
,
56844 _swigc__p_wxWindowDestroyEvent
,
56845 _swigc__p_wxXPMHandler
,
56846 _swigc__p_wxZipFSHandler
,
56850 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
56852 static swig_const_info swig_const_table
[] = {
56853 {0, 0, 0, 0.0, 0, 0}};
56858 /* -----------------------------------------------------------------------------
56859 * Type initialization:
56860 * This problem is tough by the requirement that no dynamic
56861 * memory is used. Also, since swig_type_info structures store pointers to
56862 * swig_cast_info structures and swig_cast_info structures store pointers back
56863 * to swig_type_info structures, we need some lookup code at initialization.
56864 * The idea is that swig generates all the structures that are needed.
56865 * The runtime then collects these partially filled structures.
56866 * The SWIG_InitializeModule function takes these initial arrays out of
56867 * swig_module, and does all the lookup, filling in the swig_module.types
56868 * array with the correct data and linking the correct swig_cast_info
56869 * structures together.
56871 * The generated swig_type_info structures are assigned staticly to an initial
56872 * array. We just loop though that array, and handle each type individually.
56873 * First we lookup if this type has been already loaded, and if so, use the
56874 * loaded structure instead of the generated one. Then we have to fill in the
56875 * cast linked list. The cast data is initially stored in something like a
56876 * two-dimensional array. Each row corresponds to a type (there are the same
56877 * number of rows as there are in the swig_type_initial array). Each entry in
56878 * a column is one of the swig_cast_info structures for that type.
56879 * The cast_initial array is actually an array of arrays, because each row has
56880 * a variable number of columns. So to actually build the cast linked list,
56881 * we find the array of casts associated with the type, and loop through it
56882 * adding the casts to the list. The one last trick we need to do is making
56883 * sure the type pointer in the swig_cast_info struct is correct.
56885 * First off, we lookup the cast->type name to see if it is already loaded.
56886 * There are three cases to handle:
56887 * 1) If the cast->type has already been loaded AND the type we are adding
56888 * casting info to has not been loaded (it is in this module), THEN we
56889 * replace the cast->type pointer with the type pointer that has already
56891 * 2) If BOTH types (the one we are adding casting info to, and the
56892 * cast->type) are loaded, THEN the cast info has already been loaded by
56893 * the previous module so we just ignore it.
56894 * 3) Finally, if cast->type has not already been loaded, then we add that
56895 * swig_cast_info to the linked list (because the cast->type) pointer will
56897 * ----------------------------------------------------------------------------- */
56907 #define SWIGRUNTIME_DEBUG
56911 SWIG_InitializeModule(void *clientdata
) {
56913 swig_module_info
*module_head
;
56914 static int init_run
= 0;
56916 clientdata
= clientdata
;
56918 if (init_run
) return;
56921 /* Initialize the swig_module */
56922 swig_module
.type_initial
= swig_type_initial
;
56923 swig_module
.cast_initial
= swig_cast_initial
;
56925 /* Try and load any already created modules */
56926 module_head
= SWIG_GetModule(clientdata
);
56928 swig_module
.next
= module_head
->next
;
56929 module_head
->next
= &swig_module
;
56931 /* This is the first module loaded */
56932 swig_module
.next
= &swig_module
;
56933 SWIG_SetModule(clientdata
, &swig_module
);
56936 /* Now work on filling in swig_module.types */
56937 #ifdef SWIGRUNTIME_DEBUG
56938 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
56940 for (i
= 0; i
< swig_module
.size
; ++i
) {
56941 swig_type_info
*type
= 0;
56942 swig_type_info
*ret
;
56943 swig_cast_info
*cast
;
56945 #ifdef SWIGRUNTIME_DEBUG
56946 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
56949 /* if there is another module already loaded */
56950 if (swig_module
.next
!= &swig_module
) {
56951 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
56954 /* Overwrite clientdata field */
56955 #ifdef SWIGRUNTIME_DEBUG
56956 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
56958 if (swig_module
.type_initial
[i
]->clientdata
) {
56959 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
56960 #ifdef SWIGRUNTIME_DEBUG
56961 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
56965 type
= swig_module
.type_initial
[i
];
56968 /* Insert casting types */
56969 cast
= swig_module
.cast_initial
[i
];
56970 while (cast
->type
) {
56971 /* Don't need to add information already in the list */
56973 #ifdef SWIGRUNTIME_DEBUG
56974 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
56976 if (swig_module
.next
!= &swig_module
) {
56977 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
56978 #ifdef SWIGRUNTIME_DEBUG
56979 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
56983 if (type
== swig_module
.type_initial
[i
]) {
56984 #ifdef SWIGRUNTIME_DEBUG
56985 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
56990 /* Check for casting already in the list */
56991 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
56992 #ifdef SWIGRUNTIME_DEBUG
56993 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
56995 if (!ocast
) ret
= 0;
57000 #ifdef SWIGRUNTIME_DEBUG
57001 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
57004 type
->cast
->prev
= cast
;
57005 cast
->next
= type
->cast
;
57011 /* Set entry in modules->types array equal to the type */
57012 swig_module
.types
[i
] = type
;
57014 swig_module
.types
[i
] = 0;
57016 #ifdef SWIGRUNTIME_DEBUG
57017 printf("**** SWIG_InitializeModule: Cast List ******\n");
57018 for (i
= 0; i
< swig_module
.size
; ++i
) {
57020 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
57021 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
57022 while (cast
->type
) {
57023 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
57027 printf("---- Total casts: %d\n",j
);
57029 printf("**** SWIG_InitializeModule: Cast List ******\n");
57033 /* This function will propagate the clientdata field of type to
57034 * any new swig_type_info structures that have been added into the list
57035 * of equivalent types. It is like calling
57036 * SWIG_TypeClientData(type, clientdata) a second time.
57039 SWIG_PropagateClientData(void) {
57041 swig_cast_info
*equiv
;
57042 static int init_run
= 0;
57044 if (init_run
) return;
57047 for (i
= 0; i
< swig_module
.size
; i
++) {
57048 if (swig_module
.types
[i
]->clientdata
) {
57049 equiv
= swig_module
.types
[i
]->cast
;
57051 if (!equiv
->converter
) {
57052 if (equiv
->type
&& !equiv
->type
->clientdata
)
57053 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
57055 equiv
= equiv
->next
;
57075 /* Python-specific SWIG API */
57076 #define SWIG_newvarlink() SWIG_Python_newvarlink()
57077 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
57078 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
57080 /* -----------------------------------------------------------------------------
57081 * global variable support code.
57082 * ----------------------------------------------------------------------------- */
57084 typedef struct swig_globalvar
{
57085 char *name
; /* Name of global variable */
57086 PyObject
*(*get_attr
)(void); /* Return the current value */
57087 int (*set_attr
)(PyObject
*); /* Set the value */
57088 struct swig_globalvar
*next
;
57091 typedef struct swig_varlinkobject
{
57093 swig_globalvar
*vars
;
57094 } swig_varlinkobject
;
57096 SWIGINTERN PyObject
*
57097 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
57098 return PyString_FromString("<Swig global variables>");
57101 SWIGINTERN PyObject
*
57102 swig_varlink_str(swig_varlinkobject
*v
) {
57103 PyObject
*str
= PyString_FromString("(");
57104 swig_globalvar
*var
;
57105 for (var
= v
->vars
; var
; var
=var
->next
) {
57106 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
57107 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
57109 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
57114 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
57115 PyObject
*str
= swig_varlink_str(v
);
57116 fprintf(fp
,"Swig global variables ");
57117 fprintf(fp
,"%s\n", PyString_AsString(str
));
57123 swig_varlink_dealloc(swig_varlinkobject
*v
) {
57124 swig_globalvar
*var
= v
->vars
;
57126 swig_globalvar
*n
= var
->next
;
57133 SWIGINTERN PyObject
*
57134 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
57135 PyObject
*res
= NULL
;
57136 swig_globalvar
*var
= v
->vars
;
57138 if (strcmp(var
->name
,n
) == 0) {
57139 res
= (*var
->get_attr
)();
57144 if (res
== NULL
&& !PyErr_Occurred()) {
57145 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
57151 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
57153 swig_globalvar
*var
= v
->vars
;
57155 if (strcmp(var
->name
,n
) == 0) {
57156 res
= (*var
->set_attr
)(p
);
57161 if (res
== 1 && !PyErr_Occurred()) {
57162 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
57167 SWIGINTERN PyTypeObject
*
57168 swig_varlink_type(void) {
57169 static char varlink__doc__
[] = "Swig var link object";
57170 static PyTypeObject varlink_type
;
57171 static int type_init
= 0;
57173 const PyTypeObject tmp
57175 PyObject_HEAD_INIT(NULL
)
57176 0, /* Number of items in variable part (ob_size) */
57177 (char *)"swigvarlink", /* Type name (tp_name) */
57178 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
57179 0, /* Itemsize (tp_itemsize) */
57180 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
57181 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
57182 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
57183 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
57184 0, /* tp_compare */
57185 (reprfunc
) swig_varlink_repr
, /* tp_repr */
57186 0, /* tp_as_number */
57187 0, /* tp_as_sequence */
57188 0, /* tp_as_mapping */
57191 (reprfunc
)swig_varlink_str
, /* tp_str */
57192 0, /* tp_getattro */
57193 0, /* tp_setattro */
57194 0, /* tp_as_buffer */
57196 varlink__doc__
, /* tp_doc */
57197 0, /* tp_traverse */
57199 0, /* tp_richcompare */
57200 0, /* tp_weaklistoffset */
57201 #if PY_VERSION_HEX >= 0x02020000
57202 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
57204 #if PY_VERSION_HEX >= 0x02030000
57207 #ifdef COUNT_ALLOCS
57208 0,0,0,0 /* tp_alloc -> tp_next */
57211 varlink_type
= tmp
;
57212 varlink_type
.ob_type
= &PyType_Type
;
57215 return &varlink_type
;
57218 /* Create a variable linking object for use later */
57219 SWIGINTERN PyObject
*
57220 SWIG_Python_newvarlink(void) {
57221 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
57225 return ((PyObject
*) result
);
57229 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
57230 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
57231 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
57233 size_t size
= strlen(name
)+1;
57234 gv
->name
= (char *)malloc(size
);
57236 strncpy(gv
->name
,name
,size
);
57237 gv
->get_attr
= get_attr
;
57238 gv
->set_attr
= set_attr
;
57239 gv
->next
= v
->vars
;
57245 SWIGINTERN PyObject
*
57247 static PyObject
*_SWIG_globals
= 0;
57248 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
57249 return _SWIG_globals
;
57252 /* -----------------------------------------------------------------------------
57253 * constants/methods manipulation
57254 * ----------------------------------------------------------------------------- */
57256 /* Install Constants */
57258 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
57261 for (i
= 0; constants
[i
].type
; ++i
) {
57262 switch(constants
[i
].type
) {
57263 case SWIG_PY_POINTER
:
57264 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
57266 case SWIG_PY_BINARY
:
57267 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
57274 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
57280 /* -----------------------------------------------------------------------------*/
57281 /* Fix SwigMethods to carry the callback ptrs when needed */
57282 /* -----------------------------------------------------------------------------*/
57285 SWIG_Python_FixMethods(PyMethodDef
*methods
,
57286 swig_const_info
*const_table
,
57287 swig_type_info
**types
,
57288 swig_type_info
**types_initial
) {
57290 for (i
= 0; methods
[i
].ml_name
; ++i
) {
57291 const char *c
= methods
[i
].ml_doc
;
57292 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
57294 swig_const_info
*ci
= 0;
57295 const char *name
= c
+ 10;
57296 for (j
= 0; const_table
[j
].type
; ++j
) {
57297 if (strncmp(const_table
[j
].name
, name
,
57298 strlen(const_table
[j
].name
)) == 0) {
57299 ci
= &(const_table
[j
]);
57304 size_t shift
= (ci
->ptype
) - types
;
57305 swig_type_info
*ty
= types_initial
[shift
];
57306 size_t ldoc
= (c
- methods
[i
].ml_doc
);
57307 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
57308 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
57311 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
57313 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
57315 strncpy(buff
, "swig_ptr: ", 10);
57317 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
57318 methods
[i
].ml_doc
= ndoc
;
57330 /* -----------------------------------------------------------------------------*
57331 * Partial Init method
57332 * -----------------------------------------------------------------------------*/
57337 SWIGEXPORT
void SWIG_init(void) {
57340 /* Fix SwigMethods to carry the callback ptrs when needed */
57341 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
57343 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
57344 d
= PyModule_GetDict(m
);
57346 SWIG_InitializeModule(0);
57347 SWIG_InstallConstants(d
,swig_const_table
);
57351 #ifndef wxPyUSE_EXPORT
57352 // Make our API structure a CObject so other modules can import it
57353 // from this module.
57354 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
57355 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
57359 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
57360 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
57361 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
57362 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
57363 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
57364 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
57365 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
57366 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
57367 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
57368 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
57369 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
57370 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
57371 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
57372 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
57373 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
57374 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
57375 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
57376 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
57377 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
57378 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
57379 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
57380 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
57381 SWIG_Python_SetConstant(d
, "WINDOW_STYLE_MASK",SWIG_From_int(static_cast< int >(wxWINDOW_STYLE_MASK
)));
57382 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
57383 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
57384 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
57385 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
57386 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
57387 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
57388 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
57389 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
57390 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
57391 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
57392 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
57393 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
57394 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
57395 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
57396 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
57397 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
57398 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
57399 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
57400 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
57401 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
57402 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
57403 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
57404 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
57405 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
57406 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
57407 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
57408 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
57409 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
57410 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
57411 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
57412 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
57413 SWIG_Python_SetConstant(d
, "ST_DOTS_MIDDLE",SWIG_From_int(static_cast< int >(wxST_DOTS_MIDDLE
)));
57414 SWIG_Python_SetConstant(d
, "ST_DOTS_END",SWIG_From_int(static_cast< int >(wxST_DOTS_END
)));
57415 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
57416 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
57417 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
57418 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
57419 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
57420 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
57421 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
57422 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
57423 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
57424 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
57425 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
57426 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
57427 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
57428 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
57429 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
57430 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
57431 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
57432 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
57433 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
57434 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
57435 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
57436 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
57437 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
57438 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
57439 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
57440 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
57441 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
57442 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
57443 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
57444 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
57445 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
57446 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
57447 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
57448 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
57449 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
57450 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
57451 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
57452 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
57453 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
57454 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
57455 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
57456 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
57457 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
57458 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
57459 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
57460 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
57461 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
57462 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
57463 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
57464 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
57465 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
57466 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
57467 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
57468 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
57469 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
57470 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
57471 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
57472 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
57473 SWIG_Python_SetConstant(d
, "ID_PAGE_SETUP",SWIG_From_int(static_cast< int >(wxID_PAGE_SETUP
)));
57474 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
57475 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
57476 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
57477 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
57478 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
57479 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
57480 SWIG_Python_SetConstant(d
, "ID_HELP_INDEX",SWIG_From_int(static_cast< int >(wxID_HELP_INDEX
)));
57481 SWIG_Python_SetConstant(d
, "ID_HELP_SEARCH",SWIG_From_int(static_cast< int >(wxID_HELP_SEARCH
)));
57482 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
57483 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
57484 SWIG_Python_SetConstant(d
, "ID_EDIT",SWIG_From_int(static_cast< int >(wxID_EDIT
)));
57485 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
57486 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
57487 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
57488 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
57489 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
57490 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
57491 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
57492 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
57493 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
57494 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
57495 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
57496 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
57497 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
57498 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
57499 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
57500 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
57501 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
57502 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
57503 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
57504 SWIG_Python_SetConstant(d
, "ID_FILE",SWIG_From_int(static_cast< int >(wxID_FILE
)));
57505 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
57506 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
57507 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
57508 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
57509 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
57510 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
57511 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
57512 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
57513 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
57514 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
57515 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
57516 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
57517 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
57518 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
57519 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
57520 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
57521 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
57522 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
57523 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
57524 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
57525 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
57526 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
57527 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
57528 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
57529 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
57530 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
57531 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
57532 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
57533 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
57534 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
57535 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
57536 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
57537 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
57538 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
57539 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
57540 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
57541 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
57542 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
57543 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
57544 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
57545 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
57546 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
57547 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
57548 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
57549 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
57550 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
57551 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
57552 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
57553 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
57554 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
57555 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
57556 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
57557 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
57558 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
57559 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
57560 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
57561 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
57562 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
57563 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
57564 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
57565 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
57566 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
57567 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
57568 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
57569 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
57570 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
57571 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
57572 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
57573 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
57574 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
57575 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
57576 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
57577 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
57578 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
57579 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
57580 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
57581 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
57582 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
57583 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
57584 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
57585 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
57586 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
57587 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
57588 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
57589 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
57590 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
57591 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
57592 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
57593 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
57594 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
57595 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
57596 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
57597 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
57598 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
57599 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
57600 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
57601 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
57602 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
57603 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
57604 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
57605 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
57606 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
57607 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
57608 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
57609 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
57610 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
57611 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
57612 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
57613 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
57614 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
57615 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
57616 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
57617 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
57618 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
57619 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
57620 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
57621 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
57622 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
57623 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
57624 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
57625 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
57626 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
57627 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
57628 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
57629 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
57630 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
57631 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
57632 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
57633 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
57634 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
57635 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
57636 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
57637 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
57638 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
57639 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
57640 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
57641 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
57642 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
57643 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
57644 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
57645 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
57646 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
57647 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
57648 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
57649 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
57650 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
57651 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
57652 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
57653 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
57654 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
57655 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
57656 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
57657 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
57658 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
57659 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
57660 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
57661 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
57662 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
57663 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
57664 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
57665 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
57666 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
57667 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
57668 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
57669 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
57670 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
57671 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
57672 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
57673 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
57674 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
57675 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
57676 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
57677 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
57678 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
57679 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
57680 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
57681 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
57682 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
57683 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
57684 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
57685 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
57686 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
57687 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
57688 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
57689 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
57690 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
57691 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
57692 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
57693 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
57694 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
57695 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
57696 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
57697 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
57698 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
57699 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
57700 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
57701 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
57702 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
57703 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
57704 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
57705 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
57706 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
57707 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
57708 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
57709 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
57710 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
57711 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
57712 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
57713 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
57714 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
57715 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
57716 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
57717 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
57718 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
57719 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
57720 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
57721 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
57722 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
57723 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
57724 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
57725 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
57726 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
57727 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
57728 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
57729 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
57730 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
57731 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
57732 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
57733 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
57734 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
57735 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
57736 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
57737 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
57738 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
57739 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
57740 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
57741 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
57742 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
57743 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
57744 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
57745 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
57746 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
57747 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
57748 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
57749 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
57750 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
57751 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
57752 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
57753 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
57754 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
57755 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
57756 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
57757 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
57758 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
57759 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
57760 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
57761 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
57762 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
57763 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
57764 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
57765 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
57766 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
57767 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
57768 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
57769 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
57770 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
57771 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
57772 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
57773 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
57774 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
57775 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
57776 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
57777 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
57778 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
57779 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
57780 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
57781 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
57782 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
57783 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
57784 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
57785 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
57786 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
57787 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
57788 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
57789 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
57790 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
57791 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
57792 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
57793 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
57794 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
57795 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
57796 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
57797 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
57798 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
57799 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
57800 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
57801 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
57802 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
57803 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
57804 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
57805 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
57806 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
57807 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
57808 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
57809 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
57810 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
57811 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
57812 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
57813 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
57814 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
57815 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
57816 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
57817 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
57818 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
57819 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
57820 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
57821 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
57822 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
57823 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
57824 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
57825 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
57826 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
57827 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
57828 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
57829 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
57830 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
57831 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
57832 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
57833 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
57834 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
57835 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
57836 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
57837 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
57838 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
57839 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
57840 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
57841 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
57842 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
57843 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
57844 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
57845 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
57846 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
57847 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
57848 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
57849 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
57850 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
57851 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
57852 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
57853 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
57854 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
57855 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
57856 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
57857 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
57858 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
57859 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
57860 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
57861 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
57862 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
57863 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
57864 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
57865 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
57866 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
57867 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
57868 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
57869 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
57870 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
57871 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
57872 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
57873 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
57874 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
57875 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
57876 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
57877 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
57878 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
57879 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
57880 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
57881 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
57882 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
57883 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
57884 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
57885 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
57886 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
57887 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
57888 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
57889 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
57890 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
57891 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
57892 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
57893 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
57894 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
57895 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
57896 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
57897 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
57898 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
57899 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
57900 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
57901 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
57902 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
57903 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
57904 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
57905 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
57906 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
57907 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
57908 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
57909 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
57910 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
57911 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
57912 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
57913 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
57914 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
57915 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
57916 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
57917 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
57918 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
57919 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
57920 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
57921 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
57922 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
57923 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
57924 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
57925 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
57926 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
57927 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
57928 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
57929 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
57930 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
57931 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
57932 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
57933 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
57934 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
57935 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
57936 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
57937 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
57938 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
57939 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
57940 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
57941 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
57942 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
57943 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
57944 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
57945 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
57946 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
57947 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
57948 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
57949 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
57950 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
57951 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
57952 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
57953 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
57954 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
57955 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
57956 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
57957 SWIG_Python_SetConstant(d
, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default
)));
57958 SWIG_Python_SetConstant(d
, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight
)));
57959 SWIG_Python_SetConstant(d
, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft
)));
57960 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
57961 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
57962 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
57963 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
57964 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
57965 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
57966 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
57967 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
57968 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
57969 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
57970 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
57971 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
57972 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
57973 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
57974 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
57975 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
57976 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
57977 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
57978 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
57979 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
57980 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
57981 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
57982 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
57983 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
57984 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
57985 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
57986 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
57987 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
57988 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
57989 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
57990 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
57991 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
57992 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
57993 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
57994 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
57995 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
57996 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
57997 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
57998 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
57999 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
58000 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
58001 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
58002 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
58003 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
58004 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
58005 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
58006 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
58007 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
58008 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
58009 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
58010 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
58011 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
58012 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
58013 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
58014 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
58015 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
58016 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
58017 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
58019 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
58022 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
58024 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
58025 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
58026 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
58027 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_NORMAL
)));
58028 SWIG_Python_SetConstant(d
, "IMAGE_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxIMAGE_QUALITY_HIGH
)));
58029 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
58030 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
58031 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
58032 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
58033 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
58034 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
58035 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
58036 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
58037 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
58038 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
58039 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
58040 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
58041 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
58042 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
58043 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
58044 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
58045 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
58046 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
58047 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
58048 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
58049 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
58050 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
58051 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
58052 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
58053 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
58054 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
58055 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
58056 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
58057 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
58058 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
58059 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
58060 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
58061 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
58062 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
58063 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
58064 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
58065 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
58066 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
58067 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
58068 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
58069 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
58070 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
58071 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
58072 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
58073 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
58074 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
58075 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
58076 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
58077 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
58078 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
58079 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
58080 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
58081 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
58082 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
58083 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
58084 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
58085 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
58086 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
58087 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
58088 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
58089 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
58090 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
58091 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
58092 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
58093 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
58094 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
58095 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
58096 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
58097 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
58098 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
58099 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
58100 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
58101 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
58102 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
58103 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
58104 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
58105 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
58106 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
58107 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
58108 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
58109 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
58110 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
58111 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
58112 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
58113 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
58114 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
58115 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
58116 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
58117 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
58118 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
58119 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
58120 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
58121 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
58122 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
58123 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
58124 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
58125 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
58126 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
58127 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
58128 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
58129 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
58130 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
58131 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
58132 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
58133 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
58134 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
58135 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
58136 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
58137 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
58138 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
58139 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
58140 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
58141 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
58142 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
58143 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
58144 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
58145 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
58146 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
58147 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_LOST", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_LOST
));
58148 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
58149 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
58150 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
58151 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
58152 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
58153 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
58154 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
58155 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
58156 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
58157 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
58158 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
58159 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
58160 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
58161 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
58162 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
58163 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
58164 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
58165 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
58166 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
58167 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
58168 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
58169 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
58170 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
58171 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_COPY", PyInt_FromLong(wxEVT_COMMAND_TEXT_COPY
));
58172 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_CUT", PyInt_FromLong(wxEVT_COMMAND_TEXT_CUT
));
58173 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_PASTE", PyInt_FromLong(wxEVT_COMMAND_TEXT_PASTE
));
58174 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
58175 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
58176 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
58177 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
58178 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
58179 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
58180 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
58181 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
58182 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
58183 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
58184 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
58185 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
58186 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
58187 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
58188 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
58189 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
58190 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
58191 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
58192 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
58193 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
58194 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
58195 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
58196 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
58197 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
58198 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
58199 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
58200 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
58201 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
58202 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
58203 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
58204 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
58205 SWIG_Python_SetConstant(d
, "ACCEL_CMD",SWIG_From_int(static_cast< int >(wxACCEL_CMD
)));
58206 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
58207 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
58208 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
58209 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
58210 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
58211 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
58212 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
58213 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
58214 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
58215 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
58216 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
58217 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
58218 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
58219 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
58220 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
58221 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
58222 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
58223 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
58224 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
58225 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
58226 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
58227 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
58228 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
58229 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
58230 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
58231 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
58232 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
58233 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
58234 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
58235 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
58236 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
58237 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
58239 // Initialize threading, some globals and such
58243 // Although these are defined in __version__ they need to be here too so
58244 // that an assert can be done to ensure that the wxPython and the wxWindows
58246 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
58247 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
58248 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));